Answered by:
web api support in all type of apps

Question
-
User-1669453032 posted
hi,
We want to use Web API for inter-operable purposes. i mean our web api can be exposed and used in different type of apps ( Asp.net mvc, php, android, windows store/phone and ios).
We are not using wcf and prefer web api. Will it be a good choice ? we just need http and https.
Please guide the best.
Wednesday, August 5, 2015 3:42 PM
Answers
-
User2024324573 posted
As Web API is a RESTful service, that means it will be exposed to the external worlds (different platform, devices), will not make any difference in accessing it resources.
.
We are not using wcf and prefer web api. Will it be a good choice ? we just need http and https.Should be the right choice.
Please see more details here at: http://www.dotnet-tricks.com/Tutorial/webapi/VG9K040413-What-is-Web-API-and-why-to-use-it-?.html
Hope this will help.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, August 5, 2015 3:49 PM -
User1644755831 posted
Hello softtech.employee,
Yes it is ok. you can consume web api in C# and using JavaScript also.
C# Client
Please see: http://www.asp.net/web-api/overview/advanced/calling-a-web-api-from-a-net-client
JavaScript Client
http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-6
We are not using wcf and prefer web api. Will it be a good choice ? we just need http and https.
Web API you can host it in the http or https like any other service.
Please see: http://www.asp.net/web-api/overview/security/working-with-ssl-in-web-api
Go to http://www.asp.net/web-api to learn more.
Hope this helps.
With Regards,
Krunal Parekh
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, August 6, 2015 10:51 PM
All replies
-
User2024324573 posted
As Web API is a RESTful service, that means it will be exposed to the external worlds (different platform, devices), will not make any difference in accessing it resources.
.
We are not using wcf and prefer web api. Will it be a good choice ? we just need http and https.Should be the right choice.
Please see more details here at: http://www.dotnet-tricks.com/Tutorial/webapi/VG9K040413-What-is-Web-API-and-why-to-use-it-?.html
Hope this will help.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, August 5, 2015 3:49 PM -
User1644755831 posted
Hello softtech.employee,
Yes it is ok. you can consume web api in C# and using JavaScript also.
C# Client
Please see: http://www.asp.net/web-api/overview/advanced/calling-a-web-api-from-a-net-client
JavaScript Client
http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-6
We are not using wcf and prefer web api. Will it be a good choice ? we just need http and https.
Web API you can host it in the http or https like any other service.
Please see: http://www.asp.net/web-api/overview/security/working-with-ssl-in-web-api
Go to http://www.asp.net/web-api to learn more.
Hope this helps.
With Regards,
Krunal Parekh
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, August 6, 2015 10:51 PM