473,503 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gac to Private assembly

Hi,

I’m working on a project where I need to use the GaC to register Global
DLL's and a program uses the dll to perform tasks.
This works fine.

From those dll"s I want to use private assembly's (private dll's) that I do
not want to install in to the GaC.
Example: application (SharePoint) uses Gac Dll's they trigger actions that
uses my private Dll's.

My question is what the best way to do this within the same server, across a
network and across the internet or vpn?
Can I use them directly and how?
It is just some things that I been wondering for some time now but still
didn't find a good answer to.

I've been playing around with enterprise services and WCF.
I like WCF but do not know if this is the best framework to use in all 3
cases?
Within the WCF I got the thing working with wsHttpbinding but want to use
tcpBinding and netNamedPipeBinding all the examples I find on the net are
http almost no tcp or namedpipe binding configurations so if someone could
point me in the right directions?

It is just a thing that I been wondering for some time now but still didn't
find a good answer to.

thanks

Aug 1 '08 #1
3 3905
On Aug 2, 3:05*am, steve <st...@discussions.microsoft.comwrote:
I’m working on a project where I need to use the GaC to register Global
DLL's and a program uses the dll to perform tasks.
This works fine.

From those dll"s I want to use private assembly's (private dll's) that I do
not want to install in to the GaC.
Why do you not want to install them to GAC?
Example: application (SharePoint) uses Gac Dll's they trigger actions that
uses my private Dll's.
Well, GAC assemblies are an unfortnate but inevitable artifact of
SharePoint development, and most SP developers I've seen (myself
included) just end up putting it all into GAC - it's no worse than
having half of your stuff there, and half elsewhere.
Aug 2 '08 #2
Pavel,
>Why do you not want to install them to GAC?
Just to get a picture on how to work with those problems where you got a
private DLLapp with some classes and want to use them in let's say 3
applications (sharepoint, myapp1, myapp2) installed on different servers and
want to upgrade.

Also i want to now if you can debug in the gac?


"Pavel Minaev" wrote:
On Aug 2, 3:05 am, steve <st...@discussions.microsoft.comwrote:
I’m working on a project where I need to use the GaC to register Global
DLL's and a program uses the dll to perform tasks.
This works fine.

From those dll"s I want to use private assembly's (private dll's) that I do
not want to install in to the GaC.

Why do you not want to install them to GAC?
Example: application (SharePoint) uses Gac Dll's they trigger actions that
uses my private Dll's.

Well, GAC assemblies are an unfortnate but inevitable artifact of
SharePoint development, and most SP developers I've seen (myself
included) just end up putting it all into GAC - it's no worse than
having half of your stuff there, and half elsewhere.
Aug 2 '08 #3
On Aug 2, 1:01*pm, steve <st...@discussions.microsoft.comwrote:
Just to get a picture on how to work with those problems where you got a
private DLLapp with some classes and want to use them in let's say 3
applications (sharepoint, myapp1, myapp2) installed on different servers and
want to upgrade.
I don't see how installing or not installing into GAC would solve this
problem for you. You'll still have a copy of assembly on each server,
so upgrading will be just as tedious.
Also i want to now if you can debug in the gac?
You can do that as usual. If you mean loading debugging symbols, then
you'll have to copy the .pdb file into the GAC so that it's in the
same folder as your .dll - gacutil will not do it itself, but there
are similar 3rd-party utilities out there which copy .pdb on
installation as well.
Aug 3 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2311
by: Daylor | last post by:
can shadowcopy be done with private assembly ? any info about how shadowcopy actually works ? when im compiling an assembly (while the assembly file is in use ), what i need to do ? change...
2
672
by: Yang Liu | last post by:
Hi all, I have a .net windows application xx.exe, which reference a private assembly yy.dll, the property "local copy" of the yy.dll reference is automatically set to true, so the yy.dll will be...
1
741
by: Bob Rock | last post by:
Hello, in the last few days I've made my first few attempts at creating mixed C++ managed-unmanaged assemblies and looking aftwerwards with ILDASM at what is visible in those assemblies from a...
10
7341
by: Sunny | last post by:
Hi, I have an old problem which I couldn't solve so far. Now I have found a post in that group that gave me an idea, but I can not fully understand it. The problem is: I'm trying to use a...
6
2576
by: Sathyaish | last post by:
Where is the private key to an assembly stored? The public key is stored in the manifest. All clients that reference the shared assembly, when compiled, store the public key _token_ into their...
4
1818
by: _iycrd | last post by:
I have one class that is used as a low-level utility class by other classes in the same assembly. I'd like to make sure it's not visible outside the assembly. C# has modifiers 'public',...
0
1709
by: Ratul | last post by:
Hi all! I'm writing a winforms test harness which lets me specify a subfolder from which to load a particular .net assembly dll. The idea is that there will be multiple subfolders, each having...
2
2427
by: Sky | last post by:
Hello: I'm trying to make sense of snk files, when to use, under what conditions to regenerate new ones,...can someone take a look if these statemes make sense? And then the final questions at the...
1
3679
by: Tony Johansson | last post by:
Hello! If I select a private assembly in ILDASM I get a lot of information listed but if I select a shared assembly located at c:\window\assembly(GAC) I get nothing listed. So is this normal...
26
2408
by: Zytan | last post by:
What happens if I do this: static byte MemberFunction() instead of: public static byte MemberFunction() I know I can't access it. But what does it default to? Private? I can't find any code...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7313
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.