Answered by:
Posting of wcf/wpf web api to asp.net web api

Question
-
User1457212378 posted
Hello,
How can we port a wcf/wpf web api to asp.net web api ?
Wednesday, June 1, 2016 3:51 PM
Answers
-
User36583972 posted
Hi drvenom101,
I am confused with the difference between wcf web api and asp.net web api.I suggest you can refer the following tutorials, you will have a basic understanding of them.
ASP.NET Web API:
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
Windows Communication Foundation(WCF):
https://msdn.microsoft.com/en-us/library/dd560536.aspx http://www.c-sharpcorner.com/technologies/wcf
There have some differences between WCF and ASP.NET Web API:
https://msdn.microsoft.com/en-us/library/jj823172.aspx
As far as I know, WCF was originally created to enable SOAP-based services. For simpler RESTful services ASP.NET Web API should be a good choice.
Best Regards,
Yohann Lu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 2, 2016 9:20 AM
All replies
-
User36583972 posted
Hi drvenom101,
From your description. We cannot clearly know what you want to ask any questions. You need to describe the problem you want to solve.
WCF REST Service and Web API:
https://debugmode.net/2015/06/04/you-do-not-create-rest-service-using-asp-net-web-api/
Also, if it is related to WCF or WPF, you can visit the WCF/WPF forum for getting better support.
The WCF forum:
http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
The WPF forum:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
Best Regards,
Yohann Lu
Thursday, June 2, 2016 2:26 AM -
User1457212378 posted
Thanks for the prompt reply.I am confused with the difference between wcf web api and asp.net web api.
Thank you.
Thursday, June 2, 2016 8:39 AM -
User36583972 posted
Hi drvenom101,
I am confused with the difference between wcf web api and asp.net web api.I suggest you can refer the following tutorials, you will have a basic understanding of them.
ASP.NET Web API:
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
Windows Communication Foundation(WCF):
https://msdn.microsoft.com/en-us/library/dd560536.aspx http://www.c-sharpcorner.com/technologies/wcf
There have some differences between WCF and ASP.NET Web API:
https://msdn.microsoft.com/en-us/library/jj823172.aspx
As far as I know, WCF was originally created to enable SOAP-based services. For simpler RESTful services ASP.NET Web API should be a good choice.
Best Regards,
Yohann Lu
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 2, 2016 9:20 AM