ASP.NET中的OpenID参考问题 [英] OpenID reference problem in asp.net
问题描述
我正在尝试使用asp.net_c#在我的网站中使用OpenID。我正在使用asp.net v4在asp.net表单网站上工作。我正在关注以下文章: http://danhounshell.com/blog/adding-openid-to-your-web-site-in-conjunction-with-asp-net-membership/ 和 http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party /
I am trying to use OpenID in my website using asp.net_c#. I am working on asp.net forms website with asp.net v4. I am following the articles: http://danhounshell.com/blog/adding-openid-to-your-web-site-in-conjunction-with-asp-net-membership/ and http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/
在登录按钮部分,我收到引用错误,指出找不到ClaimsRequest()类型或名称空间。我已经引用了:
On the login button part I am getting referencing error saying the ClaimsRequest() type or namespace could not be found. I've already referenced:
using DotNetOpenAuth;
using DotNetOpenAuth.OpenId;
using DotNetOpenAuth.OpenId.RelyingParty;
我正在使用最新的DotNetOpenAuth.dll,然后应如何引用?
I am using the latest DotNetOpenAuth.dll, how should it be referenced then?
推荐答案
如您所见, ClaimsRequest
类是 DotNetOpenAuth的一部分。 OpenId.Extensions.SimpleRegistration
命名空间
as you can see ClaimsRequest
Class is part of DotNetOpenAuth.OpenId.Extensions.SimpleRegistration
namespace
这篇关于ASP.NET中的OpenID参考问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!