ASP.NET Core - Starting the web server is taking longer than expected

If you are staring on a Visual Studio message saying "Starting the web server is taking longer than expected", this article might help you.

Abhith Rajan
Abhith RajanMay 13, 2018 · 1 min read · Last Updated:

One of our recent projects is on ASP.NET Core, and we are using aspnetboilerplate ASP.NET Core 2.x + Angular free (and one of the best) boilerplate for the same. One of the requirement is to have the social login. ABP free template doesn’t have built-in social login feature like ABP ZERO paid template, but we can integrate it after spending few hours on google.

In order to test the social login, like facebook, we need to have https (even for localhost). So I updated the Host project settings to use https. After making the site https (localhost), when I debug, there comes the message window, saying

Starting the web server is taking longer than expected

I spend some time staring the screen but nothing happened, a little google for the same pointed that it was because of the new localhost SSL related. I did accepted the certificate while project settings updated but somehow this issue. To solve it,

Browse the https website from IISExpress in the taskbar icon tray.

That will open the website and the rest was fine and never faced the problem again.

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub

Abhith Rajan

Written byAbhith Rajan
Abhith Rajan is a software engineer by day and a full-stack developer by night. He's coding for almost a decade now. He codes 🧑‍💻, write ✍️, learn 📖 and advocate 👍.

Is this page helpful?

Related ArticlesView All

Related VideosView All

Why I DON'T use MediatR in ASP.NET Core

Don't Use AutoMapper in C#! Do THIS Instead!

Exploring Source Generation for Logging

Related StoriesView All

Related Tools & ServicesView All


Flurl is a modern, fluent, asynchronous, testable, portable, buzzword-laden URL builder and HTTP client library for .NET.