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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:42:42+00:00 2026-06-15T21:42:42+00:00

In a standard 3-layered application (Winforms Ui, BLL, DAL) i need to have settings

  • 0

In a standard 3-layered application (Winforms Ui, BLL, DAL) i need to have settings specific for each layer.

Should i use the Winforms application settings to include all of them or i should have each dll (BLL,DAL) come with their settings?

I need a simple solution and not in a database or custom xmls, also i need to provide multiple UIs for the same architecture.

Update: Currently i am leaning towards separate .config files for each layer, i just dont know if this is the best practice that will allow for most of future changes (changes in layers and/or multiple UI apps).

Outcome: I think i am gonna have a static singleton class in every project that i need settings. I am gonna populate them by the upper layer every time with the most suitable way.

  • 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-15T21:42:43+00:00Added an answer on June 15, 2026 at 9:42 pm
    1. Custom xml file is flexible approach but need a bit effort.

    2. Use a separate library project only to serve for settings, its easier way as you may use default settings class to save/load settings but not very flexible for nested settings.

    3. Put all settings with DAL since it live at root and all other projects (UI, BAL) reference it)

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

Sidebar

Related Questions

The standard method to get the range of an Excel spreadsheet in use is
I'm developing an enterprise-like application that fetches data from a remote server. I have
The standard C library functions strtof and strtod have the following signatures: float strtof(const
Standard newbie question. I've created a data model for an iOS application. I am
Standard WPF 4 Datagrid. Let' say I have datagrid 200 pixels wide, and 2
Standard password security involves generating a random salt for each user, somehow combining that
Hi i have a standard tif file and I want to create a multi
I'm manipulating the inbuilt Layered Navigation filters to use checkboxes in place of the
Standard containers with an std::allocator have their size_type defined as std::size_t . However, is
The standard api does not include an AtomicBitSet implementation. I could roll my own

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.