HO_01_08 – Hands On ASP.NET MVC – Episode 8

Continuing on, Dave focuses on “followers” … refactoring to add follower mapping in the database and the data context. This includes time spent setting properties of the association between the new entities to create a parent / child relationship between follower and follow-ee. He then focuses on creating helper methods to follow and stop following other Twix users and other methods that will assist when rendering the Views. During this time Dave explains the RedirectToAction method and shows how to use the ‘Using’ keyword to begin / end an HTML form. He also points out a few best practices: ex. Why you would want to use form posts instead of querystrings when dealing with action methods that are making changes to the database. He then discusses different approaches to sending information from the form to the action methods (hidden form fields, an Html.BeginForm method overload to send routeValues, etc.) By the end of the video, Twix users are able to follow each others posts.

« Previous LessonHands On ASP.NET MVCNext Lesson »

About this video:

Duration: 24 Minutes, 55 Seconds
Recorded Using: Visual Studio 2008 or greater


Our Really Really Really Big Sale - 30% Off - ONLY A FEW HOURS LEFT!!!    Learn more ...