Category Archives: ASP.Net Core

ASP.Net MVC Core Action filter sample for parameter validation

Filters have a special place in ASP.Net MVC Framework. Filters are custom classes/middlware that provide declarative and programmatic means to add pre-action and post-action behavior to controller action methods . Filters run in the context of MVC action processing pipeline. ASP.Net MVC supports 4 different types of filters. Authorization filter – deals with authorization logic.… Read More »

ASP.Net Core In-memory cache manager code sample

Caching can significantly improve performance and scalability of an app by making a copy of generated content thereby having to avoid expensive round trips or processing power to generate content. Caching suits best for the data which rarely changes. Caching is a key component of any enterprise distributed applications across the globe for providing optimal… Read More »