Archives

Archives / 2008 / August
  • How to use the ASP.NET MVC ModelBinder

    One of the new features in the latest build of ASP.NET MVC is the ModelBinder, which is provided to allow Action methods to take complex types as their parameters. Previously, action methods were only able to take simple types such as strings and integers as their parameters. The new ModelBinder provides the facility to build complex types from component parts that (for example) may be part the result of submitting a form with several fields. To see an example of this in action, we will first need a fairly simple class to work with. The following class definition will typically be placed in the Models directory. I have left the using statements at the start of the file as an 'exercise for the reader'!

  • ASP.NET MVC Codeplex Preview 5

    ASP.NET MVC Codeplex preview 5 went live last night. Available here. I haven't had a dig into it yet to have (just downloading now), but according to the release notes, some of the highlights include:

  • ANTS Profiler 4 Beta Released

    Exciting news from within the bowels of Red Gate - ANTS Profiler version 4 has reached the public beta version. The team are really over the moon about it, and the feedback that has already been received suggests that it's going to be a big hit. I'd encourage anyone that hasn't yet had a go with it to download it and give it a try - it's a massive step on from version 3 and certainly worth a look. For an in depth discussion of what's made it into this version, you'll need to go and read Bart's Blog. If you want to just get in there and give it a go, here's where you need to go to get the new version of ANTS: