dotnet / dotnet/AspNetCore.Docs

How to specify "hosting startup assemblies" via code using the "minimal hosting model"?

Open
#30,494 2 comments 0 reactions 1 assignee Claimed by @tdykstra View on GitHub
doc-enhancement Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

Please describe **if and how** you can set hosting startup assemblies in the code when using the new "minimal hosting model" of ASP.NET Core 6.0 and higher.

Or give a hint to https://github.com/dotnet/aspnetcore/issues/38765

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 613ad64e-bc62-edf7-2e86-42210de718f4
* Version Independent ID: aabbbc32-3237-5ef9-c422-892dc6884a22
* Content: [Use hosting startup assemblies in ASP.NET Core](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/platform-specific-configuration?view=aspnetcore-7.0#specify-the-hosting-startup-assembly)
* Content Source: [aspnetcore/fundamentals/host/platform-specific-configuration.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/host/platform-specific-configuration.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-fundamentals**
* GitHub Login: @tdykstra
* Microsoft Alias: **riande**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.