Go to the source code of this file.
|
class | AdminUserConfig |
| Helper class to bind the admin user configuration from app-settings.json.
|
◆ AddApplicationServices()
builder.Services. AddApplicationServices |
( |
| ) |
|
◆ AddConsole()
builder.Logging. AddConsole |
( |
| ) |
|
◆ AddControllers()
builder.Services. AddControllers |
( |
| ) |
|
◆ AddCorsPolicies()
◆ AddDatabaseServices()
◆ AddEndpointsApiExplorer()
builder.Services. AddEndpointsApiExplorer |
( |
| ) |
|
◆ AddExceptionHandler< ExceptionHandler >()
◆ AddFilter()
builder.Logging. AddFilter |
( |
"Microsoft.EntityFrameworkCore.Database.Command" | , |
|
|
LogLevel. | Warning ) |
◆ AddIdentityAndAuthentication()
◆ AddProblemDetails()
builder.Services. AddProblemDetails |
( |
| ) |
|
◆ AddRepositoryServices()
builder.Services. AddRepositoryServices |
( |
| ) |
|
◆ AddSwaggerGen()
builder.Services. AddSwaggerGen |
( |
| ) |
|
◆ ClearProviders()
builder.Logging. ClearProviders |
( |
| ) |
|
◆ ConfigureKestrel()
builder.WebHost. ConfigureKestrel |
( |
options | , |
|
|
{ options.Limits.MaxRequestBodySize=104_857_600;} | ) |
◆ CreateDefaultAdminsAsync()
await CreateDefaultAdminsAsync |
( |
app. | Services | ) |
|
◆ if()
if |
( |
app.Environment.IsDevelopment() | | ) |
|
◆ MapControllers()
◆ Run()
◆ SeedRolesAsync()
await SeedRolesAsync |
( |
app. | Services | ) |
|
◆ UseAuthentication()
app. UseAuthentication |
( |
| ) |
|
◆ UseAuthorization()
app. UseAuthorization |
( |
| ) |
|
◆ UseCors()
app. UseCors |
( |
"AllowClient" | | ) |
|
◆ UseExceptionHandler()
app. UseExceptionHandler |
( |
| ) |
|
◆ UseHttpsRedirection()
app. UseHttpsRedirection |
( |
| ) |
|
◆ UseRouting()
◆ app
◆ builder
var builder = WebApplication.CreateBuilder(args) |
◆ configuration
var configuration = builder.Configuration |