You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
In the Startup.cs in the configureServices Method I added the following line
services.AddScoped();
When I tried to start the application locally, the Browser only showed "Please wait" and when trying to debug the whole IIS crashed.
I looked into it an saw, that my GenericRepository was accidentally marked as abstract. So I removed that and all worked fine.
Maybe it is possible for you to throw an Exception in such a case, so that not the whole IIS crashes on such a developer error.
The text was updated successfully, but these errors were encountered:
I just came across the following problem:
In the Startup.cs in the configureServices Method I added the following line
services.AddScoped();
When I tried to start the application locally, the Browser only showed "Please wait" and when trying to debug the whole IIS crashed.
I looked into it an saw, that my GenericRepository was accidentally marked as abstract. So I removed that and all worked fine.
Maybe it is possible for you to throw an Exception in such a case, so that not the whole IIS crashes on such a developer error.
The text was updated successfully, but these errors were encountered: