473,320 Members | 2,092 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,320 software developers and data experts.

Sharing codebehind dlls amongst multiple apps

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

Nov 19 '05 #1
1 1067
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" <v-*************@microsoft.com> wrote in message
news:0b****************************@phx.gbl...
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


Nov 19 '05 #2

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

Similar topics

3
by: Xin Li | last post by:
Hi, I'm fairly new to using ASP.NET, so please bare with me. I'm writing some classes that provide a business layer functions. But these functions need to be accessed from a series of websites...
3
by: Shikari Shambu | last post by:
Hi All, I have a situation where multiple applications are sharing some pages/ controls. So, I have a separate common project that has the common pages/ controls. My question is how do I...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
3
by: nagesh | last post by:
hi guys, when we compiling the asp.net project, all codebehind pages gives you one dll. suppose if i write the code in .aspx forms itself then is it create a dll ? if i write the code in aspx...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
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...
11
by: Max Vit | last post by:
I have deployed few Access apps splitting it in Front End and Back End. Our environment uses Win XP SP2 for clients, Win 2k3 for servers and Access 2003. The max. number of clients is about 50...
27
by: Jonathan Wood | last post by:
Greetings, I'd like to write any number of classes and then use those classes from any number of .NET applications. Since we've supposedly left "DLL Hell" and ActiveX objects behind, what has...
2
by: Jeff Dege | last post by:
I'm working with a group that's been doing C++ coding for quite a long time, now, and in that environment we've pretty much worked out development practices that serve us well. We've been doing...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: 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...
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)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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.