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 8709087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:16:58+00:00 2026-06-13T04:16:58+00:00

I have a quite large old WCF Service with many different methods. The most

  • 0

I have a quite large “old” WCF Service with many different methods.

The most of these methods are “normal” so they should answer in less than 10 seconds but there are several methods (8 or 9) that are long processes so they can take a long time to get a response.

The receivetimeout and sendtimeout were set to 00:40:00 to ensure they had time enought to accomplish these processes.

The problem is sometimes we have connection issues and the “normal” methods take a really long time to crash…

They are all in the same service because they use a really big model and they wanted to reuse the model from the service in every call (not having a PersonsService.User and a RobotsService.User… because they are the same class in different services).

The first solution I imagine is to make a different Service with those long processes and set a short timeout to the normal service… but I should have to make a lot of changes because of Model use…

Is there any way to set a different timeout in each call? Or by service method? Should I chunk the Service anyway?

Thanks in advance!!

  • 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-06-13T04:16:59+00:00Added an answer on June 13, 2026 at 4:16 am

    First of all, the timeout to configure in your case is OperationTimeout, which allows the time limit to wait for the service to reply before timing out. You can modify the operation timeout before making a call from the client side.

    To set the OperationTimeout on the channel, you can type case your proxy/channel instance as IContextChannel and set OperationTimeout.

    For example:

    IClientChannel contextChannel = channel as IClientChannel;
    contextChannel.OperationTimeout = TimeSpan.FromMinutes(10);
    

    HTH,
    Amit

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

Sidebar

Related Questions

I have quite a large VB6 project, with many forms, classes, modules and user
I have a large code base of quite old C code on an embedded
I have quite a large project, actually 2 but they share a lot of
I have a quite large codebase. In many places I have a piece of
I have quite a large table with 19 000 000 records, and I have
I have quite a large XSL document for an assignment that does a number
I have two quite large tables, let's call them 'authors' and 'articles'. Every row
I have a several functions which are quite large, and are only used in
I have a multi-line text view that can get quite large. When the user
I have a web application project that works with a quite large database (over

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.