Categories: .NET, Asp.Net MVC Posted by mason on 7/6/2009 5:59 AM | Comments (0)
I struggle to find examples that work within VB.net (forced into it at my job) since 90% of them are presented in C# (since probably 90% of all mvc development is in c# :) ).  Today I struggled for a few minutes to come up with the correct syntax for restricting the properties to bind when passing a model to an action.  Here’s a code example: 1: <AcceptVerbs(HttpVerbs.Post)> _ 2: Function Create(<Bind(Include:="Username,Email,City,State,Zipcode&q... [More]