如何在Angular.js和ASP.Net MVC 4中使用Membership Provider? [英] How do I use Membership Provider with Angular.js and ASP.Net MVC 4?

查看:57
本文介绍了如何在Angular.js和ASP.Net MVC 4中使用Membership Provider?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的是Angular.js的新手,我想用Angular.JS和ASP.Net MVC4创建一个新项目.我真的对如何将Angular.JS与MVC 4成员资格提供程序一起使用来执行用户身份验证和授权感到困惑.

I am really new to the Angular.js and I want to create a new project with Angular.JS with ASP.Net MVC4. I am really confused with how to use Angular.JS with MVC 4 membership provider together to perform user authentication and authorization.

有没有我可以看的示例项目来获得一些如何开始的想法?

Are there any example projects I can look to get some ideas how to start?

推荐答案

此示例将Angular.JS集成到MVC项目中的食谱.还有关于Angular.JS中的身份验证和授权,有此使用Angular和Breeze并已实现登录的入门项目.因此,您可能想检查该入门项目中的代码以继续进行.您可以在较长的代码中浏览代码并关注该入门项目的讨论.博客文章.

Regarding authentication and authorization in Angular.JS, there is this Starter project that uses Angular and Breeze and has a log-in implemented. So you might want to check out the code from that starter project to get going. You can look through the code and follow the discussion of this starter project in a longer blog post.

这篇关于如何在Angular.js和ASP.Net MVC 4中使用Membership Provider?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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