Articles : Page 1 of 1

  • Pushing Code to NuGet

    Pushing Code to NuGet

    May 11
    06

    I kicked up some dust yesterday when I suggested that pushing packages to Nuget could be a bit easier. Many retorts of “how could it possibly be simpler!?!?!?!” (I never grow tired of condescension - it makes me write posts :) and I thought to myself: “there has to be other people in my position”. So here it is - the Simple Guide To Pushing Code to Nuget - mostly for me to remember how to do it, but if you find it helpful yay!  NuGet.exe The first thing you’ll need is NuGet.exe. It’s a pa...


  • Using EntityFramework with ASP.NET MVC 3

    Using EntityFramework with ASP.NET MVC 3

    Mar 11
    21

    A 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

    Using EntityFramework with ASP.NET MVC 3

    Mar 11
    21

    A 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...



  • 1