Articles : Page 1 of 1

  • What’s the Difference Between a Value Provider and Model Binder?

    What’s the Difference Between a Value Provider and Model Binder?

    Jun 11
    30

    ASP.NET MVC 3 introduced the ability to bind an incoming JSON request to an action method parameter, which is something I wrote about before. For example, suppose you have the following class defined (keeping it really simple here): public class ComicBook { public string Title { get; set; } public int IssueNumber { get; set; } } And you have an action method that accepts an instance of ComicBook: [HttpPost] public ActionResult Update(ComicBook comicBook) { // Do something with ComicBo...


  • Being Constructive

    Being Constructive

    Mar 11
    19

    I want to like Entity Framework. I did a whole screencast series on the thing and to be honest, I grew to like it. It’s very capable and if you play along with it’s rules can save you a lot of work. This post isn’t about EF. It’s about an MSDN post that was put up that I just linked to - and I thought about it afterward and … well I could probably be a bit more constructive. It’s late, I’ve had a beer or 2, and I was a bit quick to hit publish. The thing that pushed me over a bit was this ...


  • Being Constructive

    Being Constructive

    Mar 11
    19

    I want to like Entity Framework. I did a whole screencast series on the thing and to be honest, I grew to like it. It’s very capable and if you play along with it’s rules can save you a lot of work. This post isn’t about EF. It’s about an MSDN post that was put up that I just linked to - and I thought about it afterward and … well I could probably be a bit more constructive. It’s late, I’ve had a beer or 2, and I was a bit quick to hit publish. The thing that pushed me over a bit was this ...



  • 1