473,237 Members | 1,392 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,237 software developers and data experts.

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 3901
On Aug 2, 3:05*am, steve <st...@discussions.microsoft.comwrote:
Im 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
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
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
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
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
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
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
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
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
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
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.