如何使用ASP.NET MVC4和MySQL实现OAuth和OpenID? [英] How do I implement the OAuth and OpenID with ASP.NET MVC4 and MySQL?

查看:74
本文介绍了如何使用ASP.NET MVC4和MySQL实现OAuth和OpenID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用VS2012提供的ASP.NET MVC4 Internet应用程序模板时,可以实现OAuth和OpenID,因此我可以使用Google或Facebook帐户登录。

现在,我正在使用ASP.NET MVC4 + MySQL来开发一个网站。我卸载EF并使用ADO.NET访问MySQL,除了OAuth和OpenID之外,一切运行良好。是否有人在类似平台(ASP.NET MVC4,MySQL + ADO.NET,C#)上实现了OAuth和OpenID?

提前致谢。

When I use the ASP.NET MVC4 Internet Application template offered by VS2012, it's OK to implement the OAuth and OpenID, so I can login with Google or Facebook account.
Now, I am using ASP.NET MVC4 + MySQL to develop a website. I uninstall the EF and use ADO.NET to access the MySQL, everything works well except the OAuth and OpenID. Is there anybody has implemented the OAuth and OpenID on similar platform(ASP.NET MVC4, MySQL+ADO.NET, C#)?
Thanks in advance.

推荐答案

这篇关于如何使用ASP.NET MVC4和MySQL实现OAuth和OpenID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