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

  • Home
  • SEARCH
  • 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 856235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:12:16+00:00 2026-05-15T08:12:16+00:00

May I Know the use of channelfactory class in WCF. Does it help us

  • 0

May I Know the use of channelfactory class in WCF. Does it help us to prevent updating the service reference manually if there is any code change in the service ?

  • 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-15T08:12:17+00:00Added an answer on May 15, 2026 at 8:12 am

    It’s part of the process of building a client side proxy to call your service.

    By default, if you do a “Add Service Reference”, you just get a (myService)Client class which you can instantiate and use.

    What this does behind the scenes is a two-step process:

    • create a channel factory for your service contract (ChannelFactory<T>) – this is a class that has the ability to create a contract-specific channel (a communications link between your client and the service being called)

    • then actually creating a channel using that channel factory, to establish the link.

    Creating the channel factory is a fairly expensive step – so if you do it manually, you’d want to try and cache that channel factory for as long as you can.

    Creating the actual channel from the channel factory is not nearly as intensive a task.

    So if you do have access to your service contract (e.g. by means of a shared contracts assmebly), you can break up the process of creating your client side proxy into two steps, and hopefully optimize the first one (by caching the channel factory).

    But again: this requires you have access to your service contract directly – typically only the case if you control both ends of the communication, and both ends are .NET.

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

Sidebar

Related Questions

Does anyone know of any method in Rails by which an associated object may
As some of you may know, use of the LIMIT keyword in MySQL does
may i know how to use this getMicrophone with simpleFLVWriter to create flv with
may i know possible to use spring security to limit max number of users
may i know how to use jquery to lock all the <input type=submit/button ..
You may know this recommendation from Microsoft about the use of exceptions in .NET:
I have a working code using OPENFILENAME. May i know how to use strcat
May I know can the Eclipse plugin Hibernate tool use to generate JPA entity
as shown above may i know is there a way to check a return
As you may know, in VS 2008 ctrl + tab brings up a nifty

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.