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


Comments

Popular posts from this blog

How to Fix "JsonReaderException: '}' is invalid after a single JSON valu...

ASP NET Core 3 1 Build a Complete MVC ToDo List Application Part 11

A Simple ML.NET Linear Regression Machine Learning Application