How to use Memberhip Provider with Angular.js and ASP.Net MVC 4?

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

Are there any examples of projects that I can look to get some ideas on how to get started?

+4
source share
2 answers

The following is a cookbook for integrating Angular.JS into an MVC project . There is also this video tutorial provided by Dan Wachlin about the same.

Regarding authentication and authorization in Angular.JS, this is a starter project that uses Angular and Breeze and has a login . So you can check the code from this starter project to get started. You can review the code and continue the discussion of this starter project in a longer blog post .

+3
source

I know this is deprecated, but for completeness, here's a tutorial on implementing a login using Microsoft Identity Provider using WinApi and angular: http://bitoftech.net/2014/06/01/token-based-authentication-asp-net- web-api-2-owin-asp-net-identity /

0
source

Source: https://habr.com/ru/post/1482553/


All Articles