Comparing Web Service, WCF, and Web API Technologies
Overview of HTTP Service Technologies in .NET
The .NET platform offers multiple technologies for creating HTTP services, including Web Services, Windows Communication Foundation (WCF), and Web API. Each technology has its own strengths and use cases. This article provides a comparison of these technologies and demonstrates how to implement basi ...
Posted on Wed, 28 Oct 2026 16:51:05 +0000 by duncanwil
Implementing Cross-Domain Requests in WebApi Using CORS with Angular's JSONP
Enabling CORS in WebApi for Cross-Domain Requests
Step 1: Install CORS in WebApi Project
Configure CORS globally in the Web API configuration file (Global.asax): ```
public class WebApiApplication : HttpApplication
{
protected void Application_Start()
{
#region Cross-Origin Resource Sharing
var config = GlobalConfiguration.Configuration;
var co ...
Posted on Fri, 07 Aug 2026 16:47:45 +0000 by tacojohn
Implementing Custom MessageHandler and Sign Filter in ASP.NET Web API
Custom MessageHandler for Request/Resposne Processing
/// <summary>
/// Intercepts incoming requests and outgoing responses for custom processing.
/// </summary>
public class RequestResponseInterceptor : MessageProcessingHandler
{
protected override HttpRequestMessage ProcessRequest(HttpRequestMessage request, CancellationToken ...
Posted on Sat, 09 May 2026 18:20:28 +0000 by Stuph