Coree.NETASP
  • API
Show / Hide Table of Contents
  • Coree.NETASP.Extensions
    • HttpResponseExtensions
  • Coree.NETASP.Extensions.KestrelOptions
    • AuthenticationBuilderExtensions
    • ConfigureWebHostBuilderExtensions
    • ConfigureWebHostBuilderExtensions.ListenType
    • xExtensions
  • Coree.NETASP.Extensions.WebApplicationBuilderExtensions
    • WebAppBuilderExtensions
    • WebApplicationBuilderExtension
  • Coree.NETASP.Middleware
    • FailurePointsMiddleware
    • FailurePointsMiddlewareExtensions
    • FailurePointsMiddlewareOptions
    • RequestThrottlingMiddleware
  • Coree.NETASP.Middleware.AcceptLanguageFiltering
    • AcceptLanguageFilteringExtensions
    • AcceptLanguageFilteringMiddleware
    • AcceptLanguageFilteringOptions
  • Coree.NETASP.Middleware.DnsHostNameFiltering
    • DnsHostNameFilteringMiddleware
    • DnsHostNameFilteringMiddlewareExtensions
    • DnsHostNameFilteringOptions
  • Coree.NETASP.Middleware.HostNameFiltering
    • HostNameFilterOptions
    • HostNameFilteringExtensions
    • HostNameFilteringMiddleware
  • Coree.NETASP.Middleware.NewFolder
    • PreMiddlewareHostedService
    • WaitForPreMiddlewareHostedServiceMiddleware
    • fooExtensions
  • Coree.NETASP.Middleware.PathDeep
    • PathDeepFilteringExtensions
    • PathDeepFilteringMiddleware
    • PathDeepFilteringOptions
  • Coree.NETASP.Middleware.ProtocolFiltering
    • ProtocolFilteringMiddleware
    • ProtocolFilteringMiddlewareExtensions
    • ProtocolFilteringOptions
  • Coree.NETASP.Middleware.RequestLogging
    • RequestLoggingMiddleware
  • Coree.NETASP.Middleware.RequestUrlFiltering
    • RequestUrlFilteringExtensions
    • RequestUrlFilteringMiddleware
    • RequestUrlFilteringOptions
  • Coree.NETASP.Middleware.ResponseRecording
    • ResponseRecordingMiddleware
  • Coree.NETASP.Middleware.SegmentBlacklistFiltering
    • SegmentBlacklistFilterOptions
    • SegmentBlacklistFilteringExtensions
    • SegmentBlacklistFilteringMiddleware
  • Coree.NETASP.Middleware.UnwantedHeaderKeysFiltering
    • UnwantedHeaderKeysMiddleware
    • UnwantedHeaderKeysMiddlewareExtensions
    • UnwantedHeaderKeysOptions
  • Coree.NETASP.Middleware.UserAgentFiltering
    • UserAgentFilterOptions
    • UserAgentFilteringExtensions
    • UserAgentFilteringMiddleware
  • Coree.NETASP.Services.CertificateManager
    • CertificateManager
    • CertificateManagerService
    • CommonDistinguishedNameBuilder
    • DistinguishedName
    • ICertificateManagerService
  • Coree.NETASP.Services.CookieAuth
    • AuthExtensions
    • CookieAuthHandler
    • ICookieAuthHandler
  • Coree.NETASP.Services.Instancer
    • IServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer.ServerListenDetail
  • Coree.NETASP.Services.Points
    • Entry
    • IPointService
    • PointEntry
    • PointService
    • PointServiceOptions
  • Coree.NETASP.UnderConstruction
    • CustomWebApplication
    • CustomWebApplication2
    • DummyFileProvider
    • EmptyWebHostBuilder
    • EmptyWebHostBuilder2
    • EmptyWebHostBuilder3
    • EmptyWebHostBuilderx
    • ExampleClass
    • FileServerMiddleware
    • FileServerMiddlewareExtensions
    • MyWebHostBuilder
    • ObjectDumper
    • ObjectDumper2
    • ObjectDumper3
    • OptionsDumper
    • OptionsKestrelServerOptionsExtensions
    • PhpCgiExecutor
    • Product
    • PropertyAccessTracker<T>
    • ServicesDumper
    • TrackableItem<T>
    • TrackableList<T>
    • TrackableState

Class CustomWebApplication

Inheritance
object
CustomWebApplication
Implements
IApplicationBuilder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Coree.NETASP.UnderConstruction
Assembly: Coree.NETASP.dll
Syntax
public class CustomWebApplication : IApplicationBuilder

Properties

| Edit this page View Source

ApplicationServices

Gets or sets the IServiceProvider that provides access to the application's service container.

Declaration
public IServiceProvider ApplicationServices { get; set; }
Property Value
Type Description
IServiceProvider
| Edit this page View Source

Host

Declaration
public IWebHost Host { get; }
Property Value
Type Description
IWebHost
| Edit this page View Source

Properties

Gets a key/value collection that can be used to share data between middleware.

Declaration
public IDictionary<string, object?> Properties { get; }
Property Value
Type Description
IDictionary<string, object>
| Edit this page View Source

ServerFeatures

Gets the set of HTTP features the application's server provides.

Declaration
public IFeatureCollection ServerFeatures { get; }
Property Value
Type Description
IFeatureCollection
| Edit this page View Source

Srv

Declaration
public IServiceProvider Srv { get; }
Property Value
Type Description
IServiceProvider

Methods

| Edit this page View Source

Build()

Builds the delegate used by this application to process HTTP requests.

Declaration
public RequestDelegate Build()
Returns
Type Description
RequestDelegate

The request handling delegate.

| Edit this page View Source

New()

Creates a new IApplicationBuilder that shares the Properties of this IApplicationBuilder.

Declaration
public IApplicationBuilder New()
Returns
Type Description
IApplicationBuilder

The new IApplicationBuilder.

| Edit this page View Source

Run()

Declaration
public void Run()
| Edit this page View Source

Use(Func<RequestDelegate, RequestDelegate>)

Adds a middleware delegate to the application's request pipeline.

Declaration
public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
Parameters
Type Name Description
Func<RequestDelegate, RequestDelegate> middleware

The middleware delegate.

Returns
Type Description
IApplicationBuilder

The IApplicationBuilder.

Implements

IApplicationBuilder

Extension Methods

FileServerMiddlewareExtensions.UseFileServerMiddleware(IApplicationBuilder, string)
  • Edit this page
  • View Source
In this article
Back to top