Click here to Skip to main content
15,912,897 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: System.Web.Mail.SmtpMail.Send() Pin
tarasn15-Jan-06 21:28
tarasn15-Jan-06 21:28 
AnswerRe: System.Web.Mail.SmtpMail.Send() Pin
Guffa15-Jan-06 21:33
Guffa15-Jan-06 21:33 
GeneralRe: System.Web.Mail.SmtpMail.Send() Pin
User 58385215-Jan-06 21:45
User 58385215-Jan-06 21:45 
QuestionRepacing DB with XML files? Pin
wmostafaw15-Jan-06 8:26
wmostafaw15-Jan-06 8:26 
GeneralRe: Repacing DB with XML files? Pin
silkkeng15-Jan-06 11:15
silkkeng15-Jan-06 11:15 
AnswerRe: Repacing DB with XML files? Pin
Mike Burroughs15-Jan-06 17:29
Mike Burroughs15-Jan-06 17:29 
QuestionAssembly Pin
Amit R15-Jan-06 5:35
Amit R15-Jan-06 5:35 
AnswerRe: Assembly Pin
Mike Burroughs15-Jan-06 17:37
Mike Burroughs15-Jan-06 17:37 
There are two options for assembly location in the .net framework. The first of these is the local application directory. As you surmise in your question, if the same assembly were used in multiple applications then it would be on the disk multiple times. It is a waste of disk space, but disk space is relatively cheap and the reality of this happening in practice is pretty small.

For assemblies that are used by multiple applications, like the framework assemblies themselves, you can register them in the Global Assembly Cache (GAC). Assemblies in the GAC are version controlled, so you can have multiple versions of the same assembly being referenced by different applications. According to the theory, this should allow you to upgrade one application and its referenced assemblies without impacting other applications that rely on behaviors of the older versions.

I am responsible for the delivery of a commercial system that has over two dozen assemblies. Many of these assemblies are shared between multiple applications in our system. All of our assemblies are copied locally and total disk space usage is actually minimal and of no concern.

The only time I would expect it to be a concern is on a limited device such as a handheld, but again, the instance of multiply used assemblies outside the system assemblies is minimal. If you have to, put all your executables in the same directory with all your assemblies.


QuestionAnyone else having Errors with VS.NET 2005 Express Editions? Pin
M@dHatter14-Jan-06 17:57
M@dHatter14-Jan-06 17:57 
QuestionShared Method Pin
GaneshParam14-Jan-06 1:03
GaneshParam14-Jan-06 1:03 
AnswerRe: Shared Method Pin
Guffa14-Jan-06 9:06
Guffa14-Jan-06 9:06 
QuestionCan I pass remote objects as parameters? using .NET remoting Pin
fbrubacher13-Jan-06 11:32
fbrubacher13-Jan-06 11:32 
QuestionOnly on Friday the 13th: Worker Thread Duplicates Pin
RFID Chris13-Jan-06 9:29
RFID Chris13-Jan-06 9:29 
QuestionConvert .Net 2003 project to .Net 2005? Pin
Hardik Doshi12-Jan-06 19:23
Hardik Doshi12-Jan-06 19:23 
AnswerRe: Convert .Net 2003 project to .Net 2005? Pin
André Ziegler13-Jan-06 3:50
André Ziegler13-Jan-06 3:50 
QuestionVideo Conferencing Pin
hbjs12-Jan-06 15:03
hbjs12-Jan-06 15:03 
AnswerRe: Video Conferencing Pin
Christian Graus12-Jan-06 15:17
protectorChristian Graus12-Jan-06 15:17 
GeneralRe: Video Conferencing Pin
hbjs12-Jan-06 15:36
hbjs12-Jan-06 15:36 
GeneralRe: Video Conferencing Pin
Christian Graus12-Jan-06 15:47
protectorChristian Graus12-Jan-06 15:47 
GeneralRe: Video Conferencing Pin
hbjs12-Jan-06 16:01
hbjs12-Jan-06 16:01 
GeneralRe: Video Conferencing Pin
Christian Graus12-Jan-06 16:03
protectorChristian Graus12-Jan-06 16:03 
GeneralRe: Video Conferencing Pin
hbjs12-Jan-06 19:05
hbjs12-Jan-06 19:05 
GeneralRe: Video Conferencing Pin
Christian Graus15-Jan-06 11:06
protectorChristian Graus15-Jan-06 11:06 
QuestionDLL Register using MSI Pin
kotteeswaran12-Jan-06 14:11
kotteeswaran12-Jan-06 14:11 
AnswerRe: DLL Register using MSI Pin
Robert Rohde14-Jan-06 22:04
Robert Rohde14-Jan-06 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.