How To Disable Https in Visual Studio 2017 Web Proj ASP.NET Core 2.0

Update .Net 6 If you stumbled across this question, but are looking to disable SSL in .Net 6, follow these instructions: Disable SSL redirection by removing app.UseHttpsRedirection(); (optional) define a default port to listen to with app.Run(“http://localhost:5000”); If omitted, a random port will be assigned. Original answer for .Net Core 2.0: I’ve just created a … Read more

HTTP error 500.19 – Cannot read configuration file

In my case I deleted all folders in D:\My Documents\My Web Sites\ before Then I caught the error There is a file .vs\config\applicationhost.config in my solution folder It contains reference to the deleted folder. So, I deleted applicationhost.config and then pressed ‘Create Virtual Directory’ button in my project property Web page. It was recreated the … Read more

Global variables within IIS Express

The following three environment variables are set by iisexpress.exe during the process startup. %IIS_BIN% – refers to IIS Express installation folder (%PROGRAMFILES%\IIS Express) %IIS_USER_HOME% – %USERPROFILE%\Documents\IISExpress %IIS_SITES_HOME% – %USERPROFILE%\Documents\My Web Sites %SYSTEMDRIVE% – is a standard windows system environment variable