Last active
July 28, 2017 02:49
-
-
Save nbarbettini/fecdeebfb93ace7c239aa79963dbe19e to your computer and use it in GitHub Desktop.
Basic ASP.NET Core middleware pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BasicMiddleware | |
{ | |
public Task Invoke(HttpContext context) | |
{ | |
// do something with context | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment