Bundle file location in ASP.NET MVC

2019-02-06 04:29发布

Where are the generated bundle files placed?

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

2条回答
贼婆χ
2楼-- · 2019-02-06 04:32

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).

查看更多
我命由我不由天
3楼-- · 2019-02-06 04:56

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

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

查看更多
登录 后发表回答