ASP.NET MVC User Controls on Master Pages
NOTE: I was originally going to post the investigation into the User Control/Master Page problem AND the User Controls code in one post. However, I thought it would possibly be a bit confusing so will post separately. This explains why the lab code is called “mvc-versionedfiles”. I am real new to MVC. Up to this point I have found it to be quite pleasurable , I really liked the separation of concerns, the conventions and the testability. Something was bound to cause a bump in the road, and I finally hit it. The Problem I spoke to a couple of guys ( @JeremySkinner and @robinem ) at WebDD09 about this problem. What I was trying to accomplish was appending the file version of my CSS/Javascript files automatically to the LINK/SCRIPT elements in the HTML within the ASP.NET Master Page . For example: 1: < link rel ="Stylesheet" type ="text/css" href ="site.css?1.00" > Why Bother? The reason is this, many browsers are very ...