你如何在MVC3 Razor中使用ReCaptcha?我尝试使用“Install-Package microsoft-web-helpers”但仍无法在我的.cshtml razor页面上找到ReCaptcha类型。在http://nuget.org/List/Packages/microsoft-web-helpers上,有人留言说:“此软件包仅适用于WebMatrix”。虽然这篇文章显示它可能会工作http://www.dotnetcurry.com/ShowArticle.aspx?ID=611。
@using Microsoft.Web.Helpers
,看看是否有帮助。如果有帮助,你就需要尝试找出为什么 web.config 中的命名空间设置不起作用... - Sergi Papaseit