We have had several posts about WCF vs Web API: 1: WCF, WCF Web API and ASP.NET Web API; 2: Abstractions map: WCF Web API vs ASP.NET Web API; 3: WCF or Web API; 4: Host ASP.NET Web API In WPF Application Today we read another great article “WCF or ASP.NET Web APIs? My two [Read More ...]
We posted 3 guides about Deploy a web application which includes WCF, SilverLight and ASP.NET , for simplified all steps, here provides a “quick guide”: 1: Make sure you have installed IIS successfully, at least you can visit http://localhost and see a default web page; 2: Open IIS Management (7 and above), right mouse click [Read More ...]
1: Creating WCF AJAX Services without ASP.NET 2: WCF REST Service with JSON 3: Calling WCF service exposed with different bindings in JQuery 4: RESTful WCF Services with No svc file and No config 5: How to: Create a Service Endpoint in Code 6: How to: Create a Service Endpoint in Configuration 7: How to: [Read More ...]
About WCF and Web API, we should have a longer blog, but this time we just put several links, they are also great article about WCF vs Web API, you should get to know whether choose WCF or Web API after you reading them. 1: WCF and ASP.NET Web API 2: WCF or ASP.NET Web [Read More ...]
I posted the previous 2 parts of our case deployment in 2012: 1: A Case: Deploy a web application which includes WCF, Silverlight and ASP.NET part 1; 2: A Case: Deploy a web application which includes WCF, Silverlight and ASP.NET part 2; Today I post the 3rd part: Deploy the case on a server which [Read More ...]
About our case’s deployment, I have posted the part 1 here. This article is the part 2. We have done the discuss for Web Server settings and WCF configuration. Here we start from the 3rd part: Silverlight project configuration. C> Silverlight project: The Silverlight project or application also need to be set since it communicates [Read More ...]
We have a web application which developed using ASP.NET 4.0 (Web Forms), Silverlight 4.0 and WCF 4.0. Brief information about our application: 1: We use WCF to provide all data to clients, some data are from database, another part of data are from a real time data resource; 2: We use self host for the [Read More ...]
Most of content in this post from Microsoft and related websites: Firstly, we start from the simplest thing: The relationship of WCF Web API and ASP.NET Web API is WCF Web API is now “merged” to ASP.NET Web API, “ASP.NET Web API is effectively the next version of WCF Web API. There will not be [Read More ...]
We have a WCF application with Silverlight 4.0 client application. The system worked well but just sometimes we got the following error: The HTTP request to http://xxx has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer timeout. We traced the bug using Visual Studio 2010 [Read More ...]
Comparing with WCF 3.x, WCF 4.0 has new features. for example: default endpoints: With WCF 3.x, you have to provide configured endpoints when you host a service, otherwise, you will get an exception. In WCF 4, you will not worried if you forgot to set endpoint, because the runtime automatically adds one or more “default [Read More ...]