Skip to content

Remove copied static files code from WebView project #31078

Open
@Eilon

Description

@Eilon

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)

  1. Move the code to a NuGet package that can be used from everywhere
  2. Something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Technical DebtPriority:3Work that is nice to havearea-blazorIncludes: Blazor, Razor Componentsclean-upThis issue is internal clean-up and has no effect on public APIs or expected behaviorsfeature-blazor-desktopThis issue is related to Blazor Desktop

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions