Exception Not Found

Using AntiForgeryToken to Prevent Cross-Site Request Forgery (CSRF) Attacks

One of the most common security vulnerabilities on any given website is the Cross-Site Request Forgery [https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29] (CSRF) attack. It's so common that OWASP has regularly included it in its list of the top ten security vulnerabilities [https://www.owasp.

ActionResult in ASP.NET MVC

See the different ActionResults and learn about when to use each of them, including ViewResult and JsonResult. Sample project included!

Bundling and Minification - ASP.NET MVC Demystified

Let's learn how to enable or disable two optimizations provided by ASP.NET MVC: bundling and minification.

What are Layout, _ViewStart, RenderBody, and RenderSection in MVC?

Let's see how to use _Layout, RenderBody, RenderSection, and _ViewStart to organize our ASP.NET MVC views.

Use T4MVC to Remove Magic Strings in ASP.NET MVC Apps

Use T4MVC to remove magic strings from ASP.NET MVC routes and links.

Exception Not Found © 2026