StellaOps.Router.Gateway.LocalInMemoryHarness
In-process Router gateway harness for local development and tests: a gateway and its microservices in one process over the in-memory transport.
| Package | StellaOps.Router.Gateway.LocalInMemoryHarness |
| Component | Router |
| Licence | BUSL-1.1 (Router licence) |
| Package kind | Library |
| Target framework | net10.0 |
To add the package to a project, see Installing Stella Ops packages.
Namespaces
| Namespace | Types |
|---|---|
StellaOps.Router.Gateway.DependencyInjection | 1 |
StellaOps.Router.Gateway.DependencyInjection namespace
| Type | Kind | Description |
|---|---|---|
RouterGatewayLocalInMemoryHarnessExtensions | class | Extension methods for registering the process-local in-memory gateway harness. |
RouterGatewayLocalInMemoryHarnessExtensions class
public static class RouterGatewayLocalInMemoryHarnessExtensions
Extension methods for registering the process-local in-memory gateway harness.
AddRouterGatewayLocalInMemoryHarness(IServiceCollection, IHostEnvironment, Action<InMemoryTransportOptions>) extension method
public static IServiceCollection AddRouterGatewayLocalInMemoryHarness(this IServiceCollection services, IHostEnvironment environment, Action<InMemoryTransportOptions>? configure = null)
Adds the process-local in-memory gateway transport for local development and tests.
Parameters
services: The service collection.environment: The host environment used to gate local transport registration.configure: Optional in-memory transport configuration.
Returns
The service collection for chaining.
