0

I have a requirement where i want application to load all css and js file from a share directory, i researched and found that bundle config includes directory from virtual application path only, so is there any way i can load it from external drives or folder? Or is there anything else i can use to meet my requirement. i need something like this

  StyleBundle scriptBundleshare = new StyleBundle("\\diectory\folder");     

  scriptBundleshare.IncludeDirectory(pathToshare, "*.css");
  bundles.Add(scriptBundleshare.OrdinalPositionOrdered());

1 Answers1

0

You can read directory all file name then iterator loop And Create Html tag One StringBuffer or any Other Way And Print Html File

Bhadresh Shiroya
  • 261
  • 3
  • 13