Skip to content

Commit 9117c42

Browse files
authored
Self-hosting in Azure Webjobs Review
1 parent c54bfde commit 9117c42

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

samples/azure/webjob-host/sample.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Self-Hosting in Azure WebJobs
3-
summary: Uses NServiceBus the self-hosting capability to host an endpoint in an Azure WebJob.
3+
summary: Use NServiceBus with self-hosting to host an endpoint in an Azure WebJob.
44
component: Core
5-
reviewed: 2022-11-08
5+
reviewed: 2025-03-06
66
isLearningPath: true
77
related:
88
- samples/dependency-injection/aspnetcore
@@ -26,17 +26,17 @@ This sample contains one project:
2626

2727
### Receiver
2828

29-
The receiver uses the self-hosting capability to start an end endpoint inside a continuously running WebJob.
29+
The receiver uses the self-hosting capability to start an endpoint inside a continuously running WebJob.
3030

3131
The `UseNServiceBus` method of [`NServiceBus.Extensions.Hosting`](/nservicebus/hosting/extensions-hosting.md) is used to configure and start the endpoint:
3232

3333
snippet: WebJobHost_Start
3434

3535
> [!NOTE]
36-
> If dependencies need to be shared between the service collection and NServiceBus infrastructure, such as message handlers, see the [ASP.NET Core sample](/samples/dependency-injection/#related-samples).
36+
> If dependencies need to be shared between the service collection and NServiceBus infrastructure (e.g., message handlers), refer to the [ASP.NET Core sample](/samples/dependency-injection/#related-samples).
3737
38-
A critical error action must be defined to restart the host when a critical error is raised:
38+
A [critical error](/nservicebus/hosting/critical-errors.md) action must be defined to restart the host when a critical error occurs:
3939

4040
snippet: WebJobHost_CriticalError
4141

42-
When the WebJob host stops, the endpoint endpoint is automatically stopped with the host. This is taken care off by the hosting extension.
42+
When the WebJob host stops, the endpoint is automatically stopped with it by the hosting extension.

0 commit comments

Comments
 (0)