Click here to Skip to main content
15,909,030 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Can i use one asp.net web API that can server mobile app as well as asp.net web site. ?
What type of api is suitable for this project in terms of authentication and etc .

martin

What I have tried:

Build one asp.net web API which will serve the data for both android app and asp.net web site.
Posted
Updated 25-Mar-16 15:12pm
Comments
Sergey Alexandrovich Kryukov 25-Mar-16 21:10pm    
There is no such thing as "server data for Android" or "for ASP.NET". This API is for everything. And if you want to use ASP.NET Web API, you need to understand that this is just a particular framework. It can be consumed by Android, .NET application, and a lot more.
—SA

1 solution

Please see my comment to the question.
See also:
How to call ASP.Net Web API service from Android? – HintDesk[^],
How to use a web API from your Android app[^].

For a client part, it's not really important how a Web service or particular Web API is implemented on the server side.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900