473,583 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net dll's question and problem

hi,

I am having a trouble at work. We currently have many pages in our site and
we are having trouble with dll's.( we think )

Our site outputs static pages as .aspx pages becasue we have a toolbar that
uses .net so all pages that use the toolbar need to be .aspx. We have many,
many pages on our site ( 10000 or so ) and we are running into
trouble...here is the issue:

When we do development work we need to put a new dll up to the site...when
we do so the site drags as it recompiles..and it can take up to 45 minutes
to finish off...doing changes often results in lags all the time. We have
been in the process of switching the dll to code behinds so that we
wouldn't have to worry about doing changes on the fly but over the weekend
the asp.net temporary internet files folder grew too big and so our sys
admin deleted some files..today when we went to do a change to a page we
got a runtime error even though it tested fine on our local environments
and on our staging server...reboot ing the server fixed nothing and we had
to roll back the changes and the problem corrected itself.

Here is the question: how many .aspx pages is too much for a site? SHould
we be using compiled dll's or code behinds? Is there a way to limit this
recompile time on the server?...answe rs or imput would be appreciated!
Nov 18 '05 #1
5 1432
Hi,

Yes, you'd be better off using compiled DLLs. However, new .aspx pages would
still need to be compiled as they are requested.

There are ways to precompile the .aspx files to cut the delay. A Google
search will return several links like this one:

http://www.codeproject.com/aspnet/AS...recompiler.asp

http://weblogs.asp.net/jgalloway/arc...15/242677.aspx

Ken

"THX-1138" <NO************ ********@yahoo. com_SPAM> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

I am having a trouble at work. We currently have many pages in our site
and
we are having trouble with dll's.( we think )

Our site outputs static pages as .aspx pages becasue we have a toolbar
that
uses .net so all pages that use the toolbar need to be .aspx. We have
many,
many pages on our site ( 10000 or so ) and we are running into
trouble...here is the issue:

When we do development work we need to put a new dll up to the site...when
we do so the site drags as it recompiles..and it can take up to 45 minutes
to finish off...doing changes often results in lags all the time. We have
been in the process of switching the dll to code behinds so that we
wouldn't have to worry about doing changes on the fly but over the weekend
the asp.net temporary internet files folder grew too big and so our sys
admin deleted some files..today when we went to do a change to a page we
got a runtime error even though it tested fine on our local environments
and on our staging server...reboot ing the server fixed nothing and we had
to roll back the changes and the problem corrected itself.

Here is the question: how many .aspx pages is too much for a site? SHould
we be using compiled dll's or code behinds? Is there a way to limit this
recompile time on the server?...answe rs or imput would be appreciated!


Nov 18 '05 #2
"Ken Cox [Microsoft MVP]" <BA************ @sympatico.ca> wrote in
news:eQ******** ******@TK2MSFTN GP12.phx.gbl:

thanks!

are there any ways to avoid the cost of compiling when adding the dll to
the production server that you kow of? I know that in asp.net 2.0 there
are 4 different ways to compile...or is there a way to avoid certain
directories..or are the limitations with the compiled pages?

Hi,

Yes, you'd be better off using compiled DLLs. However, new .aspx pages
would still need to be compiled as they are requested.

There are ways to precompile the .aspx files to cut the delay. A
Google search will return several links like this one:

http://www.codeproject.com/aspnet/AS...recompiler.asp

http://weblogs.asp.net/jgalloway/arc...15/242677.aspx

Ken

"THX-1138" <NO************ ********@yahoo. com_SPAM> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

I am having a trouble at work. We currently have many pages in our
site and
we are having trouble with dll's.( we think )

Our site outputs static pages as .aspx pages becasue we have a
toolbar that
uses .net so all pages that use the toolbar need to be .aspx. We have
many,
many pages on our site ( 10000 or so ) and we are running into
trouble...here is the issue:

When we do development work we need to put a new dll up to the
site...when we do so the site drags as it recompiles..and it can take
up to 45 minutes to finish off...doing changes often results in lags
all the time. We have been in the process of switching the dll to
code behinds so that we wouldn't have to worry about doing changes on
the fly but over the weekend the asp.net temporary internet files
folder grew too big and so our sys admin deleted some files..today
when we went to do a change to a page we got a runtime error even
though it tested fine on our local environments and on our staging
server...reboot ing the server fixed nothing and we had to roll back
the changes and the problem corrected itself.

