Bundle file location in ASP.NET MVC

前端 未结 2 1900
悲&欢浪女
悲&欢浪女 2020-12-31 04:16

Where are the generated bundle files placed?

 bundles.Add(new ScriptBundle(\"~/bundles/jqueryall\")
   .IncludeDirectory(\"~/scripts/\", \"*.js\", true)


        
相关标签:
2条回答
  • 2020-12-31 05:08

    They are bundled up dynamically (in Memory I assume) and served to the client being sent down to the client as a single item (you should the single JS file see it if you use fiddler of F12 => Network).

    0 讨论(0)
  • 2020-12-31 05:20

    There are no files, bundles are stored in-memory.

    Can you please explain why you expect the bundles to be files? :-)

    0 讨论(0)
提交回复
热议问题