Maybe you know this great and informative error message "An error occurred while starting the application." from asp.net core when the there was an exception during the startup.
To identify and understand what happened, you must extend the Main method with the following things:
- UseSetting("detailedErrors", "true")
After this is done, you will see a nice and detailed error page like this:
In my case the startup error was a missing json file which the application tried to load on startup.
Nov 30 2016, 04:31 PM