williamsandonz
williamsandonz

Reputation: 16420

Is it possible for several ASP.NET websites on the same VM to share DLLS & maybe aspx files?

Have been wondering this for some time!, If several websites used very similar code DLLS, it would be nice for them to share the files, I'm not worried about a performance hit,

Is there a way to do this?

Thanks!

Upvotes: 0

Views: 62

Answers (1)

rerun
rerun

Reputation: 25505

Certainly.

There are two basic ways to do it.

  1. Create your dlls and have them referenced by your site and have them copied local to the deployed website.

  2. Give you dlls strong names and have the referenced in the gac. All websites then can use the gaced dlls with out the need to be copied locally.

Upvotes: 3

Related Questions