When working with applications in ASP.NET Core 6, you will often want to create an IP address whitelist to allow client requests only from certain IP addresses, while blocking requests from all other addresses. We do this to protect our API endpoints from potentially malicious requests from bad actors, while at the same time allowing
The Developer Exception Page in ASP.NET Core provides detailed information about exceptions. Because developers need detailed information about exceptions, and end users don’t, the ASP.NET Core templates enable the Developer Exception Page only when an application is running in the Development environment. This article talks about the Developer Exception Page Middleware in ASP.NET Core MVC […]
Take advantage of the Developer Exception Page middleware in ASP.NET Core MVC to display detailed, developer-friendly error messages in your development environment but not in production.