Skip to main content
Skip table of contents

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

    CODE
    DpeNanoServices.exe --environment Development
  • environment variable

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.