Both are accessible via HTTP/REST and both works in the way to skip the serialization in order to isolate logic which could impact the performance results.

Both services implements GET and POST requests:

  1. GET request to return a string with current time
  2. POST request to accept a data and return back the same data in the stream

The results showed that WCF is faster than WebAPI when sending GET requests but slower when executing POST request in non-chunked mode.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s