简体   繁体   中英

Pre Compiled Views in ASP.NET MVC & JS files

We are using plug-in approach for module development in asp.net MVC. We use pre compiled view approach for each module and is added as separate web project and referred by main web project. only main web project is deployed in IIS.

My Question - all modules are using TELERIK (kendo UI) for UI development so I have to keep same js and css files in each modules. can I keep them at one place and all projects of my solution can refer it.

Maybe you could add them via a NuGet package in each module? That way Kendo UI isn't in your version control at all and is fetched on build.

https://www.nuget.org/packages?q=Kendo+UI

Or refer to the files on a CDN from within each module?

http://docs.telerik.com/kendo-ui/install/cdn

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM