Skip to content

Commit 8dda42a

Browse files
authored
Remove samples that reference NServiceBus 7 (#7850)
* Remove NServiceBus 7 version of Simple Azure Table Persistence Usage * Remove NServiceBus 7 version of the sample Azure Table Persistence Usage with Transactions * Remove NServiceBus 7 version of the sample AzureTable Persistence Usage with non-default table * Remove NServiceBus 7 version of the sample Azure Table Persistence Usage with Transactions * Remove sample for Autofac * Remove the sample for NServiceBus 7 of ASP.NET Core Dependency Injection Integration * Delete the sample for Castle * Delete the sample for Ninject * Delete sample for Spring * Delete the sample for StructureMap * Delete the sample for Unity * Delete the sample for NServiceBus.Extensions.DependencyInjection Usage * Remove NServiceBus samples for Azure Storage Queues transport native integration * Remove NServiceBus 7 version of the sample Azure Storage Queues Transport * Consolidate the partials for Azure Storage Queues Transport sample * Delete the sample for CommonLogging * Remove NServiceBus 7 version of the sample Custom Logger Factory * Remove NServiceBus 7 version of the sample for DataDog * Remove NServiceBus 7 version of the Default logging sample * Remove NServiceBus 7 version of the Extensions.Logging sample * Delete the sample for Log4Net * Remove NServiceBus 7 version of the sample for Write metrics to the trace log * Remove NServiceBus 7 version of the sample for Capture and visualize metrics using NewRelic * Delete the sample for Custom NLog configuration * Remove NServiceBus 7 version of the sample Logging/Notifications * Remove NServiceBus 7 version of the sample Monitor ServiceControl events with Azure Application Insights * Remove NServiceBus 7 version of the sample for Monitor with ServiceControl events * Remove NServiceBus 7 version of the sample A custom message viewer plugin for ServiceInsight * Remove NServiceBus 7 version of the sample Using TransactionalSession with Entity Framework and ASP.NET Core * Remove NServiceBus 7 version of the sample Using Transactional Session with CosmosDB * Remove the references to the deleted samples
1 parent f718a14 commit 8dda42a

File tree

308 files changed

+18
-7167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+18
-7167
lines changed

nservicebus/dependency-injection/autofac.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Autofac
33
summary: Details on how to Configure NServiceBus to use Autofac for dependency injection.
44
component: Autofac
55
reviewed: 2025-02-14
6-
related:
7-
- samples/dependency-injection/autofac
86
redirects:
97
- nservicebus/containers/autofac
108
---

nservicebus/dependency-injection/castlewindsor.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Castle Windsor
33
summary: Details on how to Configure NServiceBus to use Castle Windsor for dependency injection.
44
component: Castle
55
reviewed: 2025-02-14
6-
related:
7-
- samples/dependency-injection/castle
86
redirects:
97
- nservicebus/containers/castle
108
---

nservicebus/dependency-injection/extensions-dependencyinjection.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ summary: Integration with Microsoft.Extensions.DependencyInjection
44
reviewed: 2025-05-13
55
component: Extensions.DependencyInjection
66
related:
7-
- samples/dependency-injection/extensions-dependency-injection
87
- samples/hosting/generic-host
98
redirects:
109
- nservicebus/dependency-injection/property-injection

nservicebus/dependency-injection/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ redirects:
99
- nservicebus/dependency-injection/msdependencyinjection
1010
related:
1111
- samples/dependency-injection
12-
- samples/dependency-injection/extensions-dependency-injection
1312
- samples/dependency-injection/externally-managed-mode
1413
---
1514

nservicebus/dependency-injection/index_ownership_core_[,8).partial.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ snippet: ExternalStart
3737

3838
> [!NOTE]
3939
> The session is only valid for use after the endpoint have been started, so it is provided as `Lazy<IMessageSession>`.
40-
41-
The [NServiceBus.Extensions.DependencyInjection Usage sample](/samples/dependency-injection/extensions-dependency-injection/) demonstrates how to register the message session.

nservicebus/dependency-injection/index_ownership_core_[8,).partial.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ snippet: ExternalStart
5050
> [!NOTE]
5151
> Refer to the container's documentation on how to use the container with the `Microsoft.Extensions.DependencyInjection` API.
5252
53-
The externally managed mode is intended to be used in scenarios where the NServiceBus endpoint integrates into an existing application or host already using either MS.DI or using a third party container that supports integration with MS.DI.
53+
The externally managed mode is intended to be used in scenarios where the NServiceBus endpoint integrates into an existing application or host already using either MS.DI or using a third party container that supports integration with MS.DI.
5454

5555
## Property injection
5656

@@ -114,8 +114,6 @@ snippet: DelegateSingleInstance
114114
> [!NOTE]
115115
> The session is only valid for use after the endpoint have been started, so it is provided as `Lazy<IMessageSession>`.
116116
117-
The [NServiceBus.Extensions.DependencyInjection Usage sample](/samples/dependency-injection/extensions-dependency-injection/) demonstrates how to register the message session.
118-
119117
## Resolving dependencies
120118

121119
It is recommended to follow the [dependency injection guidelines](https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines) for .NET. Be aware of the following special cases with NServiceBus:

nservicebus/dependency-injection/ninject.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ summary: Configure NServiceBus to use Ninject for dependency injection.
44
reviewed: 2025-07-31
55
component: Ninject
66
related:
7-
- samples/dependency-injection/ninject
87
- nservicebus/dependency-injection/child-lifetime
98
redirects:
109
- nservicebus/containers/ninject

nservicebus/dependency-injection/spring.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Spring
33
summary: Details on how to Configure NServiceBus to use Spring for dependency injection.
44
component: Spring
55
reviewed: 2025-08-12
6-
related:
7-
- samples/dependency-injection/spring
86
redirects:
97
- nservicebus/containers/spring
108
---

nservicebus/dependency-injection/structuremap.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ component: StructureMap
55
reviewed: 2025-02-25
66
redirects:
77
- nservicebus/containers/structuremap
8-
related:
9-
- samples/dependency-injection/structuremap
108
---
119

1210
include: container-deprecation-notice

nservicebus/dependency-injection/unity.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Unity
33
summary: Details on how to Configure NServiceBus to use Unity for dependency injection.
44
component: Unity
55
reviewed: 2025-02-19
6-
related:
7-
- samples/dependency-injection/unity
86
redirects:
97
- nservicebus/containers/unity
108
---

0 commit comments

Comments
 (0)