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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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!


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2010-06-14T00:00:00+00:00) ASP.NET MVC Model binding with implicit operators. Retrieved from https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/

MLA
" » ASP.NET MVC Model binding with implicit operators." Posts on LINQ to Fail | Sciencx - Monday June 14, 2010, https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/
HARVARD
Posts on LINQ to Fail | Sciencx Monday June 14, 2010 » ASP.NET MVC Model binding with implicit operators., viewed ,<https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » ASP.NET MVC Model binding with implicit operators. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/
CHICAGO
" » ASP.NET MVC Model binding with implicit operators." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/
IEEE
" » ASP.NET MVC Model binding with implicit operators." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/. [Accessed: ]
rf:citation
» ASP.NET MVC Model binding with implicit operators | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/06/14/asp-net-mvc-model-binding-with-implicit-operators/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.