Asp.Net 带有 Web API 的身份示例项目,尤其是 asp.net 身份 2.0-beta



Asp.Net 身份2.0-beta是否有如何在Web API项目中使用它的示例?我看过一个带有 asp.net mvc 的示例项目,但希望看到一个带有 asp.net web API 的示例。

是的,本教程在 Web API 应用程序中使用它。

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.

相关内容

最新更新