RE: Shared Business Logic DLL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Saurabh Nandu (SaurabhNandu_at_discussions.microsoft.com)
Date: 10/08/04


Date: Thu, 7 Oct 2004 23:53:03 -0700

hi,

You can strong name it and deploy it into GAC.
Once deployed in the GAC, then both your Web Application and Web Service can
use the same came copy of the Core.dll from the GAC while on a single machine.

The other way is to seperate out the Business Entitiy objects that hold the
data into a seperate library so that you do not have to copy the Business
Logic & Dal into the web application. Only the Business Entites Dll is
copied in both the applications.

Let me know if you need more details on this.
 



Relevant Pages

  • Re: COM+ Beginners guide
    ... If you mean that your applications use the same dataaccess and business ... When changes are made to the assemblies redeploy them to the GAC again - ...
    (microsoft.public.dotnet.distributed_apps)
  • Spontaneous 404 error
    ... I was minding my own business last week after having updated the GAC ... with the latest version of my webpart dll when all of sudden I started ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Using GAC from a Web Service
    ... change security requirements or privilege, ... trivial for a bad guy to deploy an evil component into the GAC. ... My Web Service has to open an OleDbConnection ... permissions problems in IIS 6, and I am trying to remedy the situation by ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Sharing Code
    ... Thanks for the additional info regarding the GAC. ... for right now my main concern is simply a credit-card-gateway library I just wrote that will be used by a couple of applications running on my desktop. ... I'll probably just add references to the DLL. ... That's what it's for (sharing one .dll amongst multiple apps). ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: The GAC
    ... The GAC uses a different mechanism for doing usage counting. ... Likeiwise, you can uninstall the component many times, but the install acts ... like a two-phase uninstall - the first phase uninstalls the trace reference ... The result is that there is no way to determine which applications are using ...
    (microsoft.public.dotnet.languages.csharp)