WCF Service Application VS ASP.NET Web Application?
-
Hello, I'm building a Web API to access my database. I would like to create a Single Page Application Website first then a iPhone, Android and Windows application. Classic. My data and business layer are already finished. 1. First I decided to build a Json WCF Webservice. In Visual Studio I created a WCF Service Application. I modified the Web.config file to accept Json requests and implemented my interface and svc file. 2. After that I discovered ASP.NET Web Application with the Web API template. So I decided to change and to create a real web API with this full website structure. Now I'm lost. What are the differences between these two possibilities to create a Json Web API? What is the best one and for what reason?
-
Hello, I'm building a Web API to access my database. I would like to create a Single Page Application Website first then a iPhone, Android and Windows application. Classic. My data and business layer are already finished. 1. First I decided to build a Json WCF Webservice. In Visual Studio I created a WCF Service Application. I modified the Web.config file to accept Json requests and implemented my interface and svc file. 2. After that I discovered ASP.NET Web Application with the Web API template. So I decided to change and to create a real web API with this full website structure. Now I'm lost. What are the differences between these two possibilities to create a Json Web API? What is the best one and for what reason?
This link can help you to decide - http://msdn.microsoft.com/en-us/library/jj823172(v=vs.110).aspx[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)