Does Asp.Net identity 2.0-beta has an example on how to use it in web api project? I have seen a sample project with asp.net mvc, but would like to see an example with asp.net web api.
1 Answer
Yes, and this tutorial uses it in a Web API application.
This tutorial shows how to authenticate a web API using individual user
accounts that are managed in a local database.
...This method uses ASP.NET Identity to add the user to the database.
3 Comments
J.W.
I see, do you know this still applies to the asp.net identity 2.0-beta, which seems a big change with the original version.
Rafa Paez
I haven't tried yet but it should do sooner or later. Here explains how to update it blogs.msdn.com/b/webdev/archive/2013/12/20/…
J.W.
i see, I hope asp.net identity team could provide a sample project on asp.net identity 2.0. I see they have a sample NuGet project on asp.net mvc, but would love to see a similar project on Asp.Net web api