Hi,
I have a question regarding the Global Assembly Cache (GAC) and Source
Safe. We have some common dlls which we would like to put in GAC so that they
can be used in different applications. We are using Source Safe as a Version
Control. Let's say I have created a data access library( one of common dll)
and put in the source safe. I have created one web application which needs
to access this data access dll. Can I put this data access library in GAC and
refer it from there in my web application? If I need to deploy this web
application, how should I do that? If one of the other developers added some
functions to this data access library and checked in to source safe and if I
need to access these new functions what are the steps involved? Please let me
know.
Thanks, 4 1396
the best approach is to not use the gac. just build the shared code and
include the dll with your project. then you always have the version of the
library that matched your code. you can also change and distribute a new
version of libary with your app and not break anyone else. all using the
gac does is save some disk space.
-- bruce (sqlwork.com)
"Sridhar" <Sr*****@discussions.microsoft.com> wrote in message
news:17**********************************@microsof t.com... Hi,
I have a question regarding the Global Assembly Cache (GAC) and Source Safe. We have some common dlls which we would like to put in GAC so that they can be used in different applications. We are using Source Safe as a Version Control. Let's say I have created a data access library( one of common dll) and put in the source safe. I have created one web application which needs to access this data access dll. Can I put this data access library in GAC and refer it from there in my web application? If I need to deploy this web application, how should I do that? If one of the other developers added some functions to this data access library and checked in to source safe and if I need to access these new functions what are the steps involved? Please let me know.
Thanks,
There are performance issues associated with not using the gac. For
instance, each time the appllication is loaded, the CLR will touch every
function in this new library for code verification purposes. However, this
is just a one time startup cost. I've not measured this expense so I cannot
give an estimate on how bad it is.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote
in message news:%2****************@TK2MSFTNGP02.phx.gbl... the best approach is to not use the gac. just build the shared code and include the dll with your project. then you always have the version of the library that matched your code. you can also change and distribute a new version of libary with your app and not break anyone else. all using the gac does is save some disk space.
-- bruce (sqlwork.com) "Sridhar" <Sr*****@discussions.microsoft.com> wrote in message news:17**********************************@microsof t.com... Hi,
I have a question regarding the Global Assembly Cache (GAC) and Source Safe. We have some common dlls which we would like to put in GAC so that they can be used in different applications. We are using Source Safe as a Version Control. Let's say I have created a data access library( one of common dll) and put in the source safe. I have created one web application which needs to access this data access dll. Can I put this data access library in GAC and refer it from there in my web application? If I need to deploy this web application, how should I do that? If one of the other developers added some functions to this data access library and checked in to source safe and if I need to access these new functions what are the steps involved? Please let me know.
Thanks,
Hi Alvin,
Thanks for the reply. I didn't understand your answer correctly. You
are saying that if I don't put an assembly in the GAC, every time when an
application loads, it will check for code verification in all the dlls. Is
that right? In that case, using GAC would be better option.
Thanks,
Sridhar
"Alvin Bruney" wrote: There are performance issues associated with not using the gac. For instance, each time the appllication is loaded, the CLR will touch every function in this new library for code verification purposes. However, this is just a one time startup cost. I've not measured this expense so I cannot give an estimate on how bad it is.
--
________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote in message news:%2****************@TK2MSFTNGP02.phx.gbl... the best approach is to not use the gac. just build the shared code and include the dll with your project. then you always have the version of the library that matched your code. you can also change and distribute a new version of libary with your app and not break anyone else. all using the gac does is save some disk space.
-- bruce (sqlwork.com) "Sridhar" <Sr*****@discussions.microsoft.com> wrote in message news:17**********************************@microsof t.com... Hi,
I have a question regarding the Global Assembly Cache (GAC) and Source Safe. We have some common dlls which we would like to put in GAC so that they can be used in different applications. We are using Source Safe as a Version Control. Let's say I have created a data access library( one of common dll) and put in the source safe. I have created one web application which needs to access this data access dll. Can I put this data access library in GAC and refer it from there in my web application? If I need to deploy this web application, how should I do that? If one of the other developers added some functions to this data access library and checked in to source safe and if I need to access these new functions what are the steps involved? Please let me know.
Thanks,
Sridhar <Sr*****@discussions.microsoft.com>'s wild thoughts
were released on Wed, 17 May 2006 12:48:01 -0700 bearing the
following fruit: Hi Alvin,
Thanks for the reply. I didn't understand your answer correctly. You are saying that if I don't put an assembly in the GAC, every time when an application loads, it will check for code verification in all the dlls. Is that right? In that case, using GAC would be better option.
You should also condider that .NET allows you to avoid 'dll
hell' by following Bruce's suggestion, however you can have
both the advantages and disadvantages of dlls by using the
GAC.
The 'startup' cost others have mentioned I have noticed in
windows forms apps, but I've yet to notice it in my ASP app,
but I guess we're all used to slight delays when using the
web.
Thanks, Sridhar
"Alvin Bruney" wrote:
There are performance issues associated with not using the gac. For instance, each time the appllication is loaded, the CLR will touch every function in this new library for code verification purposes. However, this is just a one time startup cost. I've not measured this expense so I cannot give an estimate on how bad it is.
--
________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote in message news:%2****************@TK2MSFTNGP02.phx.gbl... > the best approach is to not use the gac. just build the shared code and > include the dll with your project. then you always have the version of the > library that matched your code. you can also change and distribute a new > version of libary with your app and not break anyone else. all using the > gac does is save some disk space. > > -- bruce (sqlwork.com) > > > > "Sridhar" <Sr*****@discussions.microsoft.com> wrote in message > news:17**********************************@microsof t.com... >> Hi, >> >> I have a question regarding the Global Assembly Cache (GAC) and Source >> Safe. We have some common dlls which we would like to put in GAC so that >> they >> can be used in different applications. We are using Source Safe as a >> Version >> Control. Let's say I have created a data access library( one of common >> dll) >> and put in the source safe. I have created one web application which >> needs >> to access this data access dll. Can I put this data access library in GAC >> and >> refer it from there in my web application? If I need to deploy this web >> application, how should I do that? If one of the other developers added >> some >> functions to this data access library and checked in to source safe and >> if I >> need to access these new functions what are the steps involved? Please >> let me >> know. >> >> Thanks, > >
Jan Hyde (VB MVP)
--
Beverages: Coffee, Tea, Eye Swatter (Cynthia MacGregor) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Job Lot |
last post by:
I am having loads of problem using vb.net project under visual source safe.
I’ll start with
How can I exclude source safe information from the project when I take a
copy of project home? I...
|
by: Lou |
last post by:
Ok, I added my prject to source safe.
It worked good for a week, then, one time I couldn't get to source safe and
VB propmted to work offline, no I can't get any of my files back into source
safe....
|
by: Peter Tragardh |
last post by:
Is it possible to automate Source Safe the way Office is
automated by writing your own code? What I would like to do is
to create some code to enhance Source Safe, to customize it.
There is an...
|
by: Darren Clark |
last post by:
HOw do i get source safe working with .net?
I have source safe the server setup on our server...
however on my machine when i go File > Source Control > All options are
always greyed out.
...
|
by: gm |
last post by:
Immediately after generating the Access application from the Source
Safe project I get:
"-2147467259 Could not use ''; file already in use."
If Access database closed and then reopened I get:...
|
by: clintonb |
last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site
and chose the ASP.Net Web Site template.
Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1.
It created the...
|
by: WebSnozz |
last post by:
I would like to add my binaries from the Release directory of several
projects to source safe. My hope is that I can get latest, build the
project, and then check-in so that the binaries are...
|
by: johnlim20088 |
last post by:
Hi,
Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
|
by: bharathreddy |
last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation.
Team Foundation is a set of tools and technologies...
|
by: Desmond |
last post by:
I used Source safe in Visual Studio 6 (2001) However in .net 2008
after installing it there seems to be no sign
of any source safe. Has this been dis-continued. If not how do I set
it all up.
...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
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...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
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: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
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...
|
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...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
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)...
| |