Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/528e90da889348cd4e5256e98d1f3d45 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/528e90da889348cd4e5256e98d1f3d45 to your computer and use it in GitHub Desktop.
Dummy Middleware Extension
// Extension method used to add the middleware to the HTTP request pipeline.
public static class DummyCookieMiddlewareExtensions
{
public static IApplicationBuilder UseDummyCookieMiddleware(this IApplicationBuilder builder)
{
return builder.UseMiddleware<DummyCookieMiddleware>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment