ASP.Net MVC 3 accessing CSS, JS files from separate DLL
I'm following this link, compile razor files into separate dll , and can get it to work except I can't figure out how to access JavaScript, CSS, and Images embedded in the dll. Has anyone used this approach? It seems very promising. Thanks. The technique presented in this article is for embedding razor views into separate assemblies. It doesn't allow you to do so with static resources such as images, js and CSS. For those type of resources you will have to implement a custom solution. For example you could write a controller which, given a resource name, could read it from the assembly (