You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We made hosting configuration keys to be consistent in command line/environment variables/hosting.json. Also Microsoft.AspNet.Hosting.json configuration file was renamed to hosting.json
We made hosting configuration keys to be consistent in command line/environment variables/hosting.json. Also
Microsoft.AspNet.Hosting.json
configuration file was renamed tohosting.json
Issue:
aspnet/Hosting#453
Related
#94
server
orHosting:Server
ASPNET_SERVER
hosting.json:
server
Command Line:
--server
app
orHosting:App
ASPNET_APP
hosting.json:
app
Command Line:
--app
ASPNET_ENV
orHosting:Environment
ASPNET_ENVIRONMENT
orASPNET_ENV
(obsolete)hosting.json:
environment
Command Line:
--environment
webroot
ASPNET_WEBROOT
hosting.json:
webroot
Command Line:
--webroot
Hosting:DetailedErrors
ASPNET_DETAILEDERRORS
hosting.json:
detailedErrors
Command Line:
--detailedErrors
Sample Configuration File
Sample Environment Variables:
All environment variables are prefixed with
ASPNET_
prefix.Sample Command line:
Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel --webroot "wwwroot" --app "MyProjectReference" --environment "Development" --detailedErrors true
The text was updated successfully, but these errors were encountered: