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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:52:50+00:00 2026-05-23T16:52:50+00:00

In my C# app I have several libraries. E.g: main app EXE Helper DLL,

  • 0

In my C# app I have several libraries. E.g:

  • main app EXE
    • Helper DLL, A
    • Helper DLL, B
    • Helper DLL, C
    • Data access DLL, D

My data access DLL, D, has an interface it exposes. Helper DLL B exposes another interface that has basically the same properties, but it’s not the same interface (namespace wise and slightly with respect to how those properties are accessed). Furthermore, Helper DLL A uses what B and D expose. This is leading to confusion on my part as I need to connect B & D in A, but I find myself trying to convert between these interfaces and something doesn’t seem right about it.

I’m confused as to what I should do:

  1. Use the data access interface from D across the whole app or…
  2. Have each DLL have separate interfaces and convert between them as they cross from one DLL to another.

Is there a preferred solution? If so, why?

  • 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-23T16:52:51+00:00Added an answer on May 23, 2026 at 4:52 pm

    If you need all that interfaces, it’s diffcult to say to me just by reading your post, I would, personaly, suggest put them all in DataAccess and also conversion utilities too. So you will have all in one place and any Helper you’ll write in the future will need to refer only that.

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

Sidebar

Related Questions

The main idea is that I have several worker instances of a Rails app,
I have a winforms app and the main (and only) form has several buttons.
I have an app that relies on several managed libraries. These managed libraries in
I have several buttons on my app that are being created dynamically. They are
I have several objects in my app that can become nil at some point
I have a VB6 application that still references some old VB5 libraries (dll, vbr,
We have an app that has crashed on armv6 iOS devices coming from the
We have a web app built on Jboss that has been in production for
Writing a PHP app and have several classes that only have static methods (no
I have several tableviews in my app and the data source for each tableview

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.