Created
March 3, 2017 15:11
-
-
Save ajamaeen/c77f4b6acff1b736b2a502e0f2f89aab to your computer and use it in GitHub Desktop.
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 static class ImageMiddlewareExtensions | |
{ | |
public static IApplicationBuilder | |
UseImageMiddleware(this IApplicationBuilder builder, string path) | |
{ | |
builder.UseMiddleware(typeof(ImageMiddleware), path); | |
return builder; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment