Gac and applications.....???

A

Anthony Nystrom

Do I need to reg my assemblies with the gac to distribute my application...
My app seems so run fine whether they are registered or not... As long as
they are in the app dir it works fine... What's the rule? What's the
recommendation....? I know in dev I register my strong name assemblies but
for distribution to client machines it doesn't seem to matter if I reg with
gac or not....


Let me know....Thanks in Advance...

Anthony Nystrom
 
S

solex

It depends if you are going to reuse your assemblies in other applications
then it would be a little bit of a performance enhancement to use the GAC
but you would loose the ability to XCOPY-install your app. Also there is no
need to assign a strong name unless you are using the GAC and want the extra
security provided by the SN

Dan
 
G

Gary Chang

Hi Anthony,

Thanks for using Microsoft MSDN Managed Newsgroup.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.

If you have any more concerns on it, please feel free to post here.

Thanks!


Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
P

Peter Huang

Hi Anthony,

From your description, I understand that you wants to know when it is
proper to put an assembly into GAC when you deploy the applicatioin.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

I agree with solex's suggestion. For private assemblies which will not be
used by multiple applications, I think it is no need to strong name it and
put it into GAC. So that you can utilized the XCOPY-install with which you
can deploy your application by copying the files. If the assembly will be
used by multiple applications, then you may put it into the GAC for shared.

For detailed information, you may take a look at the link below.

Structuring a .NET Application For Easy Deployment
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht
ml/structnetapp.asp

Best regards,

Perter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top