Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Web Camps TV #5 - Building your own WebMatrix Helpers

Download

Right click “Save as…”

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:

If you want to learn more about WebMatrix, don't forget to register for a free Web Camp training event near you!

Tags:

Follow the Discussion

Remove this comment

Remove this thread

close

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.