473,327 Members | 1,920 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,327 software developers and data experts.

Common Files...vs GAC

VJ
We have a bunch of dll's that are shared among our 5 applications. We are
still debating between putting it in CommonFiles vs GAC. I still see a
problem with putting in GAC that it will be available in any any development
enviroment by default. It can also be from Commonfiles, but mostly that
would be a manual browsing and add reference. Is there a way to Secure
deployment possible in GAC, other than issuing a LIC key for each dll, that
only our applications can read.. Oh all our commong DLL's are in .NET and
are in managed code.

Thanks
VJ
Nov 16 '05 #1
3 2182
CommonFiles ??

with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #2
You can use security to restrict callers into your assembly - I don't recall
the details but I believe there is an attribute you can decorate the classes
and methods with that require the caller to be signed with a specific strong
name.

As to the GAC, I prefer to avoid putting application specific files in the
GAC. I believe that over time the GAC will get as overused and lead to as
many problems as we have had with the registry. I prefer to create a Common
folder in a directory below the application base and ensure that references
to assemblies in that folder can be resolved by the fusion layer.

One of the reasons is that this is compatible with xcopy deployment. Using
the GAC requires an installation program to add/remove assemblies. If the
DLLs are kept private then installing the files is done simply by copying
them along with the application, and uninstalling is merely a matter of
deleting the files.

Another advantage is that it makes it easier to configure a clean build
machine. All references to those assemblies can be made relative to the
directory on disk, and nothing needs to be installed onto that machine for
the build to succeed.

There are some advantages to using the GAC, but IMO these are of benefit
mainly for components that are expected to be shared amongst unrelated
applications.

My two cents worth.
"VJ" <vi********@yahoo.com> wrote in message
news:uW****************@TK2MSFTNGP15.phx.gbl...
We have a bunch of dll's that are shared among our 5 applications. We are
still debating between putting it in CommonFiles vs GAC. I still see a
problem with putting in GAC that it will be available in any any
development enviroment by default. It can also be from Commonfiles, but
mostly that would be a manual browsing and add reference. Is there a way
to Secure deployment possible in GAC, other than issuing a LIC key for
each dll, that only our applications can read.. Oh all our commong DLL's
are in .NET and are in managed code.

Thanks
VJ

Nov 16 '05 #3
VJ
Thanks David , that was really helpful

VJ
"David Levine" <no****************@wi.rr.com> wrote in message
news:u3**************@TK2MSFTNGP15.phx.gbl...
You can use security to restrict callers into your assembly - I don't
recall the details but I believe there is an attribute you can decorate
the classes and methods with that require the caller to be signed with a
specific strong name.

As to the GAC, I prefer to avoid putting application specific files in the
GAC. I believe that over time the GAC will get as overused and lead to as
many problems as we have had with the registry. I prefer to create a
Common folder in a directory below the application base and ensure that
references to assemblies in that folder can be resolved by the fusion
layer.

One of the reasons is that this is compatible with xcopy deployment. Using
the GAC requires an installation program to add/remove assemblies. If the
DLLs are kept private then installing the files is done simply by copying
them along with the application, and uninstalling is merely a matter of
deleting the files.

Another advantage is that it makes it easier to configure a clean build
machine. All references to those assemblies can be made relative to the
directory on disk, and nothing needs to be installed onto that machine for
the build to succeed.

There are some advantages to using the GAC, but IMO these are of benefit
mainly for components that are expected to be shared amongst unrelated
applications.

My two cents worth.
"VJ" <vi********@yahoo.com> wrote in message
news:uW****************@TK2MSFTNGP15.phx.gbl...
We have a bunch of dll's that are shared among our 5 applications. We are
still debating between putting it in CommonFiles vs GAC. I still see a
problem with putting in GAC that it will be available in any any
development enviroment by default. It can also be from Commonfiles, but
mostly that would be a manual browsing and add reference. Is there a way
to Secure deployment possible in GAC, other than issuing a LIC key for
each dll, that only our applications can read.. Oh all our commong DLL's
are in .NET and are in managed code.

Thanks
VJ


Nov 16 '05 #4

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

Similar topics

3
by: S.W. Rasmussen | last post by:
With the risk of being accused of multi-posting I would like to draw the attention to a serious visual basic/windows issue discussed in the microsoft.public.vb.bugs newsgroup. As pointed out below...
8
by: Jan van Veldhuizen | last post by:
The UPDATE table FROM syntax is not supported by Oracle. I am looking for a syntax that is understood by both Oracle and SqlServer. Example: Table1: id name city ...
5
by: MK | last post by:
Dear friends, I have many HTML files and they all have some common HTML code which is basically bunch of tags which are in all the files. How can I put the common code in one file and then share...
4
by: Ron Nolan | last post by:
Re: Access 2000 Has anyone been able to find information in the online help on the topic of "Common Dialog Control? If so, what did you type in your search to receive the information? I've been...
23
by: George | last post by:
Is there a way to customize the open file common dialog? I am trying to modify the button text so I can create a delete file common dialog. I need the same functionality of the open file common...
3
by: Marty | last post by:
Hi, I am building a solution with 2 projects within it. There is several common classes (.vb) files between the two projects. How can I seperate common classes from private classes for each...
0
by: ulrik | last post by:
Hi, I have a C# solution with 3 projects, a server-part, a client-part and a common part. When I build the solution in VisualStudio or using plain MSBuild on the solution file, the outputs of...
4
by: | last post by:
I have learned about compartmentalizing my code base using Class Libraries. I have my common code such as my ORM framework broken out into their own Class Libraries, which are referenced as...
5
by: BelieveRich | last post by:
Hi, Can anyone help me on this? Right now I have approximately 30 driver files for 30 different devices in .c (each of them have 30 ~ 40 object files dependencies). I am asked to find all...
8
by: Arno R | last post by:
Hi all. When I need to search for pictures, I always have too choose thumbnail-view manually. Is it possible to open the common dialog in thumbnail-view programmatically? Example ?? At the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.