Open
Description
As a workaround for another problem we introduced a lot of copied code into the Blazor Desktop WebView package: #31071
There's a fair bit of copied code related to static files and content types. The Blazor Desktop packages can't depend on anything in Microsoft.AspNetCore.App because they have to run in places where ASP.NET Core doesn't run, such as Android and iOS.
Options:
0. Do nothing and keep the copied code (possibly trimming it down to the minimal amount needed, rather than taking entire files)
- Move the code to a NuGet package that can be used from everywhere
- Something else?