- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.
-
Accessing services when configuring MvcOptions in ASP.NET Core
This post is a follow on to one by Steve Gordon, in which I show a clean way to use configured services when setting up MvcOptions when calling AddMvc.…
-
Resource-based authorisation in ASP.NET Core
In this next post on authorisation in ASP.NET Core I show how you can secure resources based on properties of the resource itself…
-
Modifying the UI based on user authorisation in ASP.NET Core
In this post I show how to modify the UI you present based on the authorisation level of the current user, to hide links the user is not allowed to access.…
-
Custom authorisation policies and requirements in ASP.NET Core
In this post on authorisation in ASP.NET Core, we look at creating policies with multiple requirements, custom requirements and applying a global policy.…
-
Introduction to Authorisation in ASP.NET Core
In this post we'll learn about authorisation in ASP.NET Core, explaining the principles behind it, how it is implemented, and how to apply simple policies.…
-
Injecting services into ValidationAttributes in ASP.NET Core
This post describes how to use dependency injection with ValidationAttributes in ASP.NET Core, and the process I took in trying to figure out how!…