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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:51:46+00:00 2026-05-13T06:51:46+00:00

People says that libraries shouldn’t have configuration files. I can’t pass arguments to my

  • 0
  1. People says that libraries shouldn’t have configuration files.
  2. I can’t pass arguments to my WCF service class from its host (but I can from the client).
  3. I don’t want to store the configuration on the client.
  4. What should I do?
  • 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-13T06:51:46+00:00Added an answer on May 13, 2026 at 6:51 am

    What are you asking? Are you talking about settings for the service (the server side), or the client?

    Why can’t you just use client-side config files like you do for other apps? This is the built-in, preferred way of doing things – why insist on not using it??

    So again: what is it really that you’re asking? Or what problem is it, that you’re trying to solve, really?

    • for a service (server-side): store your bindings, behaviors, service endpoints etc. in the web.config (if hosting in IIS) or in the app.config of your service host (if NT Service or console app)

    • for a client: store your configuration in the main app’s app.config that uses your library. If you want to, you can provide ready-made “client.config” and “bindings.config” files and then just simply add

      <system.serviceModel>
         <bindings configSource="bindings.config" />
         <client configSource="client.config" />
      </system.serviceModel>
      

    to your client app’s app.config – doesn’t get much easier than that, really!

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

Sidebar

Related Questions

I've met quite a few people lately who says that 3rd party libraries doesn't
People familiar with Homographies will know that you have to normalize it dividing by
We have a product that allows people to schedule posts to Facebook. We have
If Klout says that I am influencing 10 people on Twitter, I see that
I have a class that needs to be sortable in a couple of different
Everybody always says that they can beat the 10 lines per developer per day
I have a database with a table called games. People can send invites to
As much i read about razor most of the people says that in razor
Information on Can I Use says that Chrome supports XMLHttpRequest Level 2. I used
people. I have slight problem with GD2 text on image. I have everything working

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.