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