Win a free Windows 7 Phone – If you’re lucky

728x90_Banner_WP7DevLaunch

Add an image link for the Windows 7 developer launch in order to have a chance at winning a Windows 7 phone! According to Scott Hanselman. You can see mine on the right toolbar ->

Method not found: ‘System.Collections.Generic.IDictionary`2 System.Web.Mvc.ModelBindingContext.get_ValueProvider()’

After upgrading an MVC v1.0 project to MVC v2.0 I started getting the following error:

 

 

Method Not found: MVC error

Method Not found: MVC error

 

Turns out this error is caused by the MVC Futures v1.0 Data Annotations library.

The Fix:

  • Remove the reference to System.ComponentModel.DataAnnotations
  • Remove the reference Microsoft.Web.Mvc.DataAnnotations, this is now included as part of MVC 2.0
  • Add a reference to c:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.ComponentModel.DataAnnotations
  • Remove the line in Global.asax for setting the default ModelBinder to a new instance of Microsoft.Web.Mvc.DataAnnotations.DataAnnotationsModelBinder.

Book Review – Foundation Expression Blend 3 with Silverlight

 

I have worked my way though most of this book and I have found it very helpful in getting started with Blend. In Foundation Expression Blend 3 with Silverlight, Victor Guidioso has assembled an excellent collection of examples that walk you through creating Silverlight applications from scratch using a combination of Blend and Visual Studio. This book is written in a style that emphasizes jumping right in and getting the job done. There are no gratuitous “video in a button” type examples here but examples based on the types of projects you are most likely to write. I found an error in the book which had a bad link for a source code download URL so I sent an email. To my surprise, not only did I get a reply email notifying me the link was fixed, Victor called me to let me know. You can’t ask for anything better than that! Anyway, I found this book extremely helpful in getting started writing Silverlight applications with Blend and I think you will too!