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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T20:26:46+00:00 2026-06-18T20:26:46+00:00

I have a scenario where 1 Winform app is installed on multiple Citrix servers.

  • 0

I have a scenario where 1 Winform app is installed on multiple Citrix servers. The app should have exactly the same configuration on each server (we have multiple servers for scale).

I would like to be able to share just 1 copy of the app.config file, so that I can make a change in 1 place and have it effect every installation of the application.

As nearly as I can tell, the only built-in support from .net is to use the configSource attribute, but that only works for individual config sections. I would like to share the whole config file (or at least config groups).

Am I missing anything built into .net that would help me?

If not, are there any good third party or open source solutions out there?

  • 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-18T20:26:47+00:00Added an answer on June 18, 2026 at 8:26 pm

    You could put your app.config somewhere on a share and modify your winform application startup code, using the trick described on SO here: Change default app.config at runtime, something like this:

    namespace WindowsFormsApplication1
    {
        static class Program
        {
            /// <summary>
            /// The main entry point for the application.
            /// </summary>
            [STAThread]
            static void Main()
            {
                using (AppConfig.Change(@"\\myserver\mypath\app.config"))
                {
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new Form1());
                }
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my winform application I have the following scenario: I want to get multiple
I have scenario where I have to use the same XSD element for different
I have a scenario in which I have to run multiple commands one after
I have a scenario where combobox can have same string values. for exa combo
This is my scenario... I have a winForm tabControl that has a variety of
Say you have multiple MVP triads in your application (WinForms .NET 2.0 app) and
Following is the scenario. I have something called as Domain which can have multiple
Scenario: I have Window Application to be installed/updated from website. User needs to enter
I am making a personal WinForms app. In my scenario say I have a
Scenario: In a Winform application(C#), I have a Datagridview in which I have to

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.