Articles : Page 1 of 1
-
Using EntityFramework with ASP.NET MVC 3
Mar 1121A few people have asked about a comment I made on my last post: I might suggest (in this case) creating an ActionFilter and wrapping the Action in a transaction. It’s transparent, it’s fun… and all the kids are doing it. … and it got me thinking. All of the MSDN samples that I’ve seen which talk about using EF or LinqToSql with ASP.NET MVC almost always show the context being created inside an action or being passed in via a repository. This doesn’t have to be the case - in fact it probably...
-
Using EntityFramework with ASP.NET MVC 3
Mar 1121A few people have asked about a comment I made on my last post: I might suggest (in this case) creating an ActionFilter and wrapping the Action in a transaction. It’s transparent, it’s fun… and all the kids are doing it. … and it got me thinking. All of the MSDN samples that I’ve seen which talk about using EF or LinqToSql with ASP.NET MVC almost always show the context being created inside an action or being passed in via a repository. This doesn’t have to be the case - in fact it probabl...
-
Hey .NET Developers! Its Christmas All Over Again!
Jan 1114Today was a great day to be a .NET developer. I felt like a five year old on Christmas morning. I had that feeling you get when you just finished opening all your gifts and you are not sure what you want to play with first. Just in case you are living under a rock, here is a quick summary of what I found under the Christmas tree today. MVC 3 – Its Finally Here Today MVC3 with Razor was released. This means that we can finally avoid paying the angle bracket tax. The new razor syntax will mak...
-
Announcing NuPack, ASP.NET MVC 3 Beta, and WebMatrix Beta 2
Oct 1006I’m excited to announce the beta release of several projects today. Two of these releases - ASP.NET MVC 3 Beta and WebMatrix Beta 2 - are evolutions of projects we first previewed this summer. The third – NuPack - is a new project that I’m particularly excited about. NuPack – Open Source Package Manager for .NET NuPack is a free open source package manager that makes it easy for you to find, install, and use .NET libraries in your projects. It works with all .NET project types (including,...
- 1

