Skip to content

Files

Latest commit

 

History

History

features

Features (11)

Features are collection of objects you can obtain from the framework at runtime that serve different purposes.

  • Server Addresses Feature

    Use this Feature to obtain a list of urls that your app is responding to.

  • Server Addresses Feature - 2

    Use IServer interface to access server addressess when you don't have access to IApplicationBuilder.

  • Request Feature

    Obtain details of a current request. It has some similarity to HttpContext.Request. They are not equal. HttpContext.Request has more properties.

  • Connection Feature

    Use IHttpConnectionFeature interface to obtain local ip/port and remote ip/port.

  • Custom Feature

    Create your own custom Feature and pass it along from a middleware.

  • Custom Feature - Override

    Shows how you can replace an implementation of a Feature with another within the request pipeline.

  • Request Culture Feature

    Use this feature to detect the culture of a web request through IRequestCultureFeature.

  • Session Feature

    Use session within your middlewares. This sample shows a basic usage of in memory session.

  • Session Feature with Redis

    Use session within your middlewares. This sample uses Redis to store session data.

  • Maximum Request Body Size Feature

    Use this feature to read and set maximum HTTP Request body size.

  • IHttpResponseBodyFeature

    This new Feature interface consolidate previous version's three response body APIs into one

dotnet8