Learn to change the default behavior and return HTTP 404 when action methods in ASP.NET Core return null values. ASP.NET Core MVC is the .NET Core counterpart of the ASP.NET MVC framework. You can ...
Entire books have been written about creating and using web services in ASP.NET Core, so how does one explain such a huge topic in a single tech event presentation? You expand the session into a ...
Take advantage of security headers in ASP.NET Core MVC 5 to protect your website against cross-site scripting, code injection, clickjacking, and other attacks. ASP.NET Core MVC 5 is a lightweight, ...
[Editor's note: Peter rewrote this article after a reader pointed out he over-engineered his original solution. ("What can I say: The code worked -- I just didn't need nearly as much code as I thought ...
What is the Data Directory? There are times when sensitive information, such as database connection strings, may need to be available for a web site to use, but that you would never want a visitor to ...