asp.net mvc - Routing static assets -


i have folder structure organize assets serve don't want reflected in urls have. example, have

  • assets
    • css
      • bootstrap
      • less_generated
      • general
    • js
      • bootstrap
      • coffee_script_generated
      • typescript_generated
      • general

the folder structure concern me, developer, not resource address. /assets/filename.css filename.css in of listed folders may contain css files, , serve first 1 found. , equivalent .js files.

i can't find way route in mvc. routes route controller, , i'd route file resource instead, , writing controller serve static resources seems wrong, behaviour surrounding cache control headers have manually. how can accomplish this?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -