Sprint Planner Helper – Session 23
March 28, 2009
This has been the longest session of my project so far, spanning over four separate hours and nearly a week. My schedule was packed with other commitments, but I made significant progress.
The main challenge was grappling with some ASP.NET MVC framework issues related to data binding in views and the UpdateModel method. To cut a long story short, I encountered difficulties and reached out for help on the MVC-forum. I received excellent feedback from Alberto, which you can read in my forum post.
Here are some key takeaways from this session:
- Use a Separate ViewModel: It’s crucial to create view-specific classes that streamline data handling between views and controllers.
- Naming Conventions in Views: For example, using
Html.TextBox("Product.Name", Model.Product.Name)in the view and callingUpdateModel()will correctly populate theProductproperty with the newNamevalue.

