Update platform-specific-configuration.md (#22714)

pull/22717/head
smaicas 2021-07-12 13:01:57 +02:00 committed by GitHub
parent ae51cbb1c0
commit f18fffc310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,8 @@ To disable automatic loading of hosting startup assemblies, use one of the follo
.UseStartup<Startup>();
});
```
The `{ASSEMBLY1;ASSEMBLY2; ...}` placeholder represents the semicolon-separated list of assemblies.
* `ASPNETCORE_HOSTINGSTARTUPEXCLUDEASSEMBLIES` environment variable.
@ -225,6 +227,8 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
});
```
The `{ASSEMBLY1;ASSEMBLY2; ...}` placeholder represents the semicolon-separated list of assemblies.
When multiple hosting startup assembles are present, their <xref:Microsoft.AspNetCore.Hosting.IHostingStartup.Configure*> methods are executed in the order that the assemblies are listed.
## Activation