You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nservicebus/hosting/extensions-hosting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ When hosted in the Generic Host, NServiceBus uses the application's `IServiceCol
34
34
35
35
`UseNServiceBus` also registers an `IMessageSession` that can be resolved from the container or injected where needed at runtime.
36
36
37
-
### Using a custom DI container
37
+
### Configure custom containers
38
38
39
39
To use a third-party container, configure it with `HostBuilder.UseServiceProviderFactory(...)`. NServiceBus will automatically use the host’s container. Refer to your container’s documentation for details.
0 commit comments