Can we route css and js file in asp.net mvc?
I want to add some rule in route.config file
css file is coming like below from document viewer
and i want some kind of rule which is like this
routes.MapRoute("/documents/resources/{resource}.ashx/{*pathInfo}", "{resource}.ashx/{*pathInfo}");
means, documents/resources/{resource}.ashx/{*pathInfo}" redirect to /resource.ashx/636598219420000000/du/viewer.css

Disha RavalRank #1,382 · 1.2K reputationPosted Jun 8, 2018, 1:20 AM EDT