Open
Description
Is there an existing issue for this?
- 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