Securing Controllers
Get familiar with securing web API controllers.
We'll cover the following...
As we know, here are the two types of web API endpoints:
Controllers
Minimal APIs
In this lesson, we will learn different ways of securing the endpoints represented by controller classes. We will do so with the help of the following setup:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}Web API app with the full OIDC authentication flow
Note: Because we have to build two ASP.NET Core applications and populate the IdP database with the initial seed data, the build process is expected to take at least a few minutes. Also, because each playground launch rebuilds the IdP along with its database, the ...
Ask