Skip to content

Add supprot for .NET 9 Static assets to DotVVM resources #1911

@holajan

Description

@holajan

In .NET 9 is new feature Static assets.

You can replace UseStaticFiles to MapStaticAssets. But it is only part of this feature.
The main goal is to use fingerprinting and generated .gz and .br assets (with .staticwebassets.endpoints.json in debug enviroment).

You can use new @assets property (In Blazor apps) or link tag helpers (MVC & Razor Pages apps) to resolve the assets fingerprinted file names and <ImportMap /> component or <script type="importmap"></script> for JavaScript modules. There is no such functionality for DotVVM apps.
It needs to be added in DotVVM resources registration in UrlResourceLocation or similar class.

Please add this support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions