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

The Archive Base Latest Questions

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

i am trying to tidy up my code, i have a number of projects

  • 0

i am trying to tidy up my code, i have a number of projects that have References to my Service Layer i.e the DLL. What this means is that when i distribute a new service layer i have to upload a number of service layers which are generally the same..

Of course using the ADD Reference is very fast as its one assembly talking to another…

I wanted to know the pros and cons of an alternative method..

I could use a web service/wcf to wrap my service layer but isn’t this defeating the object..

And what about speed, now my desktop applications need to call to web service/wcf instead of accessing the assembly reference??

My service layer talks to my data layer of course and my clients nevere talk to the data layer directly..

Its the issue of the service layer which is where my business logic is which is shared amongst a number of apps..

Desktop app, 2 x website, 2 x wcf projects(used as web services)

Any advice on how i can achieve the fastest possibly scenerio without repeating my code which is effect what i am doing now i.e.

each app (desktop, website, wcf) have copies on the same DLL and have references (add reference in vs 2008) ..

Ideas?

  • 1 1 Answer
  • 1 View
  • 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-12T06:38:58+00:00Added an answer on May 12, 2026 at 6:38 am

    I think you would benefit best by using WCF (which wraps up .net remoting, msmq, etc.). Then you wouldn’t have to copy a dll with each program… they can just point to a WCF service. This type of service oriented architecture is great for what you are describing.

    From my experience with WCF so far, I have not noticed any performance hits, especially on an internal network.

    Here’s a good overview on WCF: http://msdn.microsoft.com/en-us/library/aa480210.aspx

    Hope this helps!

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

Sidebar

Related Questions

I am trying to tidy up my code now that Delphi XE2 is available
I have been reviewing my code trying to tidy it up, and I am
I am trying to tidy up my code so that I can easily reuse
I'm trying to tidy up my code. I have an array with 5 columns,
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
trying to figure out why this is happening - I have an input text
Trying to tidy up scope and avoid possible multiple calls to RegisterWindowMessage. Currently have
I'm trying to deserialize an XML that comes from a web service but I
I'm trying to tidy up my code a bit, therefore one step I wanted
I am trying to keep my code tidy and move most of the functionality

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.