Exception Not Found

A CheckBoxList in ASP.NET MVC

Let's build the CheckBoxList control from WebForms in ASP.NET MVC!

Display and Editor Templates - ASP.NET MVC Demystified

When dealing with objects in an MVC app, we often want a way to specify how that object should be displayed on any given page. If that object is only displayed on one page, we simply write HTML and CSS to lay out and style how that object should be

The Programmer's Plague: Fighting the Spread of Arrogance

There is a plague amongst our peers, silently infecting our coworkers and our friends. We cannot see it or feel it. We must strive to keep it at bay, for its infection is hard to notice and even harder to treat. It is constantly watching for signs of weakness, for

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.

The Dependency Inversion Principle - SOLID in C#

The Dependency Inversion Principle [http://en.wikipedia.org/wiki/Dependency_inversion_principle] is comprised of two rules: * High-level modules should not depend on low-level modules.  Both should depend on abstractions. * Abstractions should not depend on details.  Details should depend on abstractions. This principle is primarily concerned with reducing dependencies among

Exception Not Found © 2026