Understanding Views, View Data, and HTML Helpers

Please install Silverlight or click download to watch video locally.

What is an ASP.NET MVC View and how does it differ from a HTML page? In this tutorial, Stephen Walther introduces you to Views and demonstrates how you can take advantage of View Data and HTML Helpers within a View. For additional information about this video, read the "Understanding Views, View Data, and HTML Helpers" tutorial (C#, VB).

Duration: 11 minutes, 3 seconds

Date: 20 August 2008

Watch    Video   |   Download    Video

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 18

Leave a Comment

cv_vikram : On August 25, 2008 7:13 PM said:

Thanks.....

amanprogrammer : On September 16, 2008 3:49 PM said:

Thanks Stephen. Again nice one.

aferrando : On September 17, 2008 12:08 PM said:

Great videos, thank you very much.

Just a question, why is that you are not using code-behind if it makes it simpler to work with code against asp tags directly in html?

atarikg : On October 02, 2008 5:53 PM said:

I love that guy, he knows how to teach MVC...

Thanks...

whatthe12 : On October 26, 2008 10:01 PM said:

Thanks for the video. Sorry to be really anal but why did you keep typing the url instead of selecting it with the arrow key?

GillouX : On November 08, 2008 8:09 AM said:

When you have your hands on the keyboard, you don´t want them moving back to the mouse :D

chanmmn : On November 15, 2008 11:00 PM said:

Not that clear perhaps

jmoviedo : On November 16, 2008 3:19 PM said:

Very nice, thanks.

srnilagiri : On November 28, 2008 11:34 PM said:

Thank you, good one.

mbarlowm : On December 12, 2008 6:22 PM said:

I also want to know:

1) Why use HTML helper methods instead on ASP.NET Server Controls?

2) Why use a generic dictionary for passing values rather than putting strongly-typed properties on the View and then setting them from the controller?

Danny117 : On March 08, 2009 5:44 PM said:

Stephan,

Thanks. I should've took better notes. I think I'm getting this. Ok I have dictionary I can pass to view. Controler files always end with controler.xx view is view with same name as controler method in folder named the same as controler in the views folder. Four down six to go. One more video to watch then I'm half way.

Djibril_Chimere_DIAW : On March 16, 2009 9:01 AM said:

Thanks! Jërëjëf!

cleverwisdomforever : On March 30, 2009 12:09 AM said:

Great Job!!!

thoughtcriminal : On April 21, 2009 11:45 PM said:

Ouch! The sound is terrible. I'm listening to this with my headphones and it's killing my ears.

Also the bottom-right video square ocassionally covers the detail you are talking about.

Apart from that, your videos are awesome.

Thanks for such an easy introduction to MVC.

rayshaw : On May 01, 2009 4:19 PM said:

BS ls!

chakri_p27 : On June 01, 2009 6:15 AM said:

really i like it ..MVC and the way he teaching ...thank you sooo muchhh stephen...

JamesRadford : On July 27, 2009 4:37 PM said:

good video.

MSummers : On August 27, 2009 7:15 AM said:

The 1st 4 videos were in C# examples. This example was in VB. The author of these series of videos should stay in one of the language throughout the video series. In this video it should have been C#.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities