DPE Nano Services

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

    DpeNanoServices.exe --environment Development
    
  • environment variable

    set 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.

image-20230630-072144.png