Skip to content

Commit cbf14fc

Browse files
Update assembly-scanning.md
1 parent 7000730 commit cbf14fc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

nservicebus/hosting/assembly-scanning.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Assembly scanning
33
summary: To enable automatic detection of various features NServiceBus scans assemblies for well known types
4-
reviewed: 2022-02-15
4+
reviewed: 2024-10-24
55
component: core
66
redirects:
77
- nservicebus/assembly-scanning
@@ -11,8 +11,8 @@ NServiceBus scans assemblies at endpoint startup to automatically detect and loa
1111

1212
There are some cases where finer control over which assemblies are loaded is required:
1313

14-
* To limit the number of assemblies being scanned and hence provide improvements to startup time.
15-
* If hosting multiple endpoints out of the same directory each endpoint may require a subset of assemblies to be loaded.
14+
* To limit the number of assemblies being scanned and hence improve startup time.
15+
* If hosting multiple endpoints out of the same directory, each endpoint may require loading a subset of assemblies.
1616

1717
> [!NOTE]
1818
> NServiceBus extensions such as `NServiceBus.RavenDB.dll` are not considered a core assembly but still must be included when customizing the assembly scanning.
@@ -25,14 +25,14 @@ snippet: ScanningApDomainAssemblies
2525

2626
## Assembly files
2727

28-
By default all assemblies in the endpoint's `bin` directory are scanned in search of related interfaces so that the endpoint can configure them automatically.
28+
By default, all assemblies in the endpoint's `bin` directory are scanned for related interfaces so that the endpoint can configure them automatically.
2929

3030
### Additional assembly scanning path
3131

3232
> [!NOTE]
3333
> This configuration option is available only in NServiceBus version 7.4 and above.
3434
35-
Assembly scanning can be configured to scan an additional path for assemblies located outside of the default scanning path.
35+
Assembly scanning can be configured to scan an additional path for assemblies outside the default scanning path.
3636

3737
snippet: AdditionalAssemblyScanningPath
3838

@@ -42,7 +42,7 @@ Nested directories are **not** scanned for assemblies by default. Nested directo
4242

4343
snippet: ScanningNestedAssebliesEnabled
4444

45-
### Disable assembly files scanning
45+
### Disable assembly file scanning
4646

4747
Scanning of assemblies deployed to the `bin` folder (and other configured scanning locations) can be disabled:
4848

@@ -74,7 +74,7 @@ snippet: ScanningExcludeTypes
7474
> [!NOTE]
7575
> This configuration option is only available in NServiceBus 6.2 and above.
7676
77-
By default, exceptions occurred during assembly scanning will be re-thrown. Those exceptions can be ignored using the following:
77+
By default, exceptions that occurred during assembly scanning will be re-thrown. Those exceptions can be ignored using the following:
7878

7979
snippet: SwallowScanningExceptions
8080

0 commit comments

Comments
 (0)