Visual Studio 2017 Doesn't Run Core Apps with IIS Express

You could follow or upvote the issue: https://developercommunity.visualstudio.com/content/problem/11391/aspnet-core-iis-express-httplocalhost51733-failed.html

Looks like our workarounds meanwhile are

  • dotnet run
  • Publish to local IIS. Which is working for me.
  • (Untested: downgrade from core-1.1 to core-1.0)

If you aren't familiar with VS2017/asp.net:

You have, or can reveal via View Menu-->Other Toolbars :

Debug toolbar --> dropdowncombobutton saying "[green arrow>] IIS Express"

  • Click on the dropdown downarrow part of the button.

You should see a Run {yourprojectname} option. This is the equivalent of dotnet run {yourprojectname} from the commandline.

You can configure the options that appear in the dropdown with

Right-click on project in solution explorer --> Properties --> Debug