Document how to use ASP.NET Core with trimming
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
There are instructions to enable trimming in an app, but there are challenges specific to ASP.NET Core.
For example:
* Certain frameworks might not support trimming at all, e.g. MVC (just speculation at the moment)
* Features may only be supported with trimming if they're excluded, e.g. controllers and DTOs must be in a non-trimmed assembly.
* Features may not be compatible with trimming, e.g. DataProtection providers can be configured based on type names located in the registry.
### Describe the solution you'd like
We should have:
- [ ] Overall documentation page for trimming with ASP.NET Core
- [ ] Content added to various frameworks and features that discuss how to use them with trimming
- [ ] aka.ms links added to trim warnings that link to trimming docs. The docs provide enough information for developers to know how to deal with trim warnings.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.