Changing the hosting environment
The default hosting environment is Production. Some features, e.g. Swagger/OpenAPI endpoints, are only available in the hosting environment Development.
The hosting environment can be changed in the following ways:
command line
CODEDpeNanoServices.exe --environment Development
environment variable
CODEset ASPNETCORE_ENVIRONMENT=Development
Swagger Open API Explorer
Running in environment Development enables the interactive Swagger OpenAPI explorer under the URL http(s)://MyServer:MyPort/swagger.
![](../../__attachments/258113786/image-20230630-072144.png?inst-v=dba7477c-d4e7-44ad-beda-3fb1949282b9)