VS 2017 always times out debugging an MVC Core website on IIS Express profile

前端 未结 1 1903
悲哀的现实
悲哀的现实 2021-02-19 18:06

On a plain vanilla, scaffolded ASP.NET Core MVC web app, with a DbContext registered in the DI container, whenever I hit F5 after 30-60 seconds, I get the error mes

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 18:40

    It is hard to say if it is the same issue, but I had same symptoms when I was starting my current project. In my case, I found I either had to:

    • Turn off Browser Link; or
    • Use a browser other than Chrome as the startup browser.

    It wasn't until I selected Microsoft Edge as the browser in the debug button of the toolbar and it worked fine that I realised what it might be, and I disabled Browser Link. It all starts up fine now.

    If it is yet another issue, then best of luck.

    0 讨论(0)
提交回复
热议问题