You’re unit testing a Controller and someone has used the Request object to for example, check headers. You are going to need to mock the Request object for your unit test to run without throwing a null reference error.Continue reading “Mocking the HttpContext.Request object”
You’ve created a website or API using .NetCore and it all runs well locally. You deploy to an Azure App Service and it fails to start but the only error you see is that below.
Continue reading “HTTP Error 500.30 – ANCM In-Process Start Failure”
HTTP Error 500.30 - ANCM In-Process Start Failure Common causes of this issue: The application failed to start The application started but then stopped The application started but threw an exception during startup Troubleshooting steps: Check the system event log for error messages Enable logging the application process' stdout messages Attach a debugger to the application process and inspect For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265