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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:42:11+00:00 2026-05-23T12:42:11+00:00

My solution is composed of several Class Library projects. One of these include a

  • 0

My solution is composed of several Class Library projects. One of these include a Service Reference. The functionality exposed by this particular assembly will need be called from several other assemblies.

How can I manage the configuration file(s) for this solution, so that I don’t have to repeat the <system.serviceModel> contents on every single assembly making use of the web 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-23T12:42:12+00:00Added an answer on May 23, 2026 at 12:42 pm

    That approach (repeating in every app’s config) is the default and recommended way to go – you cannot easily have config files for class-library assemblies (you can, but it’s a fair bit of work to get them to actually work – not worth the trouble).

    If you can’t live with this, you could definitely create your WCF client proxy in code, bindings, options, endpoints and all. You do gain a bit of ease-of-use (no more config needing to be put into every app calling the class library), but you loose a bit of flexibitlity (endpoint addresses and binding options are now hard-coded).

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

Sidebar

Related Questions

I have a solution composed of several layers: controller > service > business >
I have a C# solution composed of three projects in Visual Sudio 2010. One
My scenario is this. I have a single entity composed of several rows in
I have a c# solution and its composed of numerous projects. I have a
I'm curious if it's possible to take several conditional functions and create one function
I have a website solution that is composed of a Silverlight Project and an
I have a MEF based solution that has several exported implementations of an interface.
I have an ASP.NET MVC site which is composed of 3 projects in a
I have this domain model: class Person < ActiveRecord::Base composed_of :address, mapping: [%w(address_street street),
I have a data provider project to access the database. this is composed by

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.