Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 699617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:24:22+00:00 2026-05-14T03:24:22+00:00

We want to track the time taken by a web service call between a

  • 0

We want to track the time taken by a web service call between a client and the server. This time should not include the time taken by the server to process the request.
The idea is that we want to see how much time of a web service call is lost due to the actual transfer trough the network.

Does WCF already offer something in this direction?

Of course I could just add a timer on the client and subtract the server processing time but that wouldn’t be very elegant.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:24:22+00:00Added an answer on May 14, 2026 at 3:24 am

    WCF has a plethora of performance counters – see the MSDN docs on this topic or check out How to use WCF Performance Counters for a user report on how to use those.

    Another option is to turn on WCF tracing – you’ll get quite detailed reports as to how your messages travelled through the system, including timestamps. Based on those bits, you should be able to determine time spent on the network etc. There’s a quite nice WCF Trace Viewer tool which allows you to check out those trace files quite easily.

    The other option would be to use headers, e.g. DateTime fields: add a first header (“ClientOut”) on the client just as the message is being sent out, and add more (e.g. “ServerIn”, “ServerOut”) on the server and then a last one on the client again (“ClientBackIn”). If you record the actual date/time, you should be able to look at those headers and see some information as to how much time is spent on the trip between client and server. You could create a Message Inspector extension for WCF to do something like this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a table where i want to track time so a valid entry
have a picture in my server named /images/pic.jpg . I want to track ip
Say, I want to calculate the time taken to load a ASP.NET page. When
I have a client/server application written in C#/.NET 3.5 that I want to do
I want to track incoming traffic to a website from campaigns. A campain link
I want to track a person's movement on mapview in my iphone. I am
I am storing Integer objects representing an index of objects I want to track.
Here is my problem, I want to track if user is online or offline
I'm creating an API for my Rails app, and I want to track how
am using Tortoise SVN from few months. I just want to track down what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.