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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:48:24+00:00 2026-06-14T12:48:24+00:00

We have a robust WCF client built in 2008 on .NET 3.5 (now recompiled

  • 0

We have a robust WCF client built in 2008 on .NET 3.5 (now recompiled under .NET 4.0) that talks to our own WCF service over the net.tcp binding. The robust client uses ChannelFactory<IOurServiceInterface>() to generate a service proxy, through which we currently make synchronous calls to the service. We get results back from each call; we have no one-way calls.

We are migrating to .NET 4.5 / C# 5 and would like to make the client asynchronous using async / await / TAP. How best to do this in a way that results in clean code, and good runtime performance?

(I’ve looked at MS documentation on this subject, but it always talks about running svcutil. We don’t use svcutil; we use ChannelFactory directly. Also: MS documentation for calling operations asynchronously using a channel factory under .NET 4.5 are unchanged since .NET 3.0 days. Seems ChannelFactory hasn’t embraced the new asynchrony.)

  • 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-14T12:48:25+00:00Added an answer on June 14, 2026 at 12:48 pm

    You can wrap existing APM (Begin*/End*) endpoints into TAP-ready Tasks using TaskFactory.FromAsync.

    You may find my Async WCF Today and Tomorrow post helpful, which shows how to use TAP with the pre-VS2012 svcutil.

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

Sidebar

Related Questions

We currently have fairly robust error handling functionality in our ASP.Net application. We log
I would like to have a robust CSS that would have all forms I
We have a fairly robust ASP.NET app using quite a bit of AJAX, jQuery
I have a client application that should send notify messages to an optional server
I have an android application, that will call a SOAP web service for some
It would seem to me that many large enterprises already have robust directory services
I have a robust set of objects that relate to one another and I
I'm developing a web service using NHibernate, WCF and Oracle 11g R1. The web
I have a web application that needs a database back-end. My back-end is really
I have an HTML file that will act as a template for an email

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.