MVC Portable Areas – Static Files as Embedded Resources(geekswithblogs.net)
submitted by
crpietschmann(11.3k) 2 years, 1 month ago
This is the third post in a series related to build and deployment considerations as I’ve been exploring MVC Portable Areas. In the last post, I walked through a convention for managing static files. In this post I’ll discuss another approach to manage static files (e.g., images, css, js, etc.). With this approach, you *also* compile the static files as embedded resources into the assembly similar to the *.aspx pages. Once again, you can set this to happen automatically by simply modifying your *.csproj file to include the desired extensions so you don’t have to remember every time you add a file:
|category: MVC
|Views: 138
tags:
ASPNETMVC areas ASP.NET MVC another
Everyones tags:
Your Tags: