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

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...rebooting 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?...answers or imput would be appreciated!
Nov 18 '05 #1
5 1423
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.2 48.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...rebooting 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?...answers or imput would be appreciated!


Nov 18 '05 #2
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in
news:eQ**************@TK2MSFTNGP12.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.2 48.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...rebooting 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?...answers 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**************@TK2MSFTNGP12.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.2 48.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...rebooting 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?...answers 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.2 48.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**************@TK2MSFTNGP12.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.2 48.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...rebooting 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?...answers 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
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...
4
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...
24
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: ...
4
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
14
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...
3
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...
15
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...
27
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...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...
0
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...

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.