我想为我的网站(在asp.net mvc3中)提供身份验证机制,首先通过我的网站选择openID另一个选项.我不知道如何从dotnetopenid开始,因为它没有一个好的文档或一些指导从它开始.是否有任何可视文档或任何有用的分步资源.另一个问题:我想要google和yahoo openID身份验证,使用它们有什么区别吗?!
@H_403_2@坦克很多你的建议
解决方法
您可能比从Visual Studio库下载
ASP.NET MVC 2 OpenID web site (C#)模板更糟糕.
@H_403_2@A C# ASP.NET MVC project template to@H_403_2@还有一个名为Html5-MVC3-BP-OpenAuth的模板,描述如下:
get you on a strong start on a web
site that accepts OpenID. An OAuth
service provider is also included so
that clients can access user data with
user authorization and without a
password.
@H_403_2@This template creates an MVC3 Razor@H_403_2@或者在Codeplex上查看MvcOpenID – An OpenID Starter Kit for ASP.NET MVC:
project with Html5 Boilerplate from
Paul Irish. Also includes the
DotNetOpenAuth CTP for authentication
via OpenId,Twitter (OAuth) or
Facebook (OAuth2).
@H_403_2@“MvcOpenID is an OpenID starter kit for ASP.NET MVC. It is first and foremost a learning tool. I’ve learned a lot about OpenID while developing this and commented the code a lot. Running the application and stepping through the code is the best and probably the fastest way to learn. Apart from it’s educational value you can also use it as a starter kit for your ASP.NET MVC based web applications.”