Trimming
By default, when publishing a Blazor WebAssembly app, trimming will be performed. It will remove unnecessary things and, by doing so, reduce the size of the app.
If our application uses reflection, the trimmer may have problems identifying what can and cannot be removed.
For most applications, the trimming is automatic and will work. To read more about trimming options, you can look here: https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options?pivots=dotnet-8-0.