Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Sharing codebehind dlls amongst multiple apps

Reply
Thread Tools

Sharing codebehind dlls amongst multiple apps

 
 
Mark Edwards
Guest
Posts: n/a
 
      02-21-2005
I've got an asp.net app that gets installed 150 times on
a server. With every installation, there is
another /bin/ directory with another copy of the dll in
it. (meaning 150 copies of the dll)

I want to deploy just one codebehind dll for the whole
server and tell all the app copies to use it.

Can this be done?

I've been doing some research on this and learned the
difference between a private and shared assembly.

I've gotten as far as strong-naming the dll and putting
it into the gac. I've been tweaking the @Page and
@Assembly directives without any success so far. I also
looked at setting the probing path, but the docs say you
can't set the probing path to anything outside the
application base path.

Thanks,
-Mark

 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      02-21-2005
Hi Mark,

It should work just fine. You shouldn't have to tweak anything. Once the DLL
is in the GAC, the app should find it.

Just make sure that you're not getting mixed up with multiple strong named
versions of the DLL.

Maybe you can explain further what you're doing with @Page and @Assembly?

Ken


"Mark Edwards" <(E-Mail Removed)> wrote in message
news:0bb401c5185e$6c8ab7f0$(E-Mail Removed)...
> I've got an asp.net app that gets installed 150 times on
> a server. With every installation, there is
> another /bin/ directory with another copy of the dll in
> it. (meaning 150 copies of the dll)
>
> I want to deploy just one codebehind dll for the whole
> server and tell all the app copies to use it.
>
> Can this be done?
>
> I've been doing some research on this and learned the
> difference between a private and shared assembly.
>
> I've gotten as far as strong-naming the dll and putting
> it into the gac. I've been tweaking the @Page and
> @Assembly directives without any success so far. I also
> looked at setting the probing path, but the docs say you
> can't set the probing path to anything outside the
> application base path.
>
> Thanks,
> -Mark
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search & Replace a string amongst multiple files of any type/extension RajaniKumarV Java 0 02-22-2010 12:39 PM
sharing data amongst users =?Utf-8?B?TW9uaXMgQmVyYWhh?= Windows 64bit 2 09-20-2005 11:44 PM
Sharing GIFs (assets) Amongst Multiple Apps RC ASP .Net 1 11-11-2004 08:41 AM
Sharing DLLs among multiple ASP.NET Apps Xin Li ASP .Net 2 06-27-2004 12:35 AM
sharing dictionaries amongst class instances Kerry Neilson Python 8 11-12-2003 05:42 AM



Advertisments