<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mvccaptchalib Wiki Rss Feed</title><link>https://mvccaptchalib.codeplex.com/</link><description>mvccaptchalib Wiki Rss Description</description><item><title>New Comment on "Documentation"</title><link>http://mvccaptchalib.codeplex.com/documentation?&amp;ANCHOR#C26089</link><description>Good work, but I cannot use it as the HTML does not render the way I need it.   Suggestion would be to separate the image, from the refresh label &amp;#40;which should also be able to be an image&amp;#41; and the textbox.  Make sure you can add styles to the textbox as well.  Good luck&amp;#33;</description><author>jaybald</author><pubDate>Fri, 04 Jan 2013 20:05:27 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20130104080527P</guid></item><item><title>Updated Wiki: Home</title><link>http://mvccaptchalib.codeplex.com/wikipage?version=4</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
ASP.NET MVC compliant the captcha generation library.&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
The following features are supported:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Fully customizable rendering engine&lt;/li&gt;
&lt;li&gt;AJAX-enabled captcha image reload&lt;/li&gt;
&lt;li&gt;Seamless integration into ASP.NET MVC workflow&lt;/li&gt;
&lt;li&gt;Declarative captcha verification using annotated model approach&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>leon_mz</author><pubDate>Sun, 06 May 2012 17:40:27 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120506054027P</guid></item><item><title>Updated Wiki: Home</title><link>http://mvccaptchalib.codeplex.com/wikipage?version=3</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
ASP.NET MVC compliant the captcha generation library.&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;
The following features are supported:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Fully customizable rendering engine&lt;/li&gt;
&lt;li&gt;AJAX-enabled captcha image reload&lt;/li&gt;
&lt;li&gt;Seamless integration into ASP.NET MVC workflow&lt;/li&gt;
&lt;li&gt;Declaration captcha verification using annotated model approach&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>leon_mz</author><pubDate>Sun, 06 May 2012 17:40:07 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120506054007P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://mvccaptchalib.codeplex.com/documentation?version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Installing&lt;/h2&gt;
You can build the library from the sources or install using NuGet package manager. Run the following command in the Package Manager Console:&lt;br /&gt;&lt;pre&gt;
PM&amp;gt; Install-Package MvcCaptchaLib
&lt;/pre&gt;
&lt;h2&gt;Generating captcha image&lt;/h2&gt;
Write the following code to the controller&amp;#39;s action method:&lt;br /&gt;&lt;pre&gt;
 public ActionResult GetCaptcha()
    {
        return this.Captcha();
    }
&lt;/pre&gt;
&lt;h2&gt;Validating captcha code&lt;/h2&gt;
Write the following code to the model you use:&lt;br /&gt;&lt;pre&gt;
    [ValidateCaptcha]
    public string Captcha {get;set;}
&lt;/pre&gt;&lt;br /&gt;The validation then runs as usual and you can check is the model valid by accessing ModelState.IsValid property in your action method.&lt;br /&gt;
&lt;h2&gt;Rendering to the HTML&lt;/h2&gt;
Write the following code to the view:&lt;br /&gt;&lt;pre&gt;
 @Html.CaptchaFor(m =&amp;gt; m.Captcha, &amp;quot;GetCaptcha&amp;quot;, &amp;quot;Is captcha unintelligible? Reload new one.&amp;quot;)
@Html.ValidationMessageFor(m =&amp;gt; m.Captcha)
&lt;/pre&gt;&lt;br /&gt;Copy &lt;b&gt;captcha.js&lt;/b&gt; file to your web application project. (This script uses Jquery 1.3+, make sure you also reference this as well.) &lt;br /&gt;&lt;br /&gt;Add reference to the javascript like this:&lt;br /&gt;&lt;pre&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;@Url.Content(&amp;quot;~/Scripts/captcha.js&amp;quot;)&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;/pre&gt;
&lt;h2&gt;Customization&lt;/h2&gt;
You can customize rendering by setting a number of properies of CaptchaImage instance. Also you can place a number of captches onto the single page by providing unique captcha identifiers to &lt;b&gt;Captcha&lt;/b&gt; method and &lt;b&gt;ValidateCaptcha&lt;/b&gt; attribute.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>leon_mz</author><pubDate>Sat, 05 May 2012 09:10:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120505091008A</guid></item></channel></rss>