Skip to Main Content
Modern Web Development with ASP.NET Core 3 - Second Edition
book

Modern Web Development with ASP.NET Core 3 - Second Edition

by Ricardo Peres
June 2020
Intermediate to advanced content levelIntermediate to advanced
802 pages
16h 11m
English
Packt Publishing
Content preview from Modern Web Development with ASP.NET Core 3 - Second Edition
Understanding Filters

Filters are a mechanism that ASP.NET Core makes available to apply cross-cutting concerns, such as logging, exception handling, enforcing authorization and authentication, and more. They have been around since the early days of the ASP.NET MVC, but have been augmented in Core.

Filters in ASP.NET Core are an interception mechanism by which we can execute code before, instead of after, a request is processed. Think of them as a way to add custom steps to a pipeline without actually doing so; it remains unchanged but instead, we have finer-grained control over what we are intercepting. They are useful for implementing cross-cutting operations, such as access control, caching, or logging. Here, we will discuss the following: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781789619768Supplemental Content