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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:16:47+00:00 2026-06-02T04:16:47+00:00

I am new to WCF and I have some difficulties understanding certain things… I

  • 0

I am new to WCF and I have some difficulties understanding certain things…

I want to create a web service, so I have created a WCF application service that I will be able to host via my IIS server, so far so good, right ?

But that service need some settings, like the SQL Server address where he have to get his data. And that’s where I don’t understand how I am supposed to create a WPF application that will control the service.

I know how to create a client application to consume the service, but how to create a WPF application that will be installed on the server, and when launched will retrieve the service and allow me to tell him parameters I want him to use.

If someone could give me the overall workflow, it will be greatly appreciate ^^

  • 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-02T04:16:50+00:00Added an answer on June 2, 2026 at 4:16 am

    Usually, there’s a configuration file that goes with the web service (like the app.config file for applications). The file is called web.config. This is the place where you configure everything – from the service behavior to specific settings like connection strings etc.

    Usually you do not have a configuration tool for a web service – you edit the web.config file and you’re done.

    EDIT
    OK, if you really want such a program, there are ways to do that. I’d try the following:

    The web.config file contains a section called appSettings for application settings. This section can be outsourced into a separate file. The line to include such a file would look like:

    <appSettings file="mysettings.config"/>
    

    The file itself would contain a normal appSettings section:

    <appSettings>
        <add key="Info" value="myself" />
    </appSettings>
    

    Now you could have a normal application that reads the XML file mysettings.config and is able to write a changed version of the file (please note that you need appropriate rights to read/write the file).

    While you shouldn’t need to restart IIS or the WebService upon changes to the web.config file, I’m not sure about changes to the mysettings.config file – you might need to restart your WebService after modifying the file.

    Another way would be to create functions in the service that allows a client to get/change settings and the service itself stores them somewhere.

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

Sidebar

Related Questions

I'm new to WCF I have to create a WCF service that receives plain
I have some doubts regarding service hosting in WCF. I want to host a
I have been looking into refactoring some old code into a new WCF service,
I have created a WCF service in my project and I have some classes
I'm new here and I hope anyonte can help me. I have WCF Service
I'm trying to learn WCF and I've created a new WCF Service Library project
Greetings!! I am new to wcf and have some doubts. I am able to
I am fairly new to WCF and have created a few services, so I
I have an asp.net mvc 2 web application that connects to a WCF web
I am new to WCF,my task is to create,maintain sessions in WCF I have

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.