如何使用Web API,Asp.Net Identity和MVC视图创建项目 [英] How to create a project with Web API,Asp.Net Identity and MVC views
本文介绍了如何使用Web API,Asp.Net Identity和MVC视图创建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在MVC5中使用带有身份和视图的Web Api2在同一个项目中创建项目。我是这个主题的新手,我如何自定义身份以及如何从ApiController获取值到Views。为此,我搜索了很多,但没有人有三个以上的例子。
提前谢谢
Hi,
I need a requirement to create a project in MVC5 using Web Api2 with identity and views in the same project. I'm new to this topics, how can i customize identity and how can i get values from ApiController to Views. for this i searched a lot but no one have example with above three.
Thanks in advance
推荐答案
ASP.NET Identity 2.0:使用Identity 2.0简介和Web API 2.2 [ ^ ]
阅读本文,您将了解您的需求。
谢谢
ASP.NET Identity 2.0: Introduction to Working with Identity 2.0 and Web API 2.2[^]
Go through this article, you will get the understanding of what you need.
Thanks
这篇关于如何使用Web API,Asp.Net Identity和MVC视图创建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文