mvc
Entity Framework part 3: Testing the DbContext
In the previous episode we saw how to map our complex models in a database using Entity Framework and we were left with the question of how to test our mappings and our model context. We will quickly go through those scenarios now. Integration Testing Integration tests are a particular type of tests which are […]
Advanced Bundling and Minification of Coffeescripts in MVC4
Hi All, In the past couple of days I have tried to solve a problem in ASP.NET and MVC4 regarding the bundling and minification of Coffee files. You can see the details in my question on stackoverflow. Basically I am trying to have my coffee scripts, defined in a bundle, to be rendered separately when […]
Entity Framework Primer: Initial Configuration and Migration
Hi All, I have been experimenting a bit with Entity Framework, the new v5, and wanted to share some of the little nice things that can get you started quickly. Setting up First of all you may want to install Entity Framework through NuGet. Keep in mind that you don’t need to do that if […]
MEF and Unity in an ASP.NET MVC Application. Part1: MEF
This will be the first of a series of posts mostly about MEF and how it integrates with a proper IoC container, Unity in our examples, to bring extensibility to an MVC Application written in ASP.NET using C# (and the Razor View Engine). This first post will only deal with what is MEF, how we […]