<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Sayed Ibrahim Hashimi - MSBuild, Web Deploy (MSDeploy), ASP.NET - Writing</title>
    <link>http://sedodream.com/</link>
    <description>MSBuild, C#, Visual Studio and more</description>
    <language>en-us</language>
    <copyright>Sayed Ibrahim Hashimi</copyright>
    <lastBuildDate>Sat, 07 Nov 2009 08:55:15 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>sayed.hashimi@gmail.com</managingEditor>
    <webMaster>sayed.hashimi@gmail.com</webMaster>
    <item>
      <trackback:ping>http://sedodream.com/Trackback.aspx?guid=937da028-8966-4431-aad9-80a211248169</trackback:ping>
      <pingback:server>http://sedodream.com/pingback.aspx</pingback:server>
      <pingback:target>http://sedodream.com/PermaLink,guid,937da028-8966-4431-aad9-80a211248169.aspx</pingback:target>
      <dc:creator>Ibrahim</dc:creator>
      <wfw:comment>http://sedodream.com/CommentView,guid,937da028-8966-4431-aad9-80a211248169.aspx</wfw:comment>
      <wfw:commentRss>http://sedodream.com/SyndicationService.asmx/GetEntryCommentsRss?guid=937da028-8966-4431-aad9-80a211248169</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Are you using <a href="http://www.asp.net/mvc/">ASP.NET MVC</a>? If so you may be
interested in an article that I've just made available on <a href="http://www.codeplex.com/">Codeplex</a> published
to <a href="http://mvcviewhelpers.codeplex.com/">ASP.NET MVC Custom View Helpers</a>.
View helpers are usages of extension methods to insert markup into your pages. For
example <span style="font-family:Courier New; font-size:10pt"><span style="background-color:yellow">&lt;%</span><span style="color:blue">=</span> Html.TextBox(<span style="color:#a31515">"username"</span>) <span style="background-color:yellow">%&gt;</span></span>and <span style="font-family:Courier New; font-size:10pt"><span style="background-color:yellow">&lt;%</span><span style="color:blue">=</span> Html.ValidationMessage(<span style="color:#a31515">"username"</span>) <span style="background-color:yellow">%&gt;</span></span> are
both using view helpers. These are really just extension methods on the <a href="http://msdn.microsoft.com/en-us/library/system.web.mvc.htmlhelper.aspx">HtmlHelper</a> class.
There are a few different ways that you can create your own custom view helpers. I
examine the different approaches, discuss the current implementation of the view helpers
shipped with ASP.NET MVC itself, and I provide some helper classes for you to create
your own custom view helpers. 
<br /><br /><a href="http://mvcviewhelpers.codeplex.com/">ASP.NET MVC Custom View Helpers</a></p>
        <p>
Sayed Ibrahim Hashimi<span style="font-family:Courier New; font-size:10pt"></span></p>
        <p>
        </p>
        <p>
          <span style="font-family:Courier New; font-size:10pt">
          </span>
        </p>
      </body>
      <title>ASP.NET MVC View Helpers</title>
      <guid isPermaLink="false">http://sedodream.com/PermaLink,guid,937da028-8966-4431-aad9-80a211248169.aspx</guid>
      <link>http://sedodream.com/2009/11/07/ASPNETMVCViewHelpers.aspx</link>
      <pubDate>Sat, 07 Nov 2009 08:55:15 GMT</pubDate>
      <description>&lt;p&gt;
Are you using &lt;a href="http://www.asp.net/mvc/"&gt;ASP.NET MVC&lt;/a&gt;? If so you may be
interested in an article that I've just made available on &lt;a href="http://www.codeplex.com/"&gt;Codeplex&lt;/a&gt; published
to &lt;a href="http://mvcviewhelpers.codeplex.com/"&gt;ASP.NET MVC Custom View Helpers&lt;/a&gt;.
View helpers are usages of extension methods to insert markup into your pages. For
example &lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="background-color:yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt; Html.TextBox(&lt;span style="color:#a31515"&gt;"username"&lt;/span&gt;) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt; &lt;/span&gt;and &lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="background-color:yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt; Html.ValidationMessage(&lt;span style="color:#a31515"&gt;"username"&lt;/span&gt;) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt; are
both using view helpers. These are really just extension methods on the &lt;a href="http://msdn.microsoft.com/en-us/library/system.web.mvc.htmlhelper.aspx"&gt;HtmlHelper&lt;/a&gt; class.
There are a few different ways that you can create your own custom view helpers. I
examine the different approaches, discuss the current implementation of the view helpers
shipped with ASP.NET MVC itself, and I provide some helper classes for you to create
your own custom view helpers. 
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://mvcviewhelpers.codeplex.com/"&gt;ASP.NET MVC Custom View Helpers&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Sayed Ibrahim Hashimi&lt;span style="font-family:Courier New; font-size:10pt"&gt; &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt; &lt;/span&gt; 
&lt;/p&gt;</description>
      <comments>http://sedodream.com/CommentView,guid,937da028-8966-4431-aad9-80a211248169.aspx</comments>
      <category>ASP.NET MVC</category>
      <category>Codeplex</category>
      <category>Writing</category>
    </item>
  </channel>
</rss>