8 references to HttpsRedirectionOptions
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
191
builder.Services.Configure<
HttpsRedirectionOptions
>(options => options.HttpsPort = browserHttpsPort);
Microsoft.AspNetCore.HttpsPolicy (5)
HttpsRedirectionMiddleware.cs (3)
36
public HttpsRedirectionMiddleware(RequestDelegate next, IOptions<
HttpsRedirectionOptions
> options, IConfiguration config, ILoggerFactory loggerFactory)
45
var
httpsRedirectionOptions = options.Value;
66
public HttpsRedirectionMiddleware(RequestDelegate next, IOptions<
HttpsRedirectionOptions
> options, IConfiguration config, ILoggerFactory loggerFactory,
HttpsRedirectionServicesExtensions.cs (2)
18
/// <param name="configureOptions">A delegate to configure the <see cref="
HttpsRedirectionOptions
"/>.</param>
20
public static IServiceCollection AddHttpsRedirection(this IServiceCollection services, Action<
HttpsRedirectionOptions
> configureOptions)
Microsoft.AspNetCore.HttpsPolicy.Tests (2)
HttpsPolicyTests.cs (1)
35
services.Configure<
HttpsRedirectionOptions
>(options =>
HttpsRedirectionMiddlewareTests.cs (1)
85
services.Configure<
HttpsRedirectionOptions
>(options =>