Pre Compiled Views in ASP.NET MVC & JS files

218 views Asked by At

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.

1

There are 1 answers

3
Daniel Edholm Ignat On

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