<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ASP.NET MVC Preview 2 CAPTCHA using ActionFilterAttribute</title>
	<atom:link href="http://coderjournal-backend/index.php/2008/03/actionfilterattribute-aspnet-mvc-captcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/</link>
	<description>while(!(succeed = try()));</description>
	<pubDate>Mon, 13 Oct 2008 09:41:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Selto</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-14906</link>
		<dc:creator>Selto</dc:creator>
		<pubDate>Tue, 09 Sep 2008 08:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-14906</guid>
		<description>Maybe it would be better to customize some parameters like captcha background etc.
It would be easier for users not to hardcode, for example CaptchaImage.cs, line 388:
&lt;code&gt;
				gr.Clear(Color.FromArgb(255,235,235,235));
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Maybe it would be better to customize some parameters like captcha background etc.<br />
It would be easier for users not to hardcode, for example CaptchaImage.cs, line 388:<br />
<code><br />
				gr.Clear(Color.FromArgb(255,235,235,235));<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MVC CAPTCHA for Preview Release 3 - Nick Berardi&#8217;s Coder Journal</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8396</link>
		<dc:creator>MVC CAPTCHA for Preview Release 3 - Nick Berardi&#8217;s Coder Journal</dc:creator>
		<pubDate>Tue, 24 Jun 2008 14:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8396</guid>
		<description>[...] when Preview Release 2 came out the ability to pass the parameter through the action method was broken. So I had to create [...]</description>
		<content:encoded><![CDATA[<p>[...] when Preview Release 2 came out the ability to pass the parameter through the action method was broken. So I had to create [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8362</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Tue, 24 Jun 2008 01:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8362</guid>
		<description>Hi Satish,

This is my own code, so no need to post a bug anywhere you are already talking to the developer.  Also can you send me the code where you have duplicated this, because I have not seen it on any of the projects in which I use this CAPTCHA.

You have to make sure to generate the Image using the supplied code, because it automatically creates a GUID, that is only available for a couple of minutes.

Nick</description>
		<content:encoded><![CDATA[<p>Hi Satish,</p>
<p>This is my own code, so no need to post a bug anywhere you are already talking to the developer.  Also can you send me the code where you have duplicated this, because I have not seen it on any of the projects in which I use this CAPTCHA.</p>
<p>You have to make sure to generate the Image using the supplied code, because it automatically creates a GUID, that is only available for a couple of minutes.</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8321</link>
		<dc:creator>Satish</dc:creator>
		<pubDate>Mon, 23 Jun 2008 06:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-8321</guid>
		<description>Hi Nick. 

I am implementing your captcha into my Preview 3 solution for MVC.

I have route initialisation code in Globax.asax. Added the ManagedFusion captcha dll to the solution .Then I have a handler registered in web.config.In the HomeController I have the action 'Valid'.
In a demo solution I have placed the captcha code onto Index.aspx and About.aspx views both. And Index.aspx is rendered by default.

When I execute the solution the captcha renders superb on the default rendered Index.aspx page. Now when I redirect the page to About.aspx or any other page in the solution which has the captcha code in it, the captcha is not visible there. 

The only difference I could figure out is that , the MVC captcha works only on that page which is rendered by default(In my case it is Index.aspx). The image source URL in this case is  like http://localhost:52431/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620

Whereas the image source url on all other pages than the page rendered by default is
http://localhost:52431/YourControllername/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620

Can I post this as a bug in the MVC captcha? 
I can send you my demo solution if you reply to my mail.
Thanks in advance..</description>
		<content:encoded><![CDATA[<p>Hi Nick. </p>
<p>I am implementing your captcha into my Preview 3 solution for MVC.</p>
<p>I have route initialisation code in Globax.asax. Added the ManagedFusion captcha dll to the solution .Then I have a handler registered in web.config.In the HomeController I have the action &#8216;Valid&#8217;.<br />
In a demo solution I have placed the captcha code onto Index.aspx and About.aspx views both. And Index.aspx is rendered by default.</p>
<p>When I execute the solution the captcha renders superb on the default rendered Index.aspx page. Now when I redirect the page to About.aspx or any other page in the solution which has the captcha code in it, the captcha is not visible there. </p>
<p>The only difference I could figure out is that , the MVC captcha works only on that page which is rendered by default(In my case it is Index.aspx). The image source URL in this case is  like <a href="http://localhost:52431/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620" rel="nofollow">http://localhost:52431/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620</a></p>
<p>Whereas the image source url on all other pages than the page rendered by default is<br />
<a href="http://localhost:52431/YourControllername/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620" rel="nofollow">http://localhost:52431/YourControllername/captcha.ashx?guid=1464bb46f6964b5083eb82db0a3b1620</a></p>
<p>Can I post this as a bug in the MVC captcha?<br />
I can send you my demo solution if you reply to my mail.<br />
Thanks in advance..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7697</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Fri, 13 Jun 2008 15:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7697</guid>
		<description>Hi Peter,

That seems to be an implementation problem on your end.  It is basically saying you are not allowed to post to /home/about, I don't know the reason for this, but if you are the same guy that e-mailed me.  I don't really know if you want to post your registration information to an about page, it seems like an error.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>That seems to be an implementation problem on your end.  It is basically saying you are not allowed to post to /home/about, I don&#8217;t know the reason for this, but if you are the same guy that e-mailed me.  I don&#8217;t really know if you want to post your registration information to an about page, it seems like an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Andrews</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7694</link>
		<dc:creator>Peter Andrews</dc:creator>
		<pubDate>Fri, 13 Jun 2008 13:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7694</guid>
		<description>Hi Nick....Thanks for ur Reply.....
Now captcha images are displaying on my page....In aspx my code is


      Enter  Below  
               
      
   

but after entering captcha image text in captcha textbox and clicking on submit button.it shows me below error.....and action method is also not called...

The HTTP verb POST used to access path '/Home/About' is not allowed.

in web.config file code is..



Plz tell me where is the fault...

Thanks in Advance..</description>
		<content:encoded><![CDATA[<p>Hi Nick&#8230;.Thanks for ur Reply&#8230;..<br />
Now captcha images are displaying on my page&#8230;.In aspx my code is</p>
<p>      Enter  Below  </p>
<p>but after entering captcha image text in captcha textbox and clicking on submit button.it shows me below error&#8230;..and action method is also not called&#8230;</p>
<p>The HTTP verb POST used to access path &#8216;/Home/About&#8217; is not allowed.</p>
<p>in web.config file code is..</p>
<p>Plz tell me where is the fault&#8230;</p>
<p>Thanks in Advance..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7610</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Thu, 12 Jun 2008 15:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7610</guid>
		<description>Hi Peter,

Add this to your Constraints:
Constraints = new RouteValueDictionary { { "action", "[^\\.]*" } }

This will tell the Routes to ignore anything with a period in it for an action.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Add this to your Constraints:<br />
Constraints = new RouteValueDictionary { { &#8220;action&#8221;, &#8220;[^\\.]*&#8221; } }</p>
<p>This will tell the Routes to ignore anything with a period in it for an action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Andrews</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7601</link>
		<dc:creator>Peter Andrews</dc:creator>
		<pubDate>Thu, 12 Jun 2008 12:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7601</guid>
		<description>Hi Nick.. Nice post.. I have got your CAPTCHA working in my Preview 2. Recently I upgraded to Preview 3. The solution compiles and executes fluently but the CAPTCHA image is not displayed onto the page. What changes do I have to make in the routing scenario for page requests to captcha.ashx .... ?I am getting frustrated... Can you please upgrade your post for Preview 3 please....

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi Nick.. Nice post.. I have got your CAPTCHA working in my Preview 2. Recently I upgraded to Preview 3. The solution compiles and executes fluently but the CAPTCHA image is not displayed onto the page. What changes do I have to make in the routing scenario for page requests to captcha.ashx &#8230;. ?I am getting frustrated&#8230; Can you please upgrade your post for Preview 3 please&#8230;.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7583</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 12 Jun 2008 06:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-7583</guid>
		<description>Hello!!!!
I am using MVC preview 3....
In my project I followed all the steps mention above....
but it seems that captcha.ashx is not get called.what changes should be done related to Routing in MVC 3.
plz help!!!!!!!
thanks in advance....</description>
		<content:encoded><![CDATA[<p>Hello!!!!<br />
I am using MVC preview 3&#8230;.<br />
In my project I followed all the steps mention above&#8230;.<br />
but it seems that captcha.ashx is not get called.what changes should be done related to Routing in MVC 3.<br />
plz help!!!!!!!<br />
thanks in advance&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-6344</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 25 May 2008 11:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2008/03/actionfilterattribute-aspnet-mvc-captcha/#comment-6344</guid>
		<description>Thanks, I found out the problem.

Under Web.Config

It should be ManagedFusion.Web.Mvc.Handlers.CaptchaImageHandler and works fine now. Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks, I found out the problem.</p>
<p>Under Web.Config</p>
<p>It should be ManagedFusion.Web.Mvc.Handlers.CaptchaImageHandler and works fine now. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
