473,382 Members | 1,766 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,382 software developers and data experts.

Are ASP.NET Pages compiled>

Hi all.

I have read in several places that ASP.NET pages are compiled the first time
they are run, and thefore run quicker the next time they are accessed. Is
this true? If so, what are they compliled to, ie, where is the compiled
file stored. I am playing around with some pages using Web Matrix, and all
I can see are the orginal .aspx files, no sign of any complied version.

Thanks
Nov 18 '05 #1
2 1064
Hi Mark,
Yes asp.net pages are compiled. The application gets compiled into a single
dll, which is usually placed in the applcations bin folder. But the files
asp.net uses to service the requests are placed in a different folder named
Temporary ASP.NET Files, which is usually located under

%WINNT%\Microsoft.NET\Framework\v1.1.4322\Temporar y ASP.NET Files

Asp.net uses the files located under sub folders located under this folder.
If there are any changes to the source, then asp.net compiles the source and
updates these files, so the source directory is never touched while
servicing the requests. So, with this approach you can simply replace any
dll in the bin folder without restarting the application or iis, which used
to be a big problem in the classic asp

Let me know if you have any more questions

Kumar

"Mark Fisher" <mf*****@uku.co.uk> wrote in message
news:tn**************@newsfe6-win.ntli.net...
Hi all.

I have read in several places that ASP.NET pages are compiled the first time they are run, and thefore run quicker the next time they are accessed. Is
this true? If so, what are they compliled to, ie, where is the compiled
file stored. I am playing around with some pages using Web Matrix, and all I can see are the orginal .aspx files, no sign of any complied version.

Thanks

Nov 18 '05 #2
Thanks for that, I can see the dlls on my pc now.

"Kumar Reddi" <ku********@REMOVETHIS.gmail.com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl...
Hi Mark,
Yes asp.net pages are compiled. The application gets compiled into a
single
dll, which is usually placed in the applcations bin folder. But the files
asp.net uses to service the requests are placed in a different folder
named
Temporary ASP.NET Files, which is usually located under

%WINNT%\Microsoft.NET\Framework\v1.1.4322\Temporar y ASP.NET Files

Asp.net uses the files located under sub folders located under this
folder.
If there are any changes to the source, then asp.net compiles the source
and
updates these files, so the source directory is never touched while
servicing the requests. So, with this approach you can simply replace any
dll in the bin folder without restarting the application or iis, which
used
to be a big problem in the classic asp

Let me know if you have any more questions

Kumar

"Mark Fisher" <mf*****@uku.co.uk> wrote in message
news:tn**************@newsfe6-win.ntli.net...
Hi all.

I have read in several places that ASP.NET pages are compiled the first

time
they are run, and thefore run quicker the next time they are accessed.
Is
this true? If so, what are they compliled to, ie, where is the compiled
file stored. I am playing around with some pages using Web Matrix, and

all
I can see are the orginal .aspx files, no sign of any complied version.

Thanks


Nov 18 '05 #3

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

Similar topics

8
by: Krunom Ancini | last post by:
Hi, im just the beginner and im using c#-codebehind in my asp.net-application.... What should i do to make my application work "without" code-behind (without dll.-s in bin-folder)? I was...
8
by: Brett Robichaud | last post by:
I understand how code-behind can handle events for a page, but can I call a code-behind method from within a <script> tag in my ASP.Net page, or can I only call methods defined in other <script>...
2
by: Dave | last post by:
I have an existing asp page that I would like to upgrade/convert to aspx. It gets a million or two hits per day, so I'm surmising that at a minimum I would benefit from compilation and the...
4
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
1
by: Alexander Walker | last post by:
Hello I have recently published a web application using the "Publish Web Site" option of the solution explorer from Visual Studio 2005, I have published the website so that the pages could not...
5
by: Nathan Sokalski | last post by:
My Web.config file contains the following section to register some of my UserControls: <pages> <controls> <add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/> <add tagPrefix="NATE"...
0
by: Bob Delaney | last post by:
Many thanks to the three people who responded to yesterday's post with some helpful suggestions. They asked what I am trying to do. Here is a synopsis: I have a web site (www.mississaugawest.com...
0
by: Gregory Gadow | last post by:
We have a number of development machines in our IT department, all running the same version of VS 2005 sp 1. Our company website and several compiled components were all written in VB.Net 2.0 using...
1
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: 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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.