1 instantiation of StaticAssetsEndpointConventionBuilder
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetEndpointDataSource.cs (1)
46
DefaultBuilder = new
StaticAssetsEndpointConventionBuilder
(
11 references to StaticAssetsEndpointConventionBuilder
Microsoft.AspNetCore.StaticAssets (9)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
167
StaticAssetsEndpointConventionBuilder
builder,
StaticAssetEndpointDataSource.cs (1)
62
internal
StaticAssetsEndpointConventionBuilder
DefaultBuilder { get; set; }
StaticAssetsEndpointRouteBuilderExtensions.cs (7)
26
public static
StaticAssetsEndpointConventionBuilder
MapStaticAssets(this IEndpointRouteBuilder endpoints, string? staticAssetsManifestPath = null)
37
var
result = MapStaticAssetsCore(endpoints, staticAssetsManifestPath);
47
private static
StaticAssetsEndpointConventionBuilder
MapStaticAssetsCore(
51
var
builder = GetExistingBuilder(endpoints, manifestPath);
73
private static
StaticAssetsEndpointConventionBuilder
? GetExistingBuilder(IEndpointRouteBuilder endpoints, string manifestPath)
87
internal static
StaticAssetsEndpointConventionBuilder
MapStaticAssets(this IEndpointRouteBuilder endpoints, StaticAssetsManifest manifest)
92
var
result = StaticAssetsManifest.CreateDataSource(endpoints, "", manifest.Endpoints, manifest.IsBuildManifest()).DefaultBuilder;
Microsoft.AspNetCore.StaticAssets.Tests (2)
StaticAssetsIntegrationTests.cs (2)
206
var
builder = endpoints.MapStaticAssets();
263
var
builder = endpoints.MapStaticAssets();