-
Book Overview & Buying
-
Table Of Contents
Enterprise Application Development with C# 10 and .NET 6 - Second Edition
By :
In this chapter, we learned what authorization is and the different ways to implement it using the ASP.NET Core framework. We learned how to restrict or anonymously allow users to access resources using simple, declarative role- and claims-based models, and we learned how to implement custom logic to authorize user requests using a rich policy-based authorization model.
We learned how to dynamically add authorization policies using authorization policy providers and build custom authorized attributes. We also learned how to configure custom roles in Azure AD and use them in an ASP.NET Core application. Depending on your authorization requirements, you can use one or more authorization models to secure your applications.
In the next chapter, we will learn how to monitor the health and performance of an ASP.NET Core application.