ASP NET Core 3 1 Create a Custom Middleware
In this part, we discuss the way a custom middleware is built as an inline middleware using request delegate.
This lecture shows the use of an anonymous method to create a chain of simple request delegates with httpcontext object together with Use extension method.
The next parameter represents the next delegate in the pipeline. You can short-circuit the pipeline by not calling the next parameter.
#aspnetcore31 #chainrequestdelegates #inlinemiddleware #anonymousmethod #requestpipeline
This lecture shows the use of an anonymous method to create a chain of simple request delegates with httpcontext object together with Use extension method.
The next parameter represents the next delegate in the pipeline. You can short-circuit the pipeline by not calling the next parameter.
#aspnetcore31 #chainrequestdelegates #inlinemiddleware #anonymousmethod #requestpipeline
Comments
Post a Comment