ASP.NET MVC Model binding with implicit operators

In the past I’ve had a bit of a play around with operators, I looked at explicit and implicit operators and it’s really quite powerful.
When I upgraded my website to be powered by PaulPad, and upgraded PaulPad to ASP.NET MVC2 I ran into a p…

In the past I’ve had a bit of a play around with operators, I looked at explicit and implicit operators and it’s really quite powerful. When I upgraded my website to be powered by PaulPad, and upgraded PaulPad to ASP.NET MVC2 I ran into a problem, Paul uses implicit model binding to handle the URLs. The problem was that the ModelBindingContext changed between MVC1 and MVC2, resulting in the implicit operator binding implementation failing to compile!
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: