A benchmark between WCF and other .NET web frameworks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
AspNetCoreService.cs
Cache.cs
LICENSE
LargeItem.cs
MessagePackMediaTypeFormatter.cs
Program.cs
README.md
RestServiceBase.cs
SerializerType.cs
SmallItem.cs
Utf8JsonMediaTypeFormatter.cs
WcfService.cs
WcfVsWebApiVsAspNetCoreBenchmark.csproj
WcfVsWebApiVsAspNetCoreBenchmark.sln
WebApiService.cs

README.md

WcfVsBenchmark

A benchmark between WCF and other .NET web frameworks

Comparisons

This benchmark compares the response times of WCF, ASP.NET Web API and ASP.NET Core under various workloads.

It spins up a number of web servers, and measures the duration of a round-trip where a number of items of varying complexity are sent to and received from the web server.

The items are serialized and deserialized using different frameworks, namely Newtonsoft.Json, MessagePack, XmlSerializer, and Utf8Json.

Running

To run this benchmark, you might have to start it running as Administrator, because the WCF bits use HTTP.sys.