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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:12:14+00:00 2026-05-22T03:12:14+00:00

I have two web services that are both contained underneath a common subdirectory CompanyName\Service1

  • 0

I have two web services that are both contained underneath a common subdirectory

CompanyName\Service1
CompanyName\Service2

Each directory has a bin folder that contains its dlls. I’ve now come to a point where some of this code has been restructured and has quite a few common components and i’d like to be able to ‘share’ them. What would be the best way to go about this? Below is a list of solutions I have found (along with the negatives).

  • AssemblyResolving – Security issues.
  • codeBase element inside of web.config – Hardcoded paths to component locations.
  • GAC – Currently non of our products use the GAC and I personally have very limited knowledge on using it. This one may just be a fear of the unknown.
  • Place assemblies in both locations – Harder to update in place patches. Need to ensure files get replaced in all locations.

Am I missing anything else that could be helpful to me? Would anyone recommend using any of the options listed above?

Additionally, I cannot combine the two services into as they are currently used by third parties (they were build separately).

  • 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-22T03:12:15+00:00Added an answer on May 22, 2026 at 3:12 am

    i would go for the GAC, since is solves all your other problems that you listed,
    plus it looks natural that a shared library will be in one location.

    to use the GAC, all you need it to strong name the dll, and drop it in the GAC in install time
    it also gives you good side by side versioning options (one WS using version 1.0.0.0 , another can use 1.0.0.1)

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

Sidebar

Related Questions

I have two identical servers. Both Win2k3. I have a web service that queues
I have two code projects both using CXF to use web services. When I
I have a web application containing two web services, let's say PublicHello.asmx and RestrictedHello.asmx
We have a web application where you can access two services/functions (Buy and Rent).
I have two applications: c++ service and a RoR web server (they are both
I have two web applications in the same solution. They both use different membership/profile
I have two web applications that are running on a single Tomcat server and
We have two servers, both are containing a local application connecting to local web
I have a Java EE application that has REST web services attached to it.
I have an interesting problem, I have two web services defined in a spring-conf.xml

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.