ControllerActionEndpointConventionBuilderResourceCollectionExtensions.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.ControllerActionEndpointConventionBuilder WithStaticAssets (this Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder builder, string manifestPath = default);
static member WithStaticAssets : Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder * string -> Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder
<Extension()>
Public Function WithStaticAssets (builder As ControllerActionEndpointConventionBuilder, Optional manifestPath As String = Nothing) As ControllerActionEndpointConventionBuilder
Parameters
- manifestPath
- String
The manifest associated with the assets.