I would like to create a dynamic thumbnail editor so that you can use the following URL to get the modified image:
http:
I tried to configure the route as follows:
routes.MapRoute(null, "{filename}", new { controller = "Image", action = "Resize" });
But if the file exists in the URL, ASP.NET bypasses the routing and instead returns only the file to you. How to force ASP.NET to route images instead of returning what is on disk?
c # url-routing asp.net-routing
Daniel T.
source share