Here is the question: how many .aspx pages is too much for a site?
SHould we be using compiled dll's or code behinds? Is there a way to
limit this recompile time on the server?...answe rs or imput would be
appreciated!


Nov 18 '05 #3
ASLO: we work on a live server with people who are always are on it..in
fact its a cluster...we can shut off the site, switch over the dll and
then turn it back on..then we switch the site over and repeat the
process....I guess the problem with the site is most likly due to the
code behinds and the dlls...so when a dll is added all of the pages are
complied at run time...that stays the same no matter what....

...OK.so I add a new page and that page must be recompiled at run time
right..no matter if its referenceing a code behind or a dll. BUT if I
have a new dll that is referenced on many pages do all of the pages
attempt to recompile when I add the new dll?

new page = recompile that file
new dll = recompile all files that reference that dll?

"Ken Cox [Microsoft MVP]" <BA************ @sympatico.ca> wrote in
news:eQ******** ******@TK2MSFTN GP12.phx.gbl:
Hi,

Yes, you'd be better off using compiled DLLs. However, new .aspx pages
would still need to be compiled as they are requested.

There are ways to precompile the .aspx files to cut the delay. A
Google search will return several links like this one:

http://www.codeproject.com/aspnet/AS...recompiler.asp

http://weblogs.asp.net/jgalloway/arc...15/242677.aspx

Ken

"THX-1138" <NO************ ********@yahoo. com_SPAM> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

I am having a trouble at work. We currently have many pages in our
site and
we are having trouble with dll's.( we think )

Our site outputs static pages as .aspx pages becasue we have a
toolbar that
uses .net so all pages that use the toolbar need to be .aspx. We have
many,
many pages on our site ( 10000 or so ) and we are running into
trouble...here is the issue:

When we do development work we need to put a new dll up to the
site...when we do so the site drags as it recompiles..and it can take
up to 45 minutes to finish off...doing changes often results in lags
all the time. We have been in the process of switching the dll to
code behinds so that we wouldn't have to worry about doing changes on
the fly but over the weekend the asp.net temporary internet files
folder grew too big and so our sys admin deleted some files..today
when we went to do a change to a page we got a runtime error even
though it tested fine on our local environments and on our staging
server...reboot ing the server fixed nothing and we had to roll back
the changes and the problem corrected itself.

Here is the question: how many .aspx pages is too much for a site?
SHould we be using compiled dll's or code behinds? Is there a way to
limit this recompile time on the server?...answe rs or imput would be
appreciated!


Nov 18 '05 #4
anyone else comment on this?

"THX-1138" <NO************ ********@yahoo. com_SPAM> wrote in
news:Xn******** *************** ***********@207 .46.248.16:
ASLO: we work on a live server with people who are always are on it..in
fact its a cluster...we can shut off the site, switch over the dll and
then turn it back on..then we switch the site over and repeat the
process....I guess the problem with the site is most likly due to the
code behinds and the dlls...so when a dll is added all of the pages are
complied at run time...that stays the same no matter what....

..OK.so I add a new page and that page must be recompiled at run time
right..no matter if its referenceing a code behind or a dll. BUT if I
have a new dll that is referenced on many pages do all of the pages
attempt to recompile when I add the new dll?

new page = recompile that file
new dll = recompile all files that reference that dll?

"Ken Cox [Microsoft MVP]" <BA************ @sympatico.ca> wrote in
news:eQ******** ******@TK2MSFTN GP12.phx.gbl:
Hi,

Yes, you'd be better off using compiled DLLs. However, new .aspx pages
would still need to be compiled as they are requested.

There are ways to precompile the .aspx files to cut the delay. A
Google search will return several links like this one:

http://www.codeproject.com/aspnet/AS...recompiler.asp

http://weblogs.asp.net/jgalloway/arc...15/242677.aspx

Ken

"THX-1138" <NO************ ********@yahoo. com_SPAM> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

I am having a trouble at work. We currently have many pages in our
site and
we are having trouble with dll's.( we think )

