6 Tips for ASP.NET MVC Model Binding

Posted by: K. Scott Allen, on 27 Apr 2009 | View original | Bookmarked: 0 time(s)

Model binding in the ASP.NET MVC framework is simple. Your action methods need data, and the incoming HTTP request carries the data you need. The catch is that the data is embedded into POST-ed form values, and possibly the URL itself. Enter the DefaultModelBinder, which can magically convert form values and route data into objects. Model binders allow your controller code to remain cleanly separated from the dirtiness of interrogating the request and its associated environment.    Here...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1409 | Hits: 136

Similar Posts

  • ASP.NET 4.0 Dynamic Data and Many to Many Entity Framework Entities more
  • Spec Explorer: A Model-Based Testing tool more
  • MvcContrib working on Portable Areas more
  • Silverlight, MVVM, Prism and More at VSLive Orlando more
  • ASP.NET MVC 2 Preview 2 more
  • RELEASED ASP.NET MVC 2 Preview 2 more
  • Html Encoding Code Blocks With ASP.NET 4 more
  • 5 Minute Overview of MVVM in Silverlight more
  • Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 25: ViewModel more
  • MvcContrib version control has moved to GitHub more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD