Page view counter

Creating Custom HTML Helpers

Create new HTML Helpers to make it easier to generate view content. Stephen Walther demonstrates two simple methods of creating new HTML Helpers.

Presented by Stephen Walther

Duration: 14 minutes, 56 seconds

Date: 20 August 2008

Watch the video   |   Download the video

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

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

Comments : 11

Leave a Comment

cv_vikram : On August 27, 2008 7:00 AM said:

Thanks..

amanprogrammer : On September 16, 2008 5:11 PM said:

Stephen You rock. Thanks.

topfan : On September 24, 2008 1:54 AM said:

great I think I will start learining MVC

enginuysal : On October 01, 2008 8:31 AM said:

thanks a lot, keep the good work.

enginuysal : On October 01, 2008 8:37 AM said:

Couldn't find any c# version.

chudq : On October 05, 2008 12:03 PM said:

Can I use VS 2008 Express for MVC project?

swalther : On October 16, 2008 9:57 PM said:

@chudq -- Yes, you can use VS 2008 Express to create MVC projects but you need to install Visual Studio Service Pack 1.

humaneko : On October 23, 2008 12:21 PM said:

It will be great to find a C# version ^^

GillouX : On November 08, 2008 9:38 AM said:

what´s the problem of all these C# developers ...

what is important is the framework and not the way to "attack it".

if you are not able to understand the vb examples and convert it to C# yourself, you should consider about finding a new job.

Great set of vidz.

yet another C# developer.

anthonywjones66 : On November 16, 2008 10:26 AM said:

C# version not required, its hardly rocket science to port to the techniques ot C#.

I don't think its a good idea to extend the set of Html helper methods.  It would be better to use a custom class of your own, i.e., use "the easy way".

michael.lukatchik : On November 18, 2008 3:27 PM said:

Both ways of rendering HTML controls will become standard practice.  For me, extension methods, although slightly less easier, will become "second hand" after using them.  Plus they're available though Intellisense which is pretty cool.

All else aside, I bet we'll eventually see a lot of custom extension methods showing up on the web over the next few months...

-Michael

Leave a Comment

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

Microsoft Communities