| StartupConfigure - метод |
Настройка конвейера обработки запросов и внутренних сервисов приложения.
Пространство имён:
FinistSoft.BackEndNetCoreHost
Сборка:
BackEndNetCoreHost (в BackEndNetCoreHost.exe) Версия: 1.0.0
Синтаксис public void Configure(
IApplicationBuilder app,
IHostingEnvironment env,
ILoggerFactory loggerFactory,
IOptions<JwtAuthSetttings> jwtSets,
IApplicationLifetime appLifetime,
IServer server
)
Public Sub Configure (
app As IApplicationBuilder,
env As IHostingEnvironment,
loggerFactory As ILoggerFactory,
jwtSets As IOptions(Of JwtAuthSetttings),
appLifetime As IApplicationLifetime,
server As IServer
)
Dim instance As Startup
Dim app As IApplicationBuilder
Dim env As IHostingEnvironment
Dim loggerFactory As ILoggerFactory
Dim jwtSets As IOptions(Of JwtAuthSetttings)
Dim appLifetime As IApplicationLifetime
Dim server As IServer
instance.Configure(app, env, loggerFactory,
jwtSets, appLifetime, server)
public function Configure(
app : IApplicationBuilder,
env : IHostingEnvironment,
loggerFactory : ILoggerFactory,
jwtSets : IOptions<JwtAuthSetttings>,
appLifetime : IApplicationLifetime,
server : IServer
)
Параметры
- app
- Тип: IApplicationBuilder
Конфигуратор приложения - env
- Тип: IHostingEnvironment
Окружение приложения - loggerFactory
- Тип: ILoggerFactory
Фабрика логирования - jwtSets
- Тип: IOptionsJwtAuthSetttings
Типизированные настройки - appLifetime
- Тип: IApplicationLifetime
Обработчик моментов запуска и завершения приложения. - server
- Тип: IServer
Данные сервера.
См. также