PageActionEndpointConventionBuilderResourceCollectionExtensions.WithStaticAssets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a ResourceAssetCollection metadata instance to the endpoints.
public static Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder WithStaticAssets (this Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder builder, string? manifestPath = default);
static member WithStaticAssets : Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder * string -> Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder
<Extension()>
Public Function WithStaticAssets (builder As PageActionEndpointConventionBuilder, Optional manifestPath As String = Nothing) As PageActionEndpointConventionBuilder
Parameters
- manifestPath
- String
The manifest associated with the assets.