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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:57:19+00:00 2026-05-26T20:57:19+00:00

I did check before posting so if this is a dup I apologize. I

  • 0

I did check before posting so if this is a dup I apologize.

I am working on what will start as a WinForms application that is a layered design based on the MVP pattern. I have created two assembly projects that will start as my presentation layer.

Company.Project.Presentation.Core — This assembly contains all contracts/interfaces for views and presenters

Company.Project.Presentation.WinForms — This assembly contains the concrete implementations of the views and presenters.

The main reason I thought to do this was so that if we decided to move to WPF then the contracts would be in their own independent assembly.

Does this seem like a good idea? or am I just increasing the number of projects in my solution when one assembly with sub-folders/namespaces would be good enough?

Thanks for any input in advance,

Jeremie

  • 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-26T20:57:19+00:00Added an answer on May 26, 2026 at 8:57 pm

    It is generally a good idea to separate your business logic and implementation details from your UI. A separate assembly is a common and visible way to enforce this. Also, making the assembly name match the namespace name is a great idea.

    So far so good 🙂

    I would do more than just put contracts in it, though. I’d place all the core business logic in it as well, separating it from the UI as much as possible.

    am I just increasing the number of projects in my solution when one assembly with sub-folders/namespaces would be good enough?

    If you have a potential for multiple programs to reuse that logic, you absolutely should keep it in a separate assembly. Exposing the logic through a console application (for scriptability) or a web application are common refactors in many companies.

    I’d personally determine the likelyhood of those things for my project/company before I worried about those possibilities very much. But I’d still separate my business logic as it would save me time later, because it always lowers the barrier to maintenance work (bug fixes, etc).

    Multiple projects can easily be browsed if you’re using your Visual Studio shortcuts correctly. F12 is a good one to learn, as it will take you straight to the code that implements what your cursor is focused on.

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

Sidebar

Related Questions

I did check those posts about Infinite gallery before posting this question but it
Tried posting this before but it did not go through (i think) so if
Sorry if this has been asked before, I did check but couldn't find anything...
Does anyone know how they did that effect? Check this link. If you click
Although I think that I did it before successfully, but this code does not
Disclaimer: I did check other questions that seemed related, but this one is much
I want to check for user inactivity in my application. I did a little
I tried this question before and did not supply enough information, so here are
I have a small AJAX application, written in PHP that I did not secure
I did check the example reverse_client_cb with the reverse_worker as a worker. The worker

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.