22 references to StartsWithSegments
AspireJavaScript.ServiceDefaults (2)
Extensions.cs (2)
59!(httpContext.Request.Path.StartsWithSegments(HealthEndpointPath) 60|| httpContext.Request.Path.StartsWithSegments(AlivenessEndpointPath))
AspireWithMaui.ServiceDefaults (2)
Extensions.cs (2)
67!context.Request.Path.StartsWithSegments(HealthEndpointPath) 68&& !context.Request.Path.StartsWithSegments(AlivenessEndpointPath)
AspireWithNode.ServiceDefaults (2)
Extensions.cs (2)
59!(httpContext.Request.Path.StartsWithSegments(HealthEndpointPath) 60|| httpContext.Request.Path.StartsWithSegments(AlivenessEndpointPath))
blazor-devserver (4)
Server\Startup.cs (4)
39if (ctx.Request.Path.StartsWithSegments("/_framework/blazor.boot.json")) 43else if (applyCopHeaders && ctx.Request.Path.StartsWithSegments("/_framework") && !ctx.Request.Path.StartsWithSegments("/_framework/blazor.server.js") && !ctx.Request.Path.StartsWithSegments("/_framework/blazor.web.js"))
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\TestInfrastructureStartupFilter.cs (1)
34if (context.Request.Path.StartsWithSegments("/_test/lock/release")
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (3)
42builder.MapWhen(ctx => ctx.Request.Path.StartsWithSegments(pathPrefix, out var rest) && rest.StartsWithSegments("/_framework") && 43!rest.StartsWithSegments("/_framework/blazor.server.js") && !rest.StartsWithSegments("/_framework/blazor.web.js"),
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\ConditionalProxyMiddleware.cs (1)
45if (context.Request.Path.StartsWithSegments(_pathPrefix) || _pathPrefixIsRoot)
Microsoft.AspNetCore.Watch.BrowserRefresh (5)
src\sdk\src\Dotnet.Watch\Web.Middleware\HostingStartup.cs (5)
32return path.StartsWithSegments(ApplicationPaths.FrameworkRoot) && 33(path.StartsWithSegments(ApplicationPaths.ClearSiteData) || 34path.StartsWithSegments(ApplicationPaths.BlazorHotReloadMiddleware) || 35path.StartsWithSegments(ApplicationPaths.BrowserRefreshJS) || 36path.StartsWithSegments(ApplicationPaths.BlazorHotReloadJS));
TestShop.ServiceDefaults (2)
Extensions.cs (2)
61!context.Request.Path.StartsWithSegments(HealthEndpointPath) 62&& !context.Request.Path.StartsWithSegments(AlivenessEndpointPath)