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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:21:58+00:00 2026-05-16T06:21:58+00:00

I am writing a Windows Forms application which is growing and becoming quite extensive.

  • 0

I am writing a Windows Forms application which is growing and becoming quite extensive.

Initially I thought that a separate project for graphical components and one for business logic and one for data access would be the best approach.

As the application gets larger I’m beginning to think that a more modular approach would be cleaner… e.g. a project containing user controls, business logic and data access for each ‘category’ of data.

For example… DAL objects relating to Products along with the associated business objects and user controls in a single project. This should end up with a larger number of projects within the solution, each one being self contained.

This may, however, cause more complications as the data is often linked (product table is linked with supplier table and orders table and parts list table etc.) So it would be difficult to completely abstract each category.

There are hundreds of software architecture articles online but not many which help you to translate that architecture into solutions, projects and code.

Could anyone point me in the right direction?

  • 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-16T06:21:58+00:00Added an answer on May 16, 2026 at 6:21 am

    I would keep UI, data and business layers in separate projects. This essentially reduces chance of tight coupling – for example, data layer being directly used by UI code etc. Now, if you wish to divide this vertically then you can do that as well as i.e. Products will have three projects UI, Business & Dal and so on. There can be multiple considerations out here:

    1. Why are you separating vertically – do you see a possible independent reuse? If no then avoid dividing.
    2. If you must divide then you may choose divide say only UI layer from management perspective because it may have lot of code
    3. Or you may divide all layers but at coarse grain. For example, Products and also its children together.

    As far as cross category references are concerned, they cannot be avoided but they must be done via well documented & designed contract. For example, Orders UI may call Products BL to get list of products (note that the same method will be used by many other UI components for similar functionality).

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

Sidebar

Related Questions

I'm writing a Windows Forms application which is supposed to play three sound files
I am about to start on a journey writing a windows forms application that
I'm writing a .NET Windows Forms application that will post a message to a
I am writing a windows forms application that has a check box regarding the
Let's say I'm writing a Windows Forms (.NET Framework 3.5) application which shows the
I'm writing a Windows Form Application, that makes extensive use of datagridview and others
I'm writing a Windows Forms Application in C#.NET On startup, the application displays a
I'm writing a windows C# application which I wish to use data grid views,
I'm writing a windows forms application to be sold to small to mid-size corporations
I'm writing a C# Windows Forms application. How do I hide the form while

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.