Prevent Kestrel from logging to Console in ASP.NET Core 2.2

added by DotNetKicks
12/11/2018 1:37:25 PM

2 Kicks, 161 Views

I recently had the need to start a web server from the command line. Authentication, you see, is a complicated process and sometimes requires you to open a browser to complete that process. Active Directory, requires you to have a Return Url which isn't really possible from a command line.