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

compilation question

TS
I have read that the first time a page is requested, it is compiled. If the
page has a code behind page, with no code on the design page, only html and
server controls, why does the page have to compile since the dll is already
compiled?

When Java script tags that point to files instead of having the JS embedded
in the page, does that js code page get downloaded at the same time the
parent page is downloaded, I would guess so?
Nov 18 '05 #1
4 914
> I have read that the first time a page is requested, it is compiled. If
the
page has a code behind page, with no code on the design page, only html and server controls, why does the page have to compile since the dll is already compiled?
Because the code behind is compiled into the parent, and the runtime has to
compile the parent to action the code behind.
When Java script tags that point to files instead of having the JS embedded in the page, does that js code page get downloaded at the same time the
parent page is downloaded, I would guess so?


The JS file is loaded after the parent page loads, but before the page
renders itself. The JS files would be seperate web requests that the
browser actually makes.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

Nov 18 '05 #2
Thanks for John's informative suggestions.

Hi TS,

In addition to John's suggestions. Here are some further tech articles
regarding on your first question:

#The ASP.NET Page Object Model
http://msdn.microsoft.com/library/en...eobjectmodel.a
sp?frame=true

#Should I use Code-behind or Code-Inside (or Code-beside)?
http://msdn.microsoft.com/asp.net/co...e/default.aspx

#Web Forms Code Model
http://msdn.microsoft.com/library/en...mscodemodel.as
p?frame=true

#Web Forms Page Processing
http://msdn.microsoft.com/library/en...msPageProcessi
ngStages.asp?frame=true

Hope also helps. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Nov 18 '05 #3
Hi TS,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4
TS
it makes sense, thanks

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:Fe*************@cpmsftngxa10.phx.gbl...
Hi TS,

Have you had a chance to check out the suggestions in my last reply or have you got any further ideas on this issue? If you have anything unclear or if there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5

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

Similar topics

6
by: alban | last post by:
Hello I have got some problems of compilation on a AIX IBM, I use the XLC compilator (And I can't install another one). I try to compile code Pro*c ".pc" (oracle), I need do a pre-compilation...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
9
by: Raxit | last post by:
Hi, we are designing some stuff , that will generate c++ program(s) What we want is we wanted to execute that generated code.... i.e. 1. Xml based language 2. C++ code generated from 1....
16
by: Raxit | last post by:
Hi, we are designing some stuff , that will generate c++ program(s) What we want is we wanted to execute that generated code.... i.e. 1. Xml based language 2. C++ code generated from 1....
8
by: Marc | last post by:
I am studying ASP.NET and have a simple question reading the first lines in this page: http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx Are they talking about compilation of C#...
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: 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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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.