I want to do login user authentication without using entity framework. I am doing client side code in visual studio code (angularjs) and server side i am using mvc 5.
To start with accounts are coming from which kind of directory ? You are using Windows authentication ? Stricly speaking ASP.NET Identity (and its default EF implementation) is not directly about authentication but about keeping additional information for
each authenticated user (and regardless of how they are authenticated).
I want to do login user authentication without using entity framework. I am doing client side code in visual studio code (angularjs) and server side i am using mvc 5
Since you do not want to use built-in login framework from mvc and angularjs,
I suggest you could use Ajax to pass login data from angularjs to mvc:
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
1 Post
Login authentication without using entity framework in MVC and angularjs
Jan 28, 2019 10:24 AM|DNS|LINK
I want to do login user authentication without using entity framework. I am doing client side code in visual studio code (angularjs) and server side i am using mvc 5.
Thank you in advance.
All-Star
48280 Points
17983 Posts
Re: Login authentication without using entity framework in MVC and angularjs
Jan 28, 2019 10:29 AM|PatriceSc|LINK
Hi,
If you mean using ASP.NET identity without the default EF implementation you could use https://docs.microsoft.com/en-us/aspnet/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity to better understand the architecture and implement what you need/want.
To start with accounts are coming from which kind of directory ? You are using Windows authentication ? Stricly speaking ASP.NET Identity (and its default EF implementation) is not directly about authentication but about keeping additional information for each authenticated user (and regardless of how they are authenticated).
Contributor
3710 Points
1431 Posts
Re: Login authentication without using entity framework in MVC and angularjs
Jan 29, 2019 08:14 AM|Yuki Tao|LINK
Hi DNS,
Since you do not want to use built-in login framework from mvc and angularjs,
I suggest you could use Ajax to pass login data from angularjs to mvc:
https://www.aspsnippets.com/Articles/Call-MVC-Controller-from-AngularJS-using-AJAX-and-JSON-in-ASPNet-MVC.aspx
and use ADO.NET to save data to database,I think this video will helpful to you:
https://www.youtube.com/watch?v=zIW4wqa8qD4
Best Regards.
Yuki Tao
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.