I have reCaptcha installation problems. I already saw some posts about that, even in StackOverflow but it didn't help me to get it working.
I followed this post, and this post but in this line:
@using Microsoft.Web.Helpers
I get the message:
The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
I added all references mentioned, all assemblies in both web.config files (root and view folder), restarted VS2010, updated the MVC3 package, included WebMatrix packages but I couldn't get it working.
I guess it should be simple to install, but I don't know what I'm doing wrong.
Anyone could help me?
Here's a step by step guide:
microsoft-web-helpers
NuGetIn the
Index.cshtml
view ofHomeController
create a form and bring theMicrosoft.Web.Helpers
namespace into scope:And to validate the Captcha in the controller: