Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Is there a filter for static file request?

$
0
0

is there a way to intercept or filter the request before serving the file? like if i request 

localhost:5000/images/random.jpg?w=100&h=100

so i can get the random.jpg the w and the h, then return it as an image

i tried intercepting it using MapRoute and it doesn't work when i use app.UseStaticFiles();


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>