Microsoft.AspNetCore.Builder
106 wrapped types. Load them with using { "Microsoft.AspNetCore.Builder" }. Click a class to open it.
AntiforgeryApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.AntiforgeryApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Antiforgery
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseAntiforgery | UseAntiforgery(p1) | static IApplicationBuilder UseAntiforgery(IApplicationBuilder builder) |
ApplicationBuilder class
Microsoft.AspNetCore.Builder.ApplicationBuilder · assembly Microsoft.AspNetCore.Http
Constructors
new ApplicationBuilder(IServiceProvider serviceProvider) |
new ApplicationBuilder(IServiceProvider serviceProvider, object server) |
Ring: new ApplicationBuilder(args) uses one constructor; the others are chosen by the parameter names: new ApplicationBuilder().@New([ :param = value ]) or dnNew("ApplicationBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ApplicationServices | IServiceProvider | read, write | o.ApplicationServices o.ApplicationServices = v |
ServerFeatures | IFeatureCollection | read | o.ServerFeatures |
Properties | IDictionary<string, object> | read | o.Properties |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | RequestDelegate Build() |
New | callMethod("New",[]) | IApplicationBuilder New() |
Use | callMethod("Use",[p1]) | IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware) |
ApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Localization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRequestLocalization | UseRequestLocalization(value)UseRequestLocalization([ :app = … ])UseRequestLocalization([ :app = …, :options = … ])UseRequestLocalization([ :app = …, :optionsAction = … ])UseRequestLocalization([ :app = …, :cultures = … ]) | static IApplicationBuilder UseRequestLocalization(IApplicationBuilder app)static IApplicationBuilder UseRequestLocalization(IApplicationBuilder app, RequestLocalizationOptions options)static IApplicationBuilder UseRequestLocalization(IApplicationBuilder app, Action<RequestLocalizationOptions> optionsAction)static IApplicationBuilder UseRequestLocalization(IApplicationBuilder app, string[] cultures) |
AuthAppBuilderExtensions class static
Microsoft.AspNetCore.Builder.AuthAppBuilderExtensions · assembly Microsoft.AspNetCore.Authentication
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseAuthentication | UseAuthentication(p1) | static IApplicationBuilder UseAuthentication(IApplicationBuilder app) |
AuthorizationAppBuilderExtensions class static
Microsoft.AspNetCore.Builder.AuthorizationAppBuilderExtensions · assembly Microsoft.AspNetCore.Authorization.Policy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseAuthorization | UseAuthorization(p1) | static IApplicationBuilder UseAuthorization(IApplicationBuilder app) |
AuthorizationEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.AuthorizationEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Authorization.Policy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AllowAnonymous | AllowAnonymous(p1) | static TBuilder AllowAnonymous<TBuilder>(TBuilder builder) |
RequireAuthorization | RequireAuthorization(value)RequireAuthorization([ :builder = … ])RequireAuthorization([ :builder = …, :policyNames = … ])RequireAuthorization([ :builder = …, :authorizeData = … ])RequireAuthorization([ :builder = …, :policy = … ]) | static TBuilder RequireAuthorization<TBuilder>(TBuilder builder)static TBuilder RequireAuthorization<TBuilder>(TBuilder builder, string[] policyNames)static TBuilder RequireAuthorization<TBuilder>(TBuilder builder, IAuthorizeData[] authorizeData)static TBuilder RequireAuthorization<TBuilder>(TBuilder builder, AuthorizationPolicy policy)static TBuilder RequireAuthorization<TBuilder>(TBuilder builder, Action<AuthorizationPolicyBuilder> configurePolicy) |
CertificateForwardingBuilderExtensions class static
Microsoft.AspNetCore.Builder.CertificateForwardingBuilderExtensions · assembly Microsoft.AspNetCore.HttpOverrides
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseCertificateForwarding | UseCertificateForwarding(p1) | static IApplicationBuilder UseCertificateForwarding(IApplicationBuilder app) |
ComponentEndpointConventionBuilder no reflection data
ComponentEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.ComponentEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Components.Server
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapBlazorHub | MapBlazorHub(value)MapBlazorHub([ :endpoints = … ])MapBlazorHub([ :endpoints = …, :path = … ])MapBlazorHub([ :endpoints = …, :configureOptions = … ])MapBlazorHub([ :endpoints = …, :path = …, :configureOptions = … ]) | static ComponentEndpointConventionBuilder MapBlazorHub(IEndpointRouteBuilder endpoints)static ComponentEndpointConventionBuilder MapBlazorHub(IEndpointRouteBuilder endpoints, string path)static ComponentEndpointConventionBuilder MapBlazorHub(IEndpointRouteBuilder endpoints, Action<HttpConnectionDispatcherOptions> configureOptions)static ComponentEndpointConventionBuilder MapBlazorHub(IEndpointRouteBuilder endpoints, string path, Action<HttpConnectionDispatcherOptions> configureOptions) |
ConfigureHostBuilder class sealed
Microsoft.AspNetCore.Builder.ConfigureHostBuilder · assembly Microsoft.AspNetCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Properties | IDictionary<object, object> | read | o.Properties |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ConfigureAppConfiguration | callMethod("ConfigureAppConfiguration",[p1]) | IHostBuilder ConfigureAppConfiguration(Action<HostBuilderContext, IConfigurationBuilder> configureDelegate) |
ConfigureContainer | callMethod("ConfigureContainer",[p1]) | IHostBuilder ConfigureContainer<TContainerBuilder>(Action<HostBuilderContext, TContainerBuilder> configureDelegate) |
ConfigureHostConfiguration | callMethod("ConfigureHostConfiguration",[p1]) | IHostBuilder ConfigureHostConfiguration(Action<IConfigurationBuilder> configureDelegate) |
ConfigureServices | callMethod("ConfigureServices",[p1]) | IHostBuilder ConfigureServices(Action<HostBuilderContext, IServiceCollection> configureDelegate) |
UseServiceProviderFactory | callMethod("UseServiceProviderFactory",[p1]) | IHostBuilder UseServiceProviderFactory<TContainerBuilder>(IServiceProviderFactory<TContainerBuilder> factory)IHostBuilder UseServiceProviderFactory<TContainerBuilder>(Func<HostBuilderContext, IServiceProviderFactory<TContainerBuilder>> factory) |
ConfigureWebHostBuilder class sealed
Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder · assembly Microsoft.AspNetCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ConfigureAppConfiguration | callMethod("ConfigureAppConfiguration",[p1]) | IWebHostBuilder ConfigureAppConfiguration(Action<WebHostBuilderContext, IConfigurationBuilder> configureDelegate) |
ConfigureServices | callMethod("ConfigureServices",[p1]) | IWebHostBuilder ConfigureServices(Action<WebHostBuilderContext, IServiceCollection> configureServices)IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices) |
GetSetting | callMethod("GetSetting",[p1]) | string GetSetting(string key) |
UseSetting | callMethod("UseSetting",[p1,p2]) | IWebHostBuilder UseSetting(string key, string value) |
ConnectionEndpointRouteBuilder class sealed
Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder · assembly Microsoft.AspNetCore.Http.Connections
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finalConvention) |
ConnectionEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Http.Connections
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapConnectionHandler | MapConnectionHandler([ :endpoints = …, :pattern = … ])MapConnectionHandler([ :endpoints = …, :pattern = …, :configureOptions = … ]) | static ConnectionEndpointRouteBuilder MapConnectionHandler<TConnectionHandler>(IEndpointRouteBuilder endpoints, string pattern)static ConnectionEndpointRouteBuilder MapConnectionHandler<TConnectionHandler>(IEndpointRouteBuilder endpoints, string pattern, Action<HttpConnectionDispatcherOptions> configureOptions) |
MapConnections | MapConnections([ :endpoints = …, :pattern = …, :configure = … ])MapConnections([ :endpoints = …, :pattern = …, :options = …, :configure = … ]) | static ConnectionEndpointRouteBuilder MapConnections(IEndpointRouteBuilder endpoints, string pattern, Action<IConnectionBuilder> configure)static ConnectionEndpointRouteBuilder MapConnections(IEndpointRouteBuilder endpoints, string pattern, HttpConnectionDispatcherOptions options, Action<IConnectionBuilder> configure) |
ControllerActionEndpointConventionBuilder class sealed
Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder · assembly Microsoft.AspNetCore.Mvc.Core
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finalConvention) |
ControllerActionEndpointConventionBuilderResourceCollectionExtensions class static
Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilderResourceCollectionExtensions · assembly Microsoft.AspNetCore.Mvc.ViewFeatures
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WithStaticAssets | WithStaticAssets([ :builder = …, :manifestPath = … ]) | static ControllerActionEndpointConventionBuilder WithStaticAssets(ControllerActionEndpointConventionBuilder builder, string manifestPath = …) |
ControllerEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Core
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapAreaControllerRoute | MapAreaControllerRoute([ :endpoints = …, :name = …, :areaName = …, :pattern = …, :defaults = …, :constraints = …, :dataTokens = … ]) | static ControllerActionEndpointConventionBuilder MapAreaControllerRoute(IEndpointRouteBuilder endpoints, string name, string areaName, string pattern, object defaults = …, object constraints = …, object dataTokens = …) |
MapControllerRoute | MapControllerRoute([ :endpoints = …, :name = …, :pattern = …, :defaults = …, :constraints = …, :dataTokens = … ]) | static ControllerActionEndpointConventionBuilder MapControllerRoute(IEndpointRouteBuilder endpoints, string name, string pattern, object defaults = …, object constraints = …, object dataTokens = …) |
MapControllers | MapControllers(p1) | static ControllerActionEndpointConventionBuilder MapControllers(IEndpointRouteBuilder endpoints) |
MapDefaultControllerRoute | MapDefaultControllerRoute(p1) | static ControllerActionEndpointConventionBuilder MapDefaultControllerRoute(IEndpointRouteBuilder endpoints) |
MapDynamicControllerRoute | MapDynamicControllerRoute([ :endpoints = …, :pattern = … ])MapDynamicControllerRoute([ :endpoints = …, :pattern = …, :state = … ])MapDynamicControllerRoute([ :endpoints = …, :pattern = …, :state = …, :order = … ]) | static void MapDynamicControllerRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern)static void MapDynamicControllerRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern, object state)static void MapDynamicControllerRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern, object state, int order) |
MapFallbackToAreaController | MapFallbackToAreaController([ :endpoints = …, :action = …, :controller = …, :area = … ])MapFallbackToAreaController([ :endpoints = …, :pattern = …, :action = …, :controller = …, :area = … ]) | static IEndpointConventionBuilder MapFallbackToAreaController(IEndpointRouteBuilder endpoints, string action, string controller, string area)static IEndpointConventionBuilder MapFallbackToAreaController(IEndpointRouteBuilder endpoints, string pattern, string action, string controller, string area) |
MapFallbackToController | MapFallbackToController([ :endpoints = …, :action = …, :controller = … ])MapFallbackToController([ :endpoints = …, :pattern = …, :action = …, :controller = … ]) | static IEndpointConventionBuilder MapFallbackToController(IEndpointRouteBuilder endpoints, string action, string controller)static IEndpointConventionBuilder MapFallbackToController(IEndpointRouteBuilder endpoints, string pattern, string action, string controller) |
CookiePolicyAppBuilderExtensions class static
Microsoft.AspNetCore.Builder.CookiePolicyAppBuilderExtensions · assembly Microsoft.AspNetCore.CookiePolicy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseCookiePolicy | UseCookiePolicy(value)UseCookiePolicy([ :app = … ])UseCookiePolicy([ :app = …, :options = … ]) | static IApplicationBuilder UseCookiePolicy(IApplicationBuilder app)static IApplicationBuilder UseCookiePolicy(IApplicationBuilder app, CookiePolicyOptions options) |
CookiePolicyOptions class
Microsoft.AspNetCore.Builder.CookiePolicyOptions · assembly Microsoft.AspNetCore.CookiePolicy
Constructors
new CookiePolicyOptions() |
Ring: new CookiePolicyOptions(args) uses one constructor; the others are chosen by the parameter names: new CookiePolicyOptions().@New([ :param = value ]) or dnNew("CookiePolicyOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MinimumSameSitePolicy | SameSiteMode | read, write | o.MinimumSameSitePolicy o.MinimumSameSitePolicy = v |
HttpOnly | HttpOnlyPolicy | read, write | o.HttpOnly o.HttpOnly = v |
Secure | CookieSecurePolicy | read, write | o.Secure o.Secure = v |
ConsentCookie | CookieBuilder | read, write | o.ConsentCookie o.ConsentCookie = v |
ConsentCookieValue | string | read, write | o.ConsentCookieValue o.ConsentCookieValue = v |
CheckConsentNeeded | Func<HttpContext, bool> | read, write | o.CheckConsentNeeded o.CheckConsentNeeded = v |
OnAppendCookie | Action<AppendCookieContext> | read, write | o.OnAppendCookie o.OnAppendCookie = v |
OnDeleteCookie | Action<DeleteCookieContext> | read, write | o.OnDeleteCookie o.OnDeleteCookie = v |
CorsEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.CorsEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Cors
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
RequireCors | RequireCors(value)RequireCors([ :builder = … ])RequireCors([ :builder = …, :policyName = … ])RequireCors([ :builder = …, :configurePolicy = … ]) | static TBuilder RequireCors<TBuilder>(TBuilder builder)static TBuilder RequireCors<TBuilder>(TBuilder builder, string policyName)static TBuilder RequireCors<TBuilder>(TBuilder builder, Action<CorsPolicyBuilder> configurePolicy) |
CorsMiddlewareExtensions class static
Microsoft.AspNetCore.Builder.CorsMiddlewareExtensions · assembly Microsoft.AspNetCore.Cors
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseCors | UseCors(value)UseCors([ :app = … ])UseCors([ :app = …, :policyName = … ])UseCors([ :app = …, :configurePolicy = … ]) | static IApplicationBuilder UseCors(IApplicationBuilder app)static IApplicationBuilder UseCors(IApplicationBuilder app, string policyName)static IApplicationBuilder UseCors(IApplicationBuilder app, Action<CorsPolicyBuilder> configurePolicy) |
DefaultFilesExtensions class static
Microsoft.AspNetCore.Builder.DefaultFilesExtensions · assembly Microsoft.AspNetCore.StaticFiles
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseDefaultFiles | UseDefaultFiles(value)UseDefaultFiles([ :app = … ])UseDefaultFiles([ :app = …, :requestPath = … ])UseDefaultFiles([ :app = …, :options = … ]) | static IApplicationBuilder UseDefaultFiles(IApplicationBuilder app)static IApplicationBuilder UseDefaultFiles(IApplicationBuilder app, string requestPath)static IApplicationBuilder UseDefaultFiles(IApplicationBuilder app, DefaultFilesOptions options) |
DefaultFilesOptions class · extends SharedOptionsBase
Microsoft.AspNetCore.Builder.DefaultFilesOptions · assembly Microsoft.AspNetCore.StaticFiles
Constructors
new DefaultFilesOptions() |
new DefaultFilesOptions(SharedOptions sharedOptions) |
Ring: new DefaultFilesOptions(args) uses one constructor; the others are chosen by the parameter names: new DefaultFilesOptions().@New([ :param = value ]) or dnNew("DefaultFilesOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultFileNames | IList<string> | read, write | o.DefaultFileNames o.DefaultFileNames = v |
RequestPath | PathString | read, write | o.RequestPath o.RequestPath = v |
FileProvider | IFileProvider | read, write | o.FileProvider o.FileProvider = v |
RedirectToAppendTrailingSlash | bool | read, write | o.RedirectToAppendTrailingSlash o.RedirectToAppendTrailingSlash = v |
Members of the base class are inherited.
DeveloperExceptionPageExtensions class static
Microsoft.AspNetCore.Builder.DeveloperExceptionPageExtensions · assembly Microsoft.AspNetCore.Diagnostics
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseDeveloperExceptionPage | UseDeveloperExceptionPage(value)UseDeveloperExceptionPage([ :app = … ])UseDeveloperExceptionPage([ :app = …, :options = … ]) | static IApplicationBuilder UseDeveloperExceptionPage(IApplicationBuilder app)static IApplicationBuilder UseDeveloperExceptionPage(IApplicationBuilder app, DeveloperExceptionPageOptions options) |
DeveloperExceptionPageOptions class
Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions · assembly Microsoft.AspNetCore.Diagnostics
Constructors
new DeveloperExceptionPageOptions() |
Ring: new DeveloperExceptionPageOptions(args) uses one constructor; the others are chosen by the parameter names: new DeveloperExceptionPageOptions().@New([ :param = value ]) or dnNew("DeveloperExceptionPageOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SourceCodeLineCount | int | read, write | o.SourceCodeLineCount o.SourceCodeLineCount = v |
FileProvider | IFileProvider | read, write | o.FileProvider o.FileProvider = v |
DirectoryBrowserExtensions class static
Microsoft.AspNetCore.Builder.DirectoryBrowserExtensions · assembly Microsoft.AspNetCore.StaticFiles
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseDirectoryBrowser | UseDirectoryBrowser(value)UseDirectoryBrowser([ :app = … ])UseDirectoryBrowser([ :app = …, :requestPath = … ])UseDirectoryBrowser([ :app = …, :options = … ]) | static IApplicationBuilder UseDirectoryBrowser(IApplicationBuilder app)static IApplicationBuilder UseDirectoryBrowser(IApplicationBuilder app, string requestPath)static IApplicationBuilder UseDirectoryBrowser(IApplicationBuilder app, DirectoryBrowserOptions options) |
DirectoryBrowserOptions class · extends SharedOptionsBase
Microsoft.AspNetCore.Builder.DirectoryBrowserOptions · assembly Microsoft.AspNetCore.StaticFiles
Constructors
new DirectoryBrowserOptions() |
new DirectoryBrowserOptions(SharedOptions sharedOptions) |
Ring: new DirectoryBrowserOptions(args) uses one constructor; the others are chosen by the parameter names: new DirectoryBrowserOptions().@New([ :param = value ]) or dnNew("DirectoryBrowserOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Formatter | IDirectoryFormatter | read, write | o.Formatter o.Formatter = v |
RequestPath | PathString | read, write | o.RequestPath o.RequestPath = v |
FileProvider | IFileProvider | read, write | o.FileProvider o.FileProvider = v |
RedirectToAppendTrailingSlash | bool | read, write | o.RedirectToAppendTrailingSlash o.RedirectToAppendTrailingSlash = v |
Members of the base class are inherited.
EndpointBuilder class abstract
Microsoft.AspNetCore.Builder.EndpointBuilder · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FilterFactories | IList<Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>> | read | o.FilterFactories |
RequestDelegate | RequestDelegate | read, write | o.RequestDelegate o.RequestDelegate = v |
DisplayName | string | read, write | o.DisplayName o.DisplayName = v |
Metadata | IList<object> | read | o.Metadata |
ApplicationServices | IServiceProvider | read, write | o.ApplicationServices o.ApplicationServices = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | Endpoint Build() |
EndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Map | Map(p1,p2,p3) | static IEndpointConventionBuilder Map(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static IEndpointConventionBuilder Map(IEndpointRouteBuilder endpoints, RoutePattern pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder Map(IEndpointRouteBuilder endpoints, string pattern, Delegate handler)static RouteHandlerBuilder Map(IEndpointRouteBuilder endpoints, RoutePattern pattern, Delegate handler) |
MapDelete | MapDelete(p1,p2,p3) | static IEndpointConventionBuilder MapDelete(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder MapDelete(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
MapFallback | MapFallback([ :endpoints = …, :handler = … ])MapFallback([ :endpoints = …, :pattern = …, :handler = … ]) | static RouteHandlerBuilder MapFallback(IEndpointRouteBuilder endpoints, Delegate handler)static RouteHandlerBuilder MapFallback(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
MapGet | MapGet(p1,p2,p3) | static IEndpointConventionBuilder MapGet(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder MapGet(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
MapGroup | MapGroup(p1,p2) | static RouteGroupBuilder MapGroup(IEndpointRouteBuilder endpoints, string prefix)static RouteGroupBuilder MapGroup(IEndpointRouteBuilder endpoints, RoutePattern prefix) |
MapMethods | MapMethods(p1,p2,p3,p4) | static IEndpointConventionBuilder MapMethods(IEndpointRouteBuilder endpoints, string pattern, IEnumerable<string> httpMethods, RequestDelegate requestDelegate)static RouteHandlerBuilder MapMethods(IEndpointRouteBuilder endpoints, string pattern, IEnumerable<string> httpMethods, Delegate handler) |
MapPatch | MapPatch(p1,p2,p3) | static IEndpointConventionBuilder MapPatch(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder MapPatch(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
MapPost | MapPost(p1,p2,p3) | static IEndpointConventionBuilder MapPost(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder MapPost(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
MapPut | MapPut(p1,p2,p3) | static IEndpointConventionBuilder MapPut(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate)static RouteHandlerBuilder MapPut(IEndpointRouteBuilder endpoints, string pattern, Delegate handler) |
EndpointRoutingApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseEndpoints | UseEndpoints(p1,p2) | static IApplicationBuilder UseEndpoints(IApplicationBuilder builder, Action<IEndpointRouteBuilder> configure) |
UseRouting | UseRouting(p1) | static IApplicationBuilder UseRouting(IApplicationBuilder builder) |
ExceptionHandlerExtensions class static
Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions · assembly Microsoft.AspNetCore.Diagnostics
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseExceptionHandler | UseExceptionHandler(value)UseExceptionHandler([ :app = … ])UseExceptionHandler([ :app = …, :errorHandlingPath = … ])UseExceptionHandler([ :app = …, :configure = … ])UseExceptionHandler([ :app = …, :options = … ]) | static IApplicationBuilder UseExceptionHandler(IApplicationBuilder app)static IApplicationBuilder UseExceptionHandler(IApplicationBuilder app, string errorHandlingPath)static IApplicationBuilder UseExceptionHandler(IApplicationBuilder app, string errorHandlingPath, bool createScopeForErrors)static IApplicationBuilder UseExceptionHandler(IApplicationBuilder app, Action<IApplicationBuilder> configure)static IApplicationBuilder UseExceptionHandler(IApplicationBuilder app, ExceptionHandlerOptions options) |
ExceptionHandlerOptions class
Microsoft.AspNetCore.Builder.ExceptionHandlerOptions · assembly Microsoft.AspNetCore.Diagnostics
Constructors
new ExceptionHandlerOptions() |
Ring: new ExceptionHandlerOptions(args) uses one constructor; the others are chosen by the parameter names: new ExceptionHandlerOptions().@New([ :param = value ]) or dnNew("ExceptionHandlerOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ExceptionHandlingPath | PathString | read, write | o.ExceptionHandlingPath o.ExceptionHandlingPath = v |
CreateScopeForErrors | bool | read, write | o.CreateScopeForErrors o.CreateScopeForErrors = v |
ExceptionHandler | RequestDelegate | read, write | o.ExceptionHandler o.ExceptionHandler = v |
AllowStatusCode404Response | bool | read, write | o.AllowStatusCode404Response o.AllowStatusCode404Response = v |
StatusCodeSelector | Func<Exception, int> | read, write | o.StatusCodeSelector o.StatusCodeSelector = v |
FallbackEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.FallbackEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultPattern | string | read · static | o.DefaultPattern |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapFallback | MapFallback([ :endpoints = …, :requestDelegate = … ])MapFallback([ :endpoints = …, :pattern = …, :requestDelegate = … ]) | static IEndpointConventionBuilder MapFallback(IEndpointRouteBuilder endpoints, RequestDelegate requestDelegate)static IEndpointConventionBuilder MapFallback(IEndpointRouteBuilder endpoints, string pattern, RequestDelegate requestDelegate) |
FileServerExtensions class static
Microsoft.AspNetCore.Builder.FileServerExtensions · assembly Microsoft.AspNetCore.StaticFiles
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseFileServer | UseFileServer(value)UseFileServer([ :app = … ])UseFileServer([ :app = …, :enableDirectoryBrowsing = … ])UseFileServer([ :app = …, :requestPath = … ])UseFileServer([ :app = …, :options = … ]) | static IApplicationBuilder UseFileServer(IApplicationBuilder app)static IApplicationBuilder UseFileServer(IApplicationBuilder app, bool enableDirectoryBrowsing)static IApplicationBuilder UseFileServer(IApplicationBuilder app, string requestPath)static IApplicationBuilder UseFileServer(IApplicationBuilder app, FileServerOptions options) |
FileServerOptions class · extends SharedOptionsBase
Microsoft.AspNetCore.Builder.FileServerOptions · assembly Microsoft.AspNetCore.StaticFiles
Constructors
new FileServerOptions() |
Ring: new FileServerOptions(args) uses one constructor; the others are chosen by the parameter names: new FileServerOptions().@New([ :param = value ]) or dnNew("FileServerOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StaticFileOptions | StaticFileOptions | read | o.StaticFileOptions |
DirectoryBrowserOptions | DirectoryBrowserOptions | read | o.DirectoryBrowserOptions |
DefaultFilesOptions | DefaultFilesOptions | read | o.DefaultFilesOptions |
EnableDirectoryBrowsing | bool | read, write | o.EnableDirectoryBrowsing o.EnableDirectoryBrowsing = v |
EnableDefaultFiles | bool | read, write | o.EnableDefaultFiles o.EnableDefaultFiles = v |
RequestPath | PathString | read, write | o.RequestPath o.RequestPath = v |
FileProvider | IFileProvider | read, write | o.FileProvider o.FileProvider = v |
RedirectToAppendTrailingSlash | bool | read, write | o.RedirectToAppendTrailingSlash o.RedirectToAppendTrailingSlash = v |
Members of the base class are inherited.
ForwardedHeadersExtensions class static
Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions · assembly Microsoft.AspNetCore.HttpOverrides
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseForwardedHeaders | UseForwardedHeaders(value)UseForwardedHeaders([ :builder = … ])UseForwardedHeaders([ :builder = …, :options = … ]) | static IApplicationBuilder UseForwardedHeaders(IApplicationBuilder builder)static IApplicationBuilder UseForwardedHeaders(IApplicationBuilder builder, ForwardedHeadersOptions options) |
ForwardedHeadersOptions class
Microsoft.AspNetCore.Builder.ForwardedHeadersOptions · assembly Microsoft.AspNetCore.HttpOverrides
Constructors
new ForwardedHeadersOptions() |
Ring: new ForwardedHeadersOptions(args) uses one constructor; the others are chosen by the parameter names: new ForwardedHeadersOptions().@New([ :param = value ]) or dnNew("ForwardedHeadersOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ForwardedForHeaderName | string | read, write | o.ForwardedForHeaderName o.ForwardedForHeaderName = v |
ForwardedHostHeaderName | string | read, write | o.ForwardedHostHeaderName o.ForwardedHostHeaderName = v |
ForwardedProtoHeaderName | string | read, write | o.ForwardedProtoHeaderName o.ForwardedProtoHeaderName = v |
ForwardedPrefixHeaderName | string | read, write | o.ForwardedPrefixHeaderName o.ForwardedPrefixHeaderName = v |
OriginalForHeaderName | string | read, write | o.OriginalForHeaderName o.OriginalForHeaderName = v |
OriginalHostHeaderName | string | read, write | o.OriginalHostHeaderName o.OriginalHostHeaderName = v |
OriginalProtoHeaderName | string | read, write | o.OriginalProtoHeaderName o.OriginalProtoHeaderName = v |
OriginalPrefixHeaderName | string | read, write | o.OriginalPrefixHeaderName o.OriginalPrefixHeaderName = v |
ForwardedHeaders | ForwardedHeaders | read, write | o.ForwardedHeaders o.ForwardedHeaders = v |
ForwardLimit | int? | read, write | o.ForwardLimit o.ForwardLimit = v |
KnownProxies | IList<IPAddress> | read | o.KnownProxies |
KnownNetworks | IList<IPNetwork> | read | o.KnownNetworks |
AllowedHosts | IList<string> | read, write | o.AllowedHosts o.AllowedHosts = v |
RequireHeaderSymmetry | bool | read, write | o.RequireHeaderSymmetry o.RequireHeaderSymmetry = v |
HealthCheckApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.HealthCheckApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Diagnostics.HealthChecks
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHealthChecks | UseHealthChecks([ :app = …, :path = … ])UseHealthChecks([ :app = …, :path = …, :options = … ])UseHealthChecks([ :app = …, :path = …, :port = … ])UseHealthChecks([ :app = …, :path = …, :port = …, :options = … ]) | static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path)static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path, HealthCheckOptions options)static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path, int port)static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path, string port)static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path, int port, HealthCheckOptions options)static IApplicationBuilder UseHealthChecks(IApplicationBuilder app, PathString path, string port, HealthCheckOptions options) |
HealthCheckEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.HealthCheckEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Diagnostics.HealthChecks
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapHealthChecks | MapHealthChecks([ :endpoints = …, :pattern = … ])MapHealthChecks([ :endpoints = …, :pattern = …, :options = … ]) | static IEndpointConventionBuilder MapHealthChecks(IEndpointRouteBuilder endpoints, string pattern)static IEndpointConventionBuilder MapHealthChecks(IEndpointRouteBuilder endpoints, string pattern, HealthCheckOptions options) |
HostFilteringBuilderExtensions class static
Microsoft.AspNetCore.Builder.HostFilteringBuilderExtensions · assembly Microsoft.AspNetCore.HostFiltering
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHostFiltering | UseHostFiltering(p1) | static IApplicationBuilder UseHostFiltering(IApplicationBuilder app) |
HostFilteringServicesExtensions class static
Microsoft.AspNetCore.Builder.HostFilteringServicesExtensions · assembly Microsoft.AspNetCore.HostFiltering
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddHostFiltering | AddHostFiltering(p1,p2) | static IServiceCollection AddHostFiltering(IServiceCollection services, Action<HostFilteringOptions> configureOptions) |
HstsBuilderExtensions class static
Microsoft.AspNetCore.Builder.HstsBuilderExtensions · assembly Microsoft.AspNetCore.HttpsPolicy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHsts | UseHsts(p1) | static IApplicationBuilder UseHsts(IApplicationBuilder app) |
HstsServicesExtensions class static
Microsoft.AspNetCore.Builder.HstsServicesExtensions · assembly Microsoft.AspNetCore.HttpsPolicy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddHsts | AddHsts(p1,p2) | static IServiceCollection AddHsts(IServiceCollection services, Action<HstsOptions> configureOptions) |
HttpLoggingBuilderExtensions class static
Microsoft.AspNetCore.Builder.HttpLoggingBuilderExtensions · assembly Microsoft.AspNetCore.HttpLogging
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHttpLogging | UseHttpLogging(p1) | static IApplicationBuilder UseHttpLogging(IApplicationBuilder app) |
UseW3CLogging | UseW3CLogging(p1) | static IApplicationBuilder UseW3CLogging(IApplicationBuilder app) |
HttpLoggingEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.HttpLoggingEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.HttpLogging
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WithHttpLogging | WithHttpLogging([ :builder = …, :loggingFields = …, :requestBodyLogLimit = …, :responseBodyLogLimit = … ]) | static TBuilder WithHttpLogging<TBuilder>(TBuilder builder, HttpLoggingFields loggingFields, int? requestBodyLogLimit = …, int? responseBodyLogLimit = …) |
HttpMethodOverrideExtensions class static
Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions · assembly Microsoft.AspNetCore.HttpOverrides
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHttpMethodOverride | UseHttpMethodOverride(value)UseHttpMethodOverride([ :builder = … ])UseHttpMethodOverride([ :builder = …, :options = … ]) | static IApplicationBuilder UseHttpMethodOverride(IApplicationBuilder builder)static IApplicationBuilder UseHttpMethodOverride(IApplicationBuilder builder, HttpMethodOverrideOptions options) |
HttpMethodOverrideOptions class
Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions · assembly Microsoft.AspNetCore.HttpOverrides
Constructors
new HttpMethodOverrideOptions() |
Ring: new HttpMethodOverrideOptions(args) uses one constructor; the others are chosen by the parameter names: new HttpMethodOverrideOptions().@New([ :param = value ]) or dnNew("HttpMethodOverrideOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FormFieldName | string | read, write | o.FormFieldName o.FormFieldName = v |
HttpMetricsEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.HttpMetricsEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Http.Extensions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisableHttpMetrics | DisableHttpMetrics(p1) | static TBuilder DisableHttpMetrics<TBuilder>(TBuilder builder) |
HttpsPolicyBuilderExtensions class static
Microsoft.AspNetCore.Builder.HttpsPolicyBuilderExtensions · assembly Microsoft.AspNetCore.HttpsPolicy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseHttpsRedirection | UseHttpsRedirection(p1) | static IApplicationBuilder UseHttpsRedirection(IApplicationBuilder app) |
HttpsRedirectionServicesExtensions class static
Microsoft.AspNetCore.Builder.HttpsRedirectionServicesExtensions · assembly Microsoft.AspNetCore.HttpsPolicy
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddHttpsRedirection | AddHttpsRedirection(p1,p2) | static IServiceCollection AddHttpsRedirection(IServiceCollection services, Action<HttpsRedirectionOptions> configureOptions) |
HubEndpointConventionBuilder class sealed
Microsoft.AspNetCore.Builder.HubEndpointConventionBuilder · assembly Microsoft.AspNetCore.SignalR
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finalConvention) |
HubEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.HubEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.SignalR
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapHub | MapHub([ :endpoints = …, :pattern = … ])MapHub([ :endpoints = …, :pattern = …, :configureOptions = … ]) | static HubEndpointConventionBuilder MapHub<THub>(IEndpointRouteBuilder endpoints, string pattern)static HubEndpointConventionBuilder MapHub<THub>(IEndpointRouteBuilder endpoints, string pattern, Action<HttpConnectionDispatcherOptions> configureOptions) |
IApplicationBuilder interface
Microsoft.AspNetCore.Builder.IApplicationBuilder · assembly Microsoft.AspNetCore.Http.Abstractions
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ApplicationServices | IServiceProvider | read, write | o.ApplicationServices o.ApplicationServices = v |
ServerFeatures | IFeatureCollection | read | o.ServerFeatures |
Properties | IDictionary<string, object> | read | o.Properties |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | RequestDelegate Build() |
New | callMethod("New",[]) | IApplicationBuilder New() |
Use | callMethod("Use",[p1]) | IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware) |
IEndpointConventionBuilder interface
Microsoft.AspNetCore.Builder.IEndpointConventionBuilder · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finallyConvention) |
IHubEndpointConventionBuilder interface
Microsoft.AspNetCore.Builder.IHubEndpointConventionBuilder · assembly Microsoft.AspNetCore.SignalR
IISOptions class
Microsoft.AspNetCore.Builder.IISOptions · assembly Microsoft.AspNetCore.Server.IISIntegration
Constructors
new IISOptions() |
Ring: new IISOptions(args) uses one constructor; the others are chosen by the parameter names: new IISOptions().@New([ :param = value ]) or dnNew("IISOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AutomaticAuthentication | bool | read, write | o.AutomaticAuthentication o.AutomaticAuthentication = v |
AuthenticationDisplayName | string | read, write | o.AuthenticationDisplayName o.AuthenticationDisplayName = v |
ForwardClientCertificate | bool | read, write | o.ForwardClientCertificate o.ForwardClientCertificate = v |
IISServerOptions class
Microsoft.AspNetCore.Builder.IISServerOptions · assembly Microsoft.AspNetCore.Server.IIS
Constructors
new IISServerOptions() |
Ring: new IISServerOptions(args) uses one constructor; the others are chosen by the parameter names: new IISServerOptions().@New([ :param = value ]) or dnNew("IISServerOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AllowSynchronousIO | bool | read, write | o.AllowSynchronousIO o.AllowSynchronousIO = v |
AutomaticAuthentication | bool | read, write | o.AutomaticAuthentication o.AutomaticAuthentication = v |
AuthenticationDisplayName | string | read, write | o.AuthenticationDisplayName o.AuthenticationDisplayName = v |
MaxRequestBodyBufferSize | int | read, write | o.MaxRequestBodyBufferSize o.MaxRequestBodyBufferSize = v |
MaxRequestBodySize | long? | read, write | o.MaxRequestBodySize o.MaxRequestBodySize = v |
MapExtensions class static
Microsoft.AspNetCore.Builder.MapExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Map | Map([ :app = …, :pathMatch = …, :configuration = … ])Map([ :app = …, :pathMatch = …, :preserveMatchedPathSegment = …, :configuration = … ]) | static IApplicationBuilder Map(IApplicationBuilder app, string pathMatch, Action<IApplicationBuilder> configuration)static IApplicationBuilder Map(IApplicationBuilder app, PathString pathMatch, Action<IApplicationBuilder> configuration)static IApplicationBuilder Map(IApplicationBuilder app, PathString pathMatch, bool preserveMatchedPathSegment, Action<IApplicationBuilder> configuration) |
MapRouteRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.MapRouteRouteBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapRoute | MapRoute([ :routeBuilder = …, :name = …, :template = … ])MapRoute([ :routeBuilder = …, :name = …, :template = …, :defaults = … ])MapRoute([ :routeBuilder = …, :name = …, :template = …, :defaults = …, :constraints = … ])MapRoute([ :routeBuilder = …, :name = …, :template = …, :defaults = …, :constraints = …, :dataTokens = … ]) | static IRouteBuilder MapRoute(IRouteBuilder routeBuilder, string name, string template)static IRouteBuilder MapRoute(IRouteBuilder routeBuilder, string name, string template, object defaults)static IRouteBuilder MapRoute(IRouteBuilder routeBuilder, string name, string template, object defaults, object constraints)static IRouteBuilder MapRoute(IRouteBuilder routeBuilder, string name, string template, object defaults, object constraints, object dataTokens) |
MapWhenExtensions class static
Microsoft.AspNetCore.Builder.MapWhenExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapWhen | MapWhen(p1,p2,p3) | static IApplicationBuilder MapWhen(IApplicationBuilder app, Func<HttpContext, bool> predicate, Action<IApplicationBuilder> configuration) |
MvcApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.MvcApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Core
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseMvc | UseMvc(value)UseMvc([ :app = … ])UseMvc([ :app = …, :configureRoutes = … ]) | static IApplicationBuilder UseMvc(IApplicationBuilder app)static IApplicationBuilder UseMvc(IApplicationBuilder app, Action<IRouteBuilder> configureRoutes) |
UseMvcWithDefaultRoute | UseMvcWithDefaultRoute(p1) | static IApplicationBuilder UseMvcWithDefaultRoute(IApplicationBuilder app) |
MvcAreaRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.MvcAreaRouteBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.Core
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapAreaRoute | MapAreaRoute([ :routeBuilder = …, :name = …, :areaName = …, :template = … ])MapAreaRoute([ :routeBuilder = …, :name = …, :areaName = …, :template = …, :defaults = … ])MapAreaRoute([ :routeBuilder = …, :name = …, :areaName = …, :template = …, :defaults = …, :constraints = … ])MapAreaRoute([ :routeBuilder = …, :name = …, :areaName = …, :template = …, :defaults = …, :constraints = …, :dataTokens = … ]) | static IRouteBuilder MapAreaRoute(IRouteBuilder routeBuilder, string name, string areaName, string template)static IRouteBuilder MapAreaRoute(IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults)static IRouteBuilder MapAreaRoute(IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults, object constraints)static IRouteBuilder MapAreaRoute(IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults, object constraints, object dataTokens) |
OutputCacheApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.OutputCacheApplicationBuilderExtensions · assembly Microsoft.AspNetCore.OutputCaching
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseOutputCache | UseOutputCache(p1) | static IApplicationBuilder UseOutputCache(IApplicationBuilder app) |
PageActionEndpointConventionBuilder class sealed
Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder · assembly Microsoft.AspNetCore.Mvc.RazorPages
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finalConvention) |
PageActionEndpointConventionBuilderResourceCollectionExtensions class static
Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilderResourceCollectionExtensions · assembly Microsoft.AspNetCore.Mvc.RazorPages
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WithStaticAssets | WithStaticAssets([ :builder = …, :manifestPath = … ]) | static PageActionEndpointConventionBuilder WithStaticAssets(PageActionEndpointConventionBuilder builder, string manifestPath = …) |
RateLimiterApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.RateLimiterApplicationBuilderExtensions · assembly Microsoft.AspNetCore.RateLimiting
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRateLimiter | UseRateLimiter(value)UseRateLimiter([ :app = … ])UseRateLimiter([ :app = …, :options = … ]) | static IApplicationBuilder UseRateLimiter(IApplicationBuilder app)static IApplicationBuilder UseRateLimiter(IApplicationBuilder app, RateLimiterOptions options) |
RateLimiterEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RateLimiterEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.RateLimiting
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisableRateLimiting | DisableRateLimiting(p1) | static TBuilder DisableRateLimiting<TBuilder>(TBuilder builder) |
RequireRateLimiting | RequireRateLimiting(p1,p2) | static TBuilder RequireRateLimiting<TBuilder>(TBuilder builder, string policyName)static TBuilder RequireRateLimiting<TBuilder, TPartitionKey>(TBuilder builder, IRateLimiterPolicy<TPartitionKey> policy) |
RateLimiterServiceCollectionExtensions class static
Microsoft.AspNetCore.Builder.RateLimiterServiceCollectionExtensions · assembly Microsoft.AspNetCore.RateLimiting
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddRateLimiter | AddRateLimiter(value)AddRateLimiter([ :services = … ])AddRateLimiter([ :services = …, :configureOptions = … ]) | static IServiceCollection AddRateLimiter(IServiceCollection services, Action<RateLimiterOptions> configureOptions)static IServiceCollection AddRateLimiter(IServiceCollection services) |
RazorComponentsEndpointConventionBuilder class sealed
Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder · assembly Microsoft.AspNetCore.Components.Endpoints
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finallyConvention) |
RazorComponentsEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Components.Endpoints
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddAdditionalAssemblies | AddAdditionalAssemblies(p1,p2) | static RazorComponentsEndpointConventionBuilder AddAdditionalAssemblies(RazorComponentsEndpointConventionBuilder builder, Assembly[] assemblies) |
WithStaticAssets | WithStaticAssets([ :builder = …, :manifestPath = … ]) | static RazorComponentsEndpointConventionBuilder WithStaticAssets(RazorComponentsEndpointConventionBuilder builder, string manifestPath = …) |
RazorComponentsEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.RazorComponentsEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Components.Endpoints
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapRazorComponents | MapRazorComponents(value)MapRazorComponents([ :endpoints = … ]) | static RazorComponentsEndpointConventionBuilder MapRazorComponents<TRootComponent>(IEndpointRouteBuilder endpoints) |
RazorPagesEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.Mvc.RazorPages
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapDynamicPageRoute | MapDynamicPageRoute([ :endpoints = …, :pattern = … ])MapDynamicPageRoute([ :endpoints = …, :pattern = …, :state = … ])MapDynamicPageRoute([ :endpoints = …, :pattern = …, :state = …, :order = … ]) | static void MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern)static void MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern, object state)static void MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder endpoints, string pattern, object state, int order) |
MapFallbackToAreaPage | MapFallbackToAreaPage([ :endpoints = …, :page = …, :area = … ])MapFallbackToAreaPage([ :endpoints = …, :pattern = …, :page = …, :area = … ]) | static IEndpointConventionBuilder MapFallbackToAreaPage(IEndpointRouteBuilder endpoints, string page, string area)static IEndpointConventionBuilder MapFallbackToAreaPage(IEndpointRouteBuilder endpoints, string pattern, string page, string area) |
MapFallbackToPage | MapFallbackToPage([ :endpoints = …, :page = … ])MapFallbackToPage([ :endpoints = …, :pattern = …, :page = … ]) | static IEndpointConventionBuilder MapFallbackToPage(IEndpointRouteBuilder endpoints, string page)static IEndpointConventionBuilder MapFallbackToPage(IEndpointRouteBuilder endpoints, string pattern, string page) |
MapRazorPages | MapRazorPages(p1) | static PageActionEndpointConventionBuilder MapRazorPages(IEndpointRouteBuilder endpoints) |
RequestDecompressionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RequestDecompressionBuilderExtensions · assembly Microsoft.AspNetCore.RequestDecompression
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRequestDecompression | UseRequestDecompression(p1) | static IApplicationBuilder UseRequestDecompression(IApplicationBuilder builder) |
RequestLocalizationOptions class
Microsoft.AspNetCore.Builder.RequestLocalizationOptions · assembly Microsoft.AspNetCore.Localization
Constructors
new RequestLocalizationOptions() |
Ring: new RequestLocalizationOptions(args) uses one constructor; the others are chosen by the parameter names: new RequestLocalizationOptions().@New([ :param = value ]) or dnNew("RequestLocalizationOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CultureInfoUseUserOverride | bool | read, write | o.CultureInfoUseUserOverride o.CultureInfoUseUserOverride = v |
DefaultRequestCulture | RequestCulture | read, write | o.DefaultRequestCulture o.DefaultRequestCulture = v |
FallBackToParentCultures | bool | read, write | o.FallBackToParentCultures o.FallBackToParentCultures = v |
FallBackToParentUICultures | bool | read, write | o.FallBackToParentUICultures o.FallBackToParentUICultures = v |
ApplyCurrentCultureToResponseHeaders | bool | read, write | o.ApplyCurrentCultureToResponseHeaders o.ApplyCurrentCultureToResponseHeaders = v |
SupportedCultures | IList<CultureInfo> | read, write | o.SupportedCultures o.SupportedCultures = v |
SupportedUICultures | IList<CultureInfo> | read, write | o.SupportedUICultures o.SupportedUICultures = v |
RequestCultureProviders | IList<IRequestCultureProvider> | read, write | o.RequestCultureProviders o.RequestCultureProviders = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddSupportedCultures | callMethod("AddSupportedCultures",[p1]) | RequestLocalizationOptions AddSupportedCultures(string[] cultures) |
AddSupportedUICultures | callMethod("AddSupportedUICultures",[p1]) | RequestLocalizationOptions AddSupportedUICultures(string[] uiCultures) |
SetDefaultCulture | callMethod("SetDefaultCulture",[p1]) | RequestLocalizationOptions SetDefaultCulture(string defaultCulture) |
RequestLocalizationOptionsExtensions class static
Microsoft.AspNetCore.Builder.RequestLocalizationOptionsExtensions · assembly Microsoft.AspNetCore.Localization
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddInitialRequestCultureProvider | AddInitialRequestCultureProvider(p1,p2) | static RequestLocalizationOptions AddInitialRequestCultureProvider(RequestLocalizationOptions requestLocalizationOptions, RequestCultureProvider requestCultureProvider) |
RequestTimeoutsIApplicationBuilderExtensions class static
Microsoft.AspNetCore.Builder.RequestTimeoutsIApplicationBuilderExtensions · assembly Microsoft.AspNetCore.Http
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRequestTimeouts | UseRequestTimeouts(p1) | static IApplicationBuilder UseRequestTimeouts(IApplicationBuilder builder) |
RequestTimeoutsIEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RequestTimeoutsIEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Http
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisableRequestTimeout | DisableRequestTimeout(p1) | static IEndpointConventionBuilder DisableRequestTimeout(IEndpointConventionBuilder builder) |
WithRequestTimeout | WithRequestTimeout(p1,p2) | static IEndpointConventionBuilder WithRequestTimeout(IEndpointConventionBuilder builder, TimeSpan timeout)static IEndpointConventionBuilder WithRequestTimeout(IEndpointConventionBuilder builder, string policyName)static IEndpointConventionBuilder WithRequestTimeout(IEndpointConventionBuilder builder, RequestTimeoutPolicy policy) |
ResponseCachingExtensions class static
Microsoft.AspNetCore.Builder.ResponseCachingExtensions · assembly Microsoft.AspNetCore.ResponseCaching
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseResponseCaching | UseResponseCaching(p1) | static IApplicationBuilder UseResponseCaching(IApplicationBuilder app) |
ResponseCompressionBuilderExtensions class static
Microsoft.AspNetCore.Builder.ResponseCompressionBuilderExtensions · assembly Microsoft.AspNetCore.ResponseCompression
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseResponseCompression | UseResponseCompression(p1) | static IApplicationBuilder UseResponseCompression(IApplicationBuilder builder) |
ResponseCompressionServicesExtensions class static
Microsoft.AspNetCore.Builder.ResponseCompressionServicesExtensions · assembly Microsoft.AspNetCore.ResponseCompression
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddResponseCompression | AddResponseCompression(value)AddResponseCompression([ :services = … ])AddResponseCompression([ :services = …, :configureOptions = … ]) | static IServiceCollection AddResponseCompression(IServiceCollection services)static IServiceCollection AddResponseCompression(IServiceCollection services, Action<ResponseCompressionOptions> configureOptions) |
RewriteBuilderExtensions class static
Microsoft.AspNetCore.Builder.RewriteBuilderExtensions · assembly Microsoft.AspNetCore.Rewrite
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRewriter | UseRewriter(value)UseRewriter([ :app = … ])UseRewriter([ :app = …, :options = … ]) | static IApplicationBuilder UseRewriter(IApplicationBuilder app)static IApplicationBuilder UseRewriter(IApplicationBuilder app, RewriteOptions options) |
RouteHandlerBuilder class sealed
Microsoft.AspNetCore.Builder.RouteHandlerBuilder · assembly Microsoft.AspNetCore.Routing
Constructors
new RouteHandlerBuilder(IEnumerable<IEndpointConventionBuilder> endpointConventionBuilders) |
Ring: new RouteHandlerBuilder(args) uses one constructor; the others are chosen by the parameter names: new RouteHandlerBuilder().@New([ :param = value ]) or dnNew("RouteHandlerBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Action<EndpointBuilder> convention) |
Finally | Finally(p1) | void Finally(Action<EndpointBuilder> finalConvention) |
RouterMiddleware class
Microsoft.AspNetCore.Builder.RouterMiddleware · assembly Microsoft.AspNetCore.Routing
Constructors
new RouterMiddleware(RequestDelegate next, ILoggerFactory loggerFactory, IRouter router) |
Ring: new RouterMiddleware(args) uses one constructor; the others are chosen by the parameter names: new RouterMiddleware().@New([ :param = value ]) or dnNew("RouterMiddleware",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Invoke | callMethod("Invoke",[p1]) | Task Invoke(HttpContext httpContext) |
RouteShortCircuitEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RouteShortCircuitEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ShortCircuit | ShortCircuit([ :builder = …, :statusCode = … ]) | static IEndpointConventionBuilder ShortCircuit(IEndpointConventionBuilder builder, int? statusCode = …) |
RoutingBuilderExtensions class static
Microsoft.AspNetCore.Builder.RoutingBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseRouter | UseRouter(p1,p2) | static IApplicationBuilder UseRouter(IApplicationBuilder builder, IRouter router)static IApplicationBuilder UseRouter(IApplicationBuilder builder, Action<IRouteBuilder> action) |
RoutingEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Routing
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DisableAntiforgery | DisableAntiforgery(p1) | static TBuilder DisableAntiforgery<TBuilder>(TBuilder builder) |
RequireHost | RequireHost(p1,p2) | static TBuilder RequireHost<TBuilder>(TBuilder builder, string[] hosts) |
WithDisplayName | WithDisplayName(p1,p2) | static TBuilder WithDisplayName<TBuilder>(TBuilder builder, string displayName)static TBuilder WithDisplayName<TBuilder>(TBuilder builder, Func<EndpointBuilder, string> func) |
WithFormMappingOptions | WithFormMappingOptions([ :builder = …, :maxCollectionSize = …, :maxRecursionDepth = …, :maxKeySize = … ]) | static TBuilder WithFormMappingOptions<TBuilder>(TBuilder builder, int? maxCollectionSize = …, int? maxRecursionDepth = …, int? maxKeySize = …) |
WithFormOptions | WithFormOptions([ :builder = …, :bufferBody = …, :memoryBufferThreshold = …, :bufferBodyLengthLimit = …, :valueCountLimit = …, :keyLengthLimit = …, :valueLengthLimit = …, :multipartBoundaryLengthLimit = …, :multipartHeadersCountLimit = …, :multipartHeadersLengthLimit = …, :multipartBodyLengthLimit = … ]) | static TBuilder WithFormOptions<TBuilder>(TBuilder builder, bool? bufferBody = …, int? memoryBufferThreshold = …, long? bufferBodyLengthLimit = …, int? valueCountLimit = …, int? keyLengthLimit = …, int? valueLengthLimit = …, int? multipartBoundaryLengthLimit = …, int? multipartHeadersCountLimit = …, int? multipartHeadersLengthLimit = …, long? multipartBodyLengthLimit = …) |
WithGroupName | WithGroupName(p1,p2) | static TBuilder WithGroupName<TBuilder>(TBuilder builder, string endpointGroupName) |
WithMetadata | WithMetadata(p1,p2) | static TBuilder WithMetadata<TBuilder>(TBuilder builder, object[] items) |
WithName | WithName(p1,p2) | static TBuilder WithName<TBuilder>(TBuilder builder, string endpointName) |
WithOrder | WithOrder(p1,p2) | static TBuilder WithOrder<TBuilder>(TBuilder builder, int order) |
RunExtensions class static
Microsoft.AspNetCore.Builder.RunExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Run | Run(p1,p2) | static void Run(IApplicationBuilder app, RequestDelegate handler) |
ServerRazorComponentsEndpointConventionBuilderExtensions class static
Microsoft.AspNetCore.Builder.ServerRazorComponentsEndpointConventionBuilderExtensions · assembly Microsoft.AspNetCore.Components.Server
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddInteractiveServerRenderMode | AddInteractiveServerRenderMode(value)AddInteractiveServerRenderMode([ :builder = … ])AddInteractiveServerRenderMode([ :builder = …, :configure = … ]) | static RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder builder)static RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder builder, Action<ServerComponentsEndpointOptions> configure) |
SessionMiddlewareExtensions class static
Microsoft.AspNetCore.Builder.SessionMiddlewareExtensions · assembly Microsoft.AspNetCore.Session
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseSession | UseSession(value)UseSession([ :app = … ])UseSession([ :app = …, :options = … ]) | static IApplicationBuilder UseSession(IApplicationBuilder app)static IApplicationBuilder UseSession(IApplicationBuilder app, SessionOptions options) |
SessionOptions class
Microsoft.AspNetCore.Builder.SessionOptions · assembly Microsoft.AspNetCore.Session
Constructors
new SessionOptions() |
Ring: new SessionOptions(args) uses one constructor; the others are chosen by the parameter names: new SessionOptions().@New([ :param = value ]) or dnNew("SessionOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Cookie | CookieBuilder | read, write | o.Cookie o.Cookie = v |
IdleTimeout | TimeSpan | read, write | o.IdleTimeout o.IdleTimeout = v |
IOTimeout | TimeSpan | read, write | o.IOTimeout o.IOTimeout = v |
StaticAssetsEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.StaticAssetsEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.StaticAssets
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapStaticAssets | MapStaticAssets([ :endpoints = …, :staticAssetsManifestPath = … ]) | static StaticAssetsEndpointConventionBuilder MapStaticAssets(IEndpointRouteBuilder endpoints, string staticAssetsManifestPath = …) |
StaticFileExtensions class static
Microsoft.AspNetCore.Builder.StaticFileExtensions · assembly Microsoft.AspNetCore.StaticFiles
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseStaticFiles | UseStaticFiles(value)UseStaticFiles([ :app = … ])UseStaticFiles([ :app = …, :requestPath = … ])UseStaticFiles([ :app = …, :options = … ]) | static IApplicationBuilder UseStaticFiles(IApplicationBuilder app)static IApplicationBuilder UseStaticFiles(IApplicationBuilder app, string requestPath)static IApplicationBuilder UseStaticFiles(IApplicationBuilder app, StaticFileOptions options) |
StaticFileOptions class · extends SharedOptionsBase
Microsoft.AspNetCore.Builder.StaticFileOptions · assembly Microsoft.AspNetCore.StaticFiles
Constructors
new StaticFileOptions() |
new StaticFileOptions(SharedOptions sharedOptions) |
Ring: new StaticFileOptions(args) uses one constructor; the others are chosen by the parameter names: new StaticFileOptions().@New([ :param = value ]) or dnNew("StaticFileOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ContentTypeProvider | IContentTypeProvider | read, write | o.ContentTypeProvider o.ContentTypeProvider = v |
DefaultContentType | string | read, write | o.DefaultContentType o.DefaultContentType = v |
ServeUnknownFileTypes | bool | read, write | o.ServeUnknownFileTypes o.ServeUnknownFileTypes = v |
HttpsCompression | HttpsCompressionMode | read, write | o.HttpsCompression o.HttpsCompression = v |
OnPrepareResponse | Action<StaticFileResponseContext> | read, write | o.OnPrepareResponse o.OnPrepareResponse = v |
OnPrepareResponseAsync | Func<StaticFileResponseContext, Task> | read, write | o.OnPrepareResponseAsync o.OnPrepareResponseAsync = v |
RequestPath | PathString | read, write | o.RequestPath o.RequestPath = v |
FileProvider | IFileProvider | read, write | o.FileProvider o.FileProvider = v |
RedirectToAppendTrailingSlash | bool | read, write | o.RedirectToAppendTrailingSlash o.RedirectToAppendTrailingSlash = v |
Members of the base class are inherited.
StaticFilesEndpointRouteBuilderExtensions class static
Microsoft.AspNetCore.Builder.StaticFilesEndpointRouteBuilderExtensions · assembly Microsoft.AspNetCore.StaticFiles
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
MapFallbackToFile | MapFallbackToFile([ :endpoints = …, :filePath = … ])MapFallbackToFile([ :endpoints = …, :filePath = …, :options = … ])MapFallbackToFile([ :endpoints = …, :pattern = …, :filePath = … ])MapFallbackToFile([ :endpoints = …, :pattern = …, :filePath = …, :options = … ]) | static IEndpointConventionBuilder MapFallbackToFile(IEndpointRouteBuilder endpoints, string filePath)static IEndpointConventionBuilder MapFallbackToFile(IEndpointRouteBuilder endpoints, string filePath, StaticFileOptions options)static IEndpointConventionBuilder MapFallbackToFile(IEndpointRouteBuilder endpoints, string pattern, string filePath)static IEndpointConventionBuilder MapFallbackToFile(IEndpointRouteBuilder endpoints, string pattern, string filePath, StaticFileOptions options) |
StatusCodePagesExtensions class static
Microsoft.AspNetCore.Builder.StatusCodePagesExtensions · assembly Microsoft.AspNetCore.Diagnostics
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseStatusCodePages | UseStatusCodePages(value)UseStatusCodePages([ :app = … ])UseStatusCodePages([ :app = …, :options = … ])UseStatusCodePages([ :app = …, :handler = … ])UseStatusCodePages([ :app = …, :configuration = … ]) | static IApplicationBuilder UseStatusCodePages(IApplicationBuilder app, StatusCodePagesOptions options)static IApplicationBuilder UseStatusCodePages(IApplicationBuilder app)static IApplicationBuilder UseStatusCodePages(IApplicationBuilder app, Func<StatusCodeContext, Task> handler)static IApplicationBuilder UseStatusCodePages(IApplicationBuilder app, string contentType, string bodyFormat)static IApplicationBuilder UseStatusCodePages(IApplicationBuilder app, Action<IApplicationBuilder> configuration) |
UseStatusCodePagesWithRedirects | UseStatusCodePagesWithRedirects(p1,p2) | static IApplicationBuilder UseStatusCodePagesWithRedirects(IApplicationBuilder app, string locationFormat) |
UseStatusCodePagesWithReExecute | UseStatusCodePagesWithReExecute([ :app = …, :pathFormat = …, :queryFormat = … ]) | static IApplicationBuilder UseStatusCodePagesWithReExecute(IApplicationBuilder app, string pathFormat, string queryFormat = …) |
StatusCodePagesOptions class
Microsoft.AspNetCore.Builder.StatusCodePagesOptions · assembly Microsoft.AspNetCore.Diagnostics
Constructors
new StatusCodePagesOptions() |
Ring: new StatusCodePagesOptions(args) uses one constructor; the others are chosen by the parameter names: new StatusCodePagesOptions().@New([ :param = value ]) or dnNew("StatusCodePagesOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HandleAsync | Func<StatusCodeContext, Task> | read, write | o.HandleAsync o.HandleAsync = v |
UseExtensions class static
Microsoft.AspNetCore.Builder.UseExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Use | Use(p1,p2) | static IApplicationBuilder Use(IApplicationBuilder app, Func<HttpContext, Func<Task>, Task> middleware)static IApplicationBuilder Use(IApplicationBuilder app, Func<HttpContext, RequestDelegate, Task> middleware) |
UseMiddlewareExtensions class static
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseMiddleware | UseMiddleware([ :app = …, :args = … ])UseMiddleware([ :app = …, :middleware = …, :args = … ]) | static IApplicationBuilder UseMiddleware<TMiddleware>(IApplicationBuilder app, object[] args)static IApplicationBuilder UseMiddleware(IApplicationBuilder app, Type middleware, object[] args) |
UsePathBaseExtensions class static
Microsoft.AspNetCore.Builder.UsePathBaseExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UsePathBase | UsePathBase(p1,p2) | static IApplicationBuilder UsePathBase(IApplicationBuilder app, PathString pathBase) |
UseWhenExtensions class static
Microsoft.AspNetCore.Builder.UseWhenExtensions · assembly Microsoft.AspNetCore.Http.Abstractions
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseWhen | UseWhen(p1,p2,p3) | static IApplicationBuilder UseWhen(IApplicationBuilder app, Func<HttpContext, bool> predicate, Action<IApplicationBuilder> configuration) |
WebApplication class sealed
Microsoft.AspNetCore.Builder.WebApplication · assembly Microsoft.AspNetCore
Implements: IDisposable, IAsyncDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Services | IServiceProvider | read | o.Services |
Configuration | IConfiguration | read | o.Configuration |
Environment | IWebHostEnvironment | read | o.Environment |
Lifetime | IHostApplicationLifetime | read | o.Lifetime |
Logger | ILogger | read | o.Logger |
Urls | ICollection<string> | read | o.Urls |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(value)Create([ :args = … ]) | static WebApplication Create(string[] args = …) |
CreateBuilder | CreateBuilder(NULL)CreateBuilder(value)CreateBuilder([ :args = … ])CreateBuilder([ :options = … ]) | static WebApplicationBuilder CreateBuilder()static WebApplicationBuilder CreateBuilder(string[] args)static WebApplicationBuilder CreateBuilder(WebApplicationOptions options) |
CreateEmptyBuilder | CreateEmptyBuilder(p1) | static WebApplicationBuilder CreateEmptyBuilder(WebApplicationOptions options) |
CreateSlimBuilder | CreateSlimBuilder(NULL)CreateSlimBuilder(value)CreateSlimBuilder([ :args = … ])CreateSlimBuilder([ :options = … ]) | static WebApplicationBuilder CreateSlimBuilder()static WebApplicationBuilder CreateSlimBuilder(string[] args)static WebApplicationBuilder CreateSlimBuilder(WebApplicationOptions options) |
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
Run | callMethod("Run",[p1]) | void Run(string url = …) |
RunAsync | RunAsync(value)RunAsync([ :url = … ]) | Task RunAsync(string url = …) |
StartAsync | StartAsync(value)StartAsync([ :cancellationToken = … ]) | Task StartAsync(CancellationToken cancellationToken = …) |
StopAsync | StopAsync(value)StopAsync([ :cancellationToken = … ]) | Task StopAsync(CancellationToken cancellationToken = …) |
Use | callMethod("Use",[p1]) | IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware) |
WebApplicationBuilder class sealed
Microsoft.AspNetCore.Builder.WebApplicationBuilder · assembly Microsoft.AspNetCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Environment | IWebHostEnvironment | read | o.Environment |
Services | IServiceCollection | read | o.Services |
Configuration | ConfigurationManager | read | o.Configuration |
Logging | ILoggingBuilder | read | o.Logging |
Metrics | IMetricsBuilder | read | o.Metrics |
WebHost | ConfigureWebHostBuilder | read | o.WebHost |
Host | ConfigureHostBuilder | read | o.Host |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | WebApplication Build() |
WebApplicationOptions class
Microsoft.AspNetCore.Builder.WebApplicationOptions · assembly Microsoft.AspNetCore
Constructors
new WebApplicationOptions() |
Ring: new WebApplicationOptions(args) uses one constructor; the others are chosen by the parameter names: new WebApplicationOptions().@New([ :param = value ]) or dnNew("WebApplicationOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Args | string[] | read, write | o.Args o.Args = v |
EnvironmentName | string | read, write | o.EnvironmentName o.EnvironmentName = v |
ApplicationName | string | read, write | o.ApplicationName o.ApplicationName = v |
ContentRootPath | string | read, write | o.ContentRootPath o.ContentRootPath = v |
WebRootPath | string | read, write | o.WebRootPath o.WebRootPath = v |
WebSocketMiddlewareExtensions class static
Microsoft.AspNetCore.Builder.WebSocketMiddlewareExtensions · assembly Microsoft.AspNetCore.WebSockets
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseWebSockets | UseWebSockets(value)UseWebSockets([ :app = … ])UseWebSockets([ :app = …, :options = … ]) | static IApplicationBuilder UseWebSockets(IApplicationBuilder app)static IApplicationBuilder UseWebSockets(IApplicationBuilder app, WebSocketOptions options) |
WebSocketOptions class
Microsoft.AspNetCore.Builder.WebSocketOptions · assembly Microsoft.AspNetCore.WebSockets
Constructors
new WebSocketOptions() |
Ring: new WebSocketOptions(args) uses one constructor; the others are chosen by the parameter names: new WebSocketOptions().@New([ :param = value ]) or dnNew("WebSocketOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
KeepAliveInterval | TimeSpan | read, write | o.KeepAliveInterval o.KeepAliveInterval = v |
KeepAliveTimeout | TimeSpan | read, write | o.KeepAliveTimeout o.KeepAliveTimeout = v |
ReceiveBufferSize | int | read, write | o.ReceiveBufferSize o.ReceiveBufferSize = v |
AllowedOrigins | IList<string> | read | o.AllowedOrigins |
WelcomePageExtensions class static
Microsoft.AspNetCore.Builder.WelcomePageExtensions · assembly Microsoft.AspNetCore.Diagnostics
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UseWelcomePage | UseWelcomePage(value)UseWelcomePage([ :app = … ])UseWelcomePage([ :app = …, :options = … ])UseWelcomePage([ :app = …, :path = … ]) | static IApplicationBuilder UseWelcomePage(IApplicationBuilder app, WelcomePageOptions options)static IApplicationBuilder UseWelcomePage(IApplicationBuilder app, PathString path)static IApplicationBuilder UseWelcomePage(IApplicationBuilder app, string path)static IApplicationBuilder UseWelcomePage(IApplicationBuilder app) |
WelcomePageOptions class
Microsoft.AspNetCore.Builder.WelcomePageOptions · assembly Microsoft.AspNetCore.Diagnostics
Constructors
new WelcomePageOptions() |
Ring: new WelcomePageOptions(args) uses one constructor; the others are chosen by the parameter names: new WelcomePageOptions().@New([ :param = value ]) or dnNew("WelcomePageOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Path | PathString | read, write | o.Path o.Path = v |