Skip to content

Commit

Permalink
add new page to the menu (#5425)
Browse files Browse the repository at this point in the history
* minor tweaks to the message consistency section

* extract custom trigger docs into dedicated page

* add new page to the menu

* move azure func asb page

* Apply suggestions from code review

Co-authored-by: Tim Bussmann <timbussmann@users.noreply.github.com>

* Apply suggestions from code review

* Update menu/menu.yaml

Co-authored-by: Tim Bussmann <timbussmann@users.noreply.github.com>

Co-authored-by: Tim Bussmann <timbussmann@users.noreply.github.com>
  • Loading branch information
HEskandari and timbussmann authored Aug 19, 2021
1 parent 01bba16 commit 9183769
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion components/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@

- Key: ASBFunctions
Name: NServiceBus.AzureFunctions.InProcess.ServiceBus
DocsUrl: /nservicebus/hosting/azure-functions/service-bus
DocsUrl: /nservicebus/hosting/azure-functions-service-bus
GitHubOwner: Particular
Category: Host
ProjectUrl: https://github.com/Particular/NServiceBus.AzureFunctions.InProcess.ServiceBus
Expand Down
8 changes: 4 additions & 4 deletions menu/menu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,11 @@
Title: Microsoft Generic Host
- Url: nservicebus/hosting/web-application
Title: Web Application
- Url: nservicebus/hosting/azure-functions
Title: Azure Functions
- Url: nservicebus/hosting/azure-functions-service-bus
Title: Azure Functions with Service Bus
Articles:
- Url: nservicebus/hosting/azure-functions/service-bus
Title: Service Bus
- Url: nservicebus/hosting/azure-functions-service-bus/custom-triggers
Title: Custom triggers
- Url: nservicebus/hosting/service-fabric-hosting
Title: Service Fabric
Articles:
Expand Down
2 changes: 1 addition & 1 deletion nservicebus/azure/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ NServiceBus helps create distributed .NET systems not only on premises but also

## Serverless

* [Azure Functions with Azure Service Bus](/nservicebus/hosting/azure-functions/service-bus.md)
* [Azure Functions with Azure Service Bus](/nservicebus/hosting/azure-functions-service-bus/)
* [Azure Functions with Azure Storage Queues](/previews/azure-functions-storage-queues.md)

## Transports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Custom Azure Functions triggers
component: ASBFunctions
summary: How to write custom triggers to call NServiceBus from Azure Functions
related:
- nservicebus/hosting/azure-functions/service-bus
- nservicebus/hosting/azure-functions-service-bus
reviewed: 2021-08-16
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
title: Azure Functions with Azure Service Bus
component: ASBFunctions
summary: Hosting NServiceBus endpoints with Azure Functions triggered by Azure Service Bus
related:
- samples/azure-functions/service-bus
redirects:
- previews/azure-functions-service-bus
- nservicebus/hosting/azure-functions
- nservicebus/hosting/azure-functions/service-bus
reviewed: 2021-07-14
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ snippet: asb-function-enable-sends-atomic-with-receive-with-attribute

This is the equivalent to the [`SendsAtomicWithReceive`](/transports/transactions.md#transactions-transport-transaction-sends-atomic-with-receive) transport transaction mode. By default, transactional consistency is disabled, providing the same transport guarantees as the [`ReceiveOnly`](/transports/transactions.md#transactions-transport-transaction-receive-only) transport transaction mode.

For more information on configuring message consistency using custom triggers, refer to the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions/custom-triggers.md) documentation.
For more information on configuring message consistency using custom triggers, refer to the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions-service-bus/custom-triggers.md) documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ The attribute will generate the trigger function required for NServiceBus.

Note: An invalid endpoint name will generate an `NSBFUNC001` error with the message `Endpoint name is invalid and cannot be used to generate trigger function`.

The Azure Service Bus trigger can be manually declared instead of relying on the auto-generated trigger. See the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions/custom-triggers.md) page for more information.
The Azure Service Bus trigger can be manually declared instead of relying on the auto-generated trigger. See the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions-service-bus/custom-triggers.md) page for more information.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Note: An invalid trigger function name will generate an `NSBFUNC004` error with

#### Customizing Triggers

The Azure Service Bus trigger can be manually declared instead of relying on the auto-generated trigger. See the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions/custom-triggers.md) page for more information.
The Azure Service Bus trigger can be manually declared instead of relying on the auto-generated trigger. See the [custom Azure Functions triggers](/nservicebus/hosting/azure-functions-service-bus/custom-triggers.md) page for more information.
7 changes: 0 additions & 7 deletions nservicebus/hosting/azure-functions/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion nservicebus/hosting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ NServiceBus can be hosted in a WebJob. See [Self-Hosting in Azure WebJobs](/samp

### Serverless hosting

NServiceBus can be hosted in several serverless environments such as [Azure Functions](/nservicebus/hosting/azure-functions/service-bus.md) and [AWS Lambda](/previews/aws-lambda-simple-queue-service.md).
NServiceBus can be hosted in several serverless environments such as [Azure Functions](/nservicebus/hosting/azure-functions-service-bus/) and [AWS Lambda](/previews/aws-lambda-simple-queue-service.md).

### Multi-hosting

Expand Down
2 changes: 1 addition & 1 deletion nservicebus/hosting/selecting.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Within AppServices, [WebJobs](https://docs.microsoft.com/en-us/azure/app-service

Azure Functions can be used to run short-lived NServiceBus endpoints triggered by Azure Service Bus messages. When a message triggers a function, an NServiceBus endpoint can be started to handle the message.

See [Azure Functions with Azure Service Bus](/nservicebus/hosting/azure-functions/service-bus.md) for more details.
See [Azure Functions with Azure Service Bus](/nservicebus/hosting/azure-functions-service-bus/) for more details.

### Service Fabric

Expand Down
4 changes: 2 additions & 2 deletions samples/azure-functions/service-bus/sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Using NServiceBus in Azure Functions with Service Bus triggers
component: ASBFunctions
related:
- nservicebus/hosting/azure-functions/service-bus
- nservicebus/hosting/azure-functions-service-bus
redirects:
- samples/previews/azure-functions/service-bus
reviewed: 2021-08-11
Expand All @@ -12,7 +12,7 @@ This sample shows how to host NServiceBus within an Azure Function, in this case

When hosting NServiceBus within Azure Functions, the Function (as identified by the `[FunctionName]` attribute) hosts an NServiceBus endpoint that is capable of processing different message types.

The Azure Functions SDK enforces certain constraints that are also applied to NServiceBus endpoints. Review these [constraints](/nservicebus/hosting/azure-functions/service-bus.md) before running the sample.
The Azure Functions SDK enforces certain constraints that are also applied to NServiceBus endpoints. Review these [constraints](/nservicebus/hosting/azure-functions-service-bus/) before running the sample.

downloadbutton

Expand Down

0 comments on commit 9183769

Please sign in to comment.