Web Camps TV #5 - Building your own WebMatrix Helpers
- Posted: Sep 30, 2010 at 1:21 PM
- 26,840 Views
- 4 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
In this episode of Web Camps TV, James is joined by Erik Porter, PM on the ASP.NET team (and@HumanCompiler on twitter). Erik is responsible for the Helpers that go into the WebMatrix tool. You can think of Helpers as shortcuts used to build apps more quickly, and these shortcuts are broken into two different types: UI Helpers and API Helpers. As the names suggest, UI Helpers make it easier to render out bits of a website's UI, and API Helpers wrap other functionality from services you want to use in your applications. Some examples of popular WebMatrix Helpers include Facebook, Twitter, and Recaptcha, as well as some other fundamental ones like Database access, Membership, and Security.
In this episode, we look at how to build your own Helpers, making it easier for you and other developers to build websites. Erik takes us through building an IE9 Pinned App Helper, and the several approaches he discusses are all valid ways of building Helpers, including
- Using CSHTML pages
- Using CS classes
- Using @helper syntax
Building WebMatrix Helpers makes sense whether you are trying to foster a developer community or just looking to make your own job easier by having helpers for repetitive code tasks.
For more information about Helpers check out the following links:
- Download and try WebMatrix
- Erik's blog post on building the IE9 Pinned App WebMatrix Helper
- James' blog post on Getting Started with WebMatrix
If you want to learn more about WebMatrix, don't forget to register for a free Web Camp training event near you!
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
If you want to learn more about WebMatrix, don't forget to register for a free Web Camp training event near you.
There is NOT one near me, and the url for the registration is WRONG. Should be http://www.webcamps.me/ and not webcamp.me (plural, not singular).
@richard beck:Thanks! nice catch!
i cant wait for the stable release ! webmatrix razor and webpages are neat ! one of the smartest microsoft product for rapid website developpement.
@ante_marcus: thanks! the team love the feedback!
Remove this comment
Remove this thread
close