I am trying to debug my own application, but when I launch it with the VS2019, he shows me this message:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure.
At the beginning I had found on the internet that it is necessary to modify in the web.config the hostingModel from "InProcess" to "OutProcess" but I could no longer launch the application.
After that, I tried to run the application with dotnet run with command line,the ANCM In-Process Handler Load Failure is gone and in the same time i runned the application from VS2019,the error is gone also.
My application work now in Localhost with two Different Ports.
My problem now is When i made some change in my code i have to repeat this procedure to access debug :
- shutdown application from command line (if its already up)
- rebuild app with command line or IDE
- execute dotnet run with command line
- launch it with debugger of IDE
if anyone encountered such a problem, how did they solve it