Gateway Upgrade Version 2 to 3

Component: Gateway
This page targets a pre-release version and is subject to change prior to the final release.

Code-first API

The gateway now allows full configuration via code. Use:

3-pre NServiceBus.Gateway
endpointConfiguration.Gateway();

to enable and configure sites and channels instead of:

3-pre NServiceBus.Gateway
endpointConfiguration.EnableFeature<Gateway>();

Configuration

When running on .NET Core, configuration options in configuration files will no longer be automatically detected. Use the code-first API instead.

When running on the .NET Framework, settings in configuration files will still be used, however a warning will be logged indicating that it should be explicitly configured using the code-first API instead.

Related Articles


Last modified