Name |
Description |
Album |
|
AppSettings |
|
Artist |
|
Cart |
|
Genre |
|
Order |
|
OrderDetail |
|
Platform |
|
Platform.RTL_OSVERSIONINFOEX |
|
Program |
This demonstrates how the application can be launched in a K console application. k run command in the application folder will invoke this. |
Startup |
|
StartupNtlmAuthentication |
To make runtime to load an environment based startup class, specify the environment by the following ways: 1. Drop a Microsoft.AspNetCore.Hosting.ini file in the wwwroot folder 2. Add a setting in the ini file named 'ASPNETCORE_ENVIRONMENT' with value of the format 'Startup[EnvironmentName]'. For example: To load a Startup class named 'StartupNtlmAuthentication' the value of the env should be 'NtlmAuthentication' (eg. ASPNETCORE_ENVIRONMENT=NtlmAuthentication). Runtime adds a 'Startup' prefix to this and loads 'StartupNtlmAuthentication'. If no environment name is specified the default startup class loaded is 'Startup'. Alternative ways to specify environment are: 1. Set the environment variable named SET ASPNETCORE_ENVIRONMENT=NtlmAuthentication 2. For selfhost based servers pass in a command line variable named --env with this value. Eg: "commands": { "web": "Microsoft.AspNetCore.Hosting --server Microsoft.AspNetCore.Server.WebListener --server.urls http://localhost:5002 --ASPNETCORE_ENVIRONMENT NtlmAuthentication", }, |
StartupOpenIdConnect |
To make runtime to load an environment based startup class, specify the environment by the following ways: 1. Drop a Microsoft.AspNet.Hosting.ini file in the wwwroot folder 2. Add a setting in the ini file named 'ASPNET_ENV' with value of the format 'Startup[EnvironmentName]'. For example: To load a Startup class named 'StartupOpenIdConnect' the value of the env should be 'OpenIdConnect' (eg. ASPNET_ENV=OpenIdConnect). Runtime adds a 'Startup' prefix to this and loads 'StartupOpenIdConnect'. If no environment name is specified the default startup class loaded is 'Startup'. Alternative ways to specify environment are: 1. Set the environment variable named SET ASPNET_ENV=OpenIdConnect 2. For selfhost based servers pass in a command line variable named --env with this value. Eg: "commands": { "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5002 --ASPNET_ENV OpenIdConnect", }, |