Our site outputs static pages as .aspx pages becasue we have a
toolbar that
uses .net so all pages that use the toolbar need to be .aspx. We have
many,
many pages on our site ( 10000 or so ) and we are running into
trouble...here is the issue:

When we do development work we need to put a new dll up to the
site...when we do so the site drags as it recompiles..and it can take
up to 45 minutes to finish off...doing changes often results in lags
all the time. We have been in the process of switching the dll to
code behinds so that we wouldn't have to worry about doing changes on
the fly but over the weekend the asp.net temporary internet files
folder grew too big and so our sys admin deleted some files..today
when we went to do a change to a page we got a runtime error even
though it tested fine on our local environments and on our staging
server...reboot ing the server fixed nothing and we had to roll back
the changes and the problem corrected itself.

Here is the question: how many .aspx pages is too much for a site?
SHould we be using compiled dll's or code behinds? Is there a way to
limit this recompile time on the server?...answe rs or imput would be
appreciated!


Nov 18 '05 #5
I am very new to this kind of development. I have created a dll, I wanted to use this dll in my .aspx page.

For this I created a bin folder in my website folder and dropped this dll. I also A also added at the top of the aspx page <%@ import Namespace="my namespace" %>

Do I have to do anything other than this. Do I have to add this assembly reference in web.config and does this assembly have to be strongly named.
From http://search.yahoo.com/search?p=How...&cop=&ei=UTF-8

Posted via DevelopmentNow. com Groups
http://www.developmentnow.com
Apr 10 '06 #6

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

Similar topics

3
3766
by: Matthias Baas | last post by:
Hi, are there any guidelines about what to do if a Windows extension for Python 2.4 requires the C++ runtime (msvcp71.dll)? If I want to distribute a binary installer of an extension that contains C++ code, should I really include the msvcp71.dll in the package? It doesn't sound like a good idea to me if every package places another copy...
4
7402
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a custom action. This dll is apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per the Detected Dependencies folder visible in the deployment...
24
1794
by: Toby Mathews | last post by:
Hi there, I have recently started having problems compiling multi-project solutions. I have a couple of ASP.Net projects that reference a range of .Net DLLs I have written. For example: ASP.NET project includes references to - A.DLL, B.DLL, C.DLL, D.DLL etc. Quite a few of the DLLs include references to my data layer component,...
4
447
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
14
13411
by: Neil Ginsberg | last post by:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to "Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works fine, both on my PC and on another PC. However, on another PC that the database was installed on, the user is getting the message, "The project contains a missing or broken reference to the file...
3
5454
by: Wiktor Zychla | last post by:
I have a problem I cannot solve. My application hosts IE activex control. I follow the standard procedure: I just aximp shdocvw.dll. Note that this gives you two files: axshdocvw.dll and shdocvw.dll. And there comes the problem. I reference the libraries from my project. For this to work, I put the libraries in the same directory as the...
15
6170
by: z. f. | last post by:
Hi, i have an ASP.NET project that is using a (Class Library Project) VB.NET DLL. for some reason after running some pages on the web server, and trying to compile the Class Library DLL, it can't compile because the DLL is in use (and the PDB too), and the w3wp.exe process is the process locking the DLL (as viewed with Sysinternals - Process...
27
1825
by: HKSHK | last post by:
Hello, I have this problem: I wrote some DLLs with VB.Net 2003 which I use with my programs. But I want to avoid that I have to go down to "DLL hell" and to copy all used dlls into each program directory. Does anyone have an idea how I can avoid that? Thanks in advance!
0
2923
by: HeroOfSpielburg | last post by:
Hello, I'm new to the realm of .NET application creation, so please forgive my ignorance. I have been tasked with debugging a problem that arises with using a DLL that contains managed and unmanaged code in concert with a managed application that makes calls to the DLL. This problem has been cropping up for a while, but the debugger...
1
7181
by: jabbari | last post by:
Hello, Please Help us...! I have a big problem ,so i searched on google and other search engine ,then I realized that so many other people have the same problem and they, all, have'nt been able to solve it. My problem is: I want to import a dll in asp.net, and I have a major problem First i want to say that this dll works fine in a...
0
7826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8193
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5374
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3818
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3843
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.