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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:04:00+00:00 2026-05-28T04:04:00+00:00

When I develop a WCF service/client with a configuration file, a new file app.config

  • 0

When I develop a WCF service/client with a configuration file, a new file app.config is created with a section system.serviceModel. Since in my application I should save and load application-specific settings (colors, location of log files, etc), I read documentation about ConfigurationManager class: these settings are also stored in the app.config file within the appSettings section.
So, the configuration parameters both for the WCF service/client and for the application-specific settings are loaded from the same file app.config, but from different sections.

Is this the type of use of the app.config file?
Or should I use a different file for the application-specific settings?
Moreover I did not understand the use of configSections…

  • 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-28T04:04:01+00:00Added an answer on May 28, 2026 at 4:04 am

    The situation you describe is exactly how the app.config file works.

    Normally there are different parts in app.config file for things like Connection Strings, WCF configuration settings but also for your own custom settings.

    The ConfigurationManager class can be used to access Application specific settings, Connection strings and other configuration data.

    ConfigSections are defined on your machine for all standard configuration elements. You can also use ConfigSections to create your own custom sections that can be placed in app.config.

    Here is some documentation how to do that.

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

Sidebar

Related Questions

After couples of WCF tutorials, I could develop a WCF client/Server application, both service
I am trying to develop a .NET 3.5 service application that uses: WCF for
I'm going to develop high-available WCF service that should serving client with 99.9% uptime.
I am going to develop a WCF service that connects back-end system with two
I'm trying to develop and deploy a WCF service using VS2008 and Vista home
I am using VSTS 2008 + .Net + C# 3.5 to develop WCF service
I need to develop a WCF server (basically a web service which will eventually
I am using VSTS2008 + C# + .Net 3.5 to develop a WCF service
i have develop a silverlight application with wcf net.tcp binding. i want create an
I am trying to develop a system that has 2 tiers: a mobile client

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.