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.

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

SOLID in C# - The Interface Segregation Principle

What Is This Principle? The Interface Segregation Principle [http://en.wikipedia.org/wiki/Interface_segregation_principle] states that no client code object should be forced to depend on methods it does not use. Basically, each code object should only implement what it needs, and not be required to implement anything

SOLID in C#: The Liskov Substitution Principle

What Is This Principle? The Liskov Substitution Principle [http://en.wikipedia.org/wiki/Liskov_substitution_principle](LSP), named for and originally defined by Barbara Liskov [http://en.wikipedia.org/wiki/Barbara_Liskov], states that we should be able to treat a child class as though it were the parent class.

SOLID in C#: The Open/Closed Principle

What Is This Principle? The Open/Closed Principle [http://en.wikipedia.org/wiki/Open/closed_principle], as originally formulated by Bertrand Meyer [http://en.wikipedia.org/wiki/Bertrand_Meyer], states that a given software entity should be open for extension, but closed for modification. Essentially, any given class (or module,

Exception Not Found © 2026