<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dotnet thoughts &#187; ASP.Net MVC</title>
	<atom:link href="http://www.dotnetthoughts.net/tag/asp-net-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:18:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ASP.NET MVC 3 RTM Released</title>
		<link>http://www.dotnetthoughts.net/2011/01/14/asp-net-mvc-3-rtm-released/</link>
		<comments>http://www.dotnetthoughts.net/2011/01/14/asp-net-mvc-3-rtm-released/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 10:49:54 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.NET MVC 3 RTM]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1431</guid>
		<description><![CDATA[The ASP.NET team has released RTM version of ASP.NET MVC 3. You can download the ASP.NET MVC 3 RTM from here. Microsoft has released the following products along with ASP.NET MVC 3. You can find the source code of ASP.NET &#8230; <a href="http://www.dotnetthoughts.net/2011/01/14/asp-net-mvc-3-rtm-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The ASP.NET team has released RTM version of ASP.NET MVC 3. You can download the ASP.NET MVC 3 RTM from <a target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d2928bc1-f48c-4e95-a064-2a455a22c8f6&#038;displaylang=en">here</a>. Microsoft has released the following products along with ASP.NET MVC 3. You can find the source code of ASP.NET MVC 3 can download from <a target="_blank" href="http://download.microsoft.com/download/3/4/A/34A8A203-BD4B-44A2-AF8B-CA2CFCB311CC/mvc3-rtm-mspl.zip">here</a></p>
<ul>
<li>NuGet</li>
<li>IIS Express 7.5</li>
<li>SQL Server Compact Edition 4</li>
<li>Web Deploy and Web Farm Framework 2.0</li>
<li>Orchard 1.0</li>
<li>WebMatrix 1.0</li>
</ul>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2010/12/10/visual-studio-2010-service-pack-1-beta-released/" title="Permanent link to Visual Studio 2010 Service Pack 1 Beta Released">Visual Studio 2010 Service Pack 1 Beta Released</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/10/07/webmatrix-beta-2/" title="Permanent link to WebMatrix Beta 2">WebMatrix Beta 2</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/09/15/creating-captcha-html-helper/" title="Permanent link to Creating Captcha HTML Helper">Creating Captcha HTML Helper</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2011/01/14/asp-net-mvc-3-rtm-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Captcha HTML Helper</title>
		<link>http://www.dotnetthoughts.net/2009/09/15/creating-captcha-html-helper/</link>
		<comments>http://www.dotnetthoughts.net/2009/09/15/creating-captcha-html-helper/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:49:13 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C#.Net]]></category>
		<category><![CDATA[Captcha]]></category>
		<category><![CDATA[Captcha HTML Helper]]></category>
		<category><![CDATA[Custom HTML Helper]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=389</guid>
		<description><![CDATA[After working with ASP.Net MVC, and my previous posts, in this Post I am trying to implement a Captcha HTML Helper, an HTML Helper is just a method that returns a string. Creating Custom HTML Helpers. It is an extension &#8230; <a href="http://www.dotnetthoughts.net/2009/09/15/creating-captcha-html-helper/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After working with ASP.Net MVC, and my previous posts, in this Post I am trying to implement a Captcha HTML Helper, an HTML Helper is just a method that returns a string. <a href="http://www.asp.net/learn/mvc/tutorial-09-cs.aspx" target="_blank">Creating Custom HTML Helpers</a>. It is an extension method, to the existing HTML Helper class.<br />
Here is code.(For more details about the Captcha generation code, check my previous post. : <a href="http://anuraj.wordpress.com/2009/09/15/captcha-using-asp-net-and-c/">Captcha using ASP.Net and C#</a>);</p>
<pre class="brush: csharp; title: ; notranslate">
 public static class CaptchaHelper
    {
        public static string Captcha(this HtmlHelper helper, string text)
        {
            string srcPath = System.Web.VirtualPathUtility.ToAbsolute(&quot;~/Handler1.ashx&quot;);
            string htmlContent = string.Empty;
            htmlContent += &quot;&lt;script type=\&quot;text/javascript\&quot;&gt;function __rc(){document.getElementById(\&quot;&quot; + text +
                           &quot;\&quot;).src = \&quot;../Handler1.ashx?query=\&quot; + Math.random();}&lt;/script&gt;&quot;;
            htmlContent += string.Format(&quot;&lt;img id=\&quot;{0}\&quot; src=\&quot;{1}\&quot; alt=\&quot;Captcha Image\&quot;/&gt;&quot;, text, srcPath);
            htmlContent += &quot;&lt;a href=\&quot;#\&quot; onclick=\&quot;javascript:__rc();\&quot;&gt;Reset&lt;/a&gt;&quot;;
            return htmlContent;
        }
    }
</pre>
<p>And in the View you can use like, you may need to import the Namespace of CaptchaHelper class.</p>
<pre class="brush: xml; title: ; notranslate">
 &lt; %= Html.Captcha(&quot;Sample&quot;) %&gt;
</pre>
<p>It will render a security image. Happy Programming</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2009/09/11/a-simple-chat-script-using-asp-net-c/" title="Permanent link to A Simple Chat script using ASP.Net C#">A Simple Chat script using ASP.Net C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/05/30/pass-your-own-arguments-to-the-clientvalidationfunction-in-a-customvalidator/" title="Permanent link to Pass your own arguments to the ClientValidationFunction in a CustomValidator">Pass your own arguments to the ClientValidationFunction in a CustomValidator</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/12/07/image-cropping-in-asp-net-with-jquery/" title="Permanent link to Image cropping in ASP.Net with JQuery">Image cropping in ASP.Net with JQuery</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/04/20/simple-autosuggest-textbox-using-jquery/" title="Permanent link to Simple AutoSuggest Textbox using JQuery">Simple AutoSuggest Textbox using JQuery</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/04/16/system-invalidoperationexception-the-length-of-the-string-exceeds-the-value-set-on-the-maxjsonlength-property/" title="Permanent link to System.InvalidOperationException &#8211; The length of the string exceeds the value set on the maxJsonLength property.">System.InvalidOperationException &#8211; The length of the string exceeds the value set on the maxJsonLength property.</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2009/09/15/creating-captcha-html-helper/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

