asp.net-mvc – 如何在asp.net mvc3项目中开始使用openID?

前端之家收集整理的这篇文章主要介绍了asp.net-mvc – 如何在asp.net mvc3项目中开始使用openID?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想为我的网站(在asp.net mvc3中)提供身份验证机制,首先通过我的网站选择openID另一个选项.我不知道如何从dotnetopenid开始,因为它没有一个好的文档或一些指导从它开始.是否有任何可视文档或任何有用的分步资源.另一个问题:我想要google和yahoo openID身份验证,使用它们有什么区别吗?!

坦克很多你的建议

解决方法

您可能比从Visual Studio库下载 ASP.NET MVC 2 OpenID web site (C#)模板更糟糕.

A C# ASP.NET MVC project template to
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.

还有一个名为Html5-MVC3-BP-OpenAuth的模板,描述如下:

This template creates an MVC3 Razor
project with Html5 Boilerplate from
Paul Irish. Also includes the
DotNetOpenAuth CTP for authentication
via OpenId,Twitter (OAuth) or
Facebook (OAuth2).

或者在Codeplex上查看MvcOpenID – An OpenID Starter Kit for ASP.NET MVC

“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.”

猜你在找的asp.Net相关文章