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

Compilation Issue

Hi all,
I have compiled by .net web applicaion in my local machine ,
and a dll has been created on the bin Directory,

And i have copied the entire application using xcopy deployment to a
different server.

i have copied only the aspx file , the dll file as well as the config
files.

And iam able to browse the application .

Since we have a precompiled dll in the bin folder.
When i request this application will any sort of compilation takes
place?, even at any point of time?
Regards

thomson

Nov 19 '05 #1
6 1507
ASPX pages are compiled the first time they are hit. You'll be able to fully
compile a site in 2.0 (heard that even images and other resources ould be
embedded in the DLL).

--
Patrice

"thomson" <sa**********@yahoo.com> a écrit dans le message de
news:11*********************@g43g2000cwa.googlegro ups.com...
Hi all,
I have compiled by .net web applicaion in my local machine ,
and a dll has been created on the bin Directory,

And i have copied the entire application using xcopy deployment to a
different server.

i have copied only the aspx file , the dll file as well as the config
files.

And iam able to browse the application .

Since we have a precompiled dll in the bin folder.
When i request this application will any sort of compilation takes
place?, even at any point of time?
Regards

thomson

Nov 19 '05 #2
There is always going to be some level of compilation.

In 1.x the runtime needs to generate code for the ASPX files and
compile the generated code to MSIL [1].

In 2.0 you can do all the code-gen and MSIL compilation up front, but
MSIL is still an intermediate language. the runtime uses a Just In
Time compiler to produce native instructions from the MSIL as the
application is executing.

[1]
http://msdn.microsoft.com/library/en...nguageMSIL.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Oct 2005 05:46:07 -0700, "thomson" <sa**********@yahoo.com>
wrote:
Hi all,
I have compiled by .net web applicaion in my local machine ,
and a dll has been created on the bin Directory,

And i have copied the entire application using xcopy deployment to a
different server.

i have copied only the aspx file , the dll file as well as the config
files.

And iam able to browse the application .

Since we have a precompiled dll in the bin folder.
When i request this application will any sort of compilation takes
place?, even at any point of time?
Regards

thomson


Nov 19 '05 #3
Hi Scott,
So do you mean to say that apart from the dll compilation
for the first time there will be another level of compilation , any
idea about how frequently or when ever an aspx page is called or it is
redirected this compilation what you said will occur?

Regards

thomson

Scott Allen wrote:
There is always going to be some level of compilation.

In 1.x the runtime needs to generate code for the ASPX files and
compile the generated code to MSIL [1].

In 2.0 you can do all the code-gen and MSIL compilation up front, but
MSIL is still an intermediate language. the runtime uses a Just In
Time compiler to produce native instructions from the MSIL as the
application is executing.

[1]
http://msdn.microsoft.com/library/en...nguageMSIL.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Oct 2005 05:46:07 -0700, "thomson" <sa**********@yahoo.com>
wrote:
Hi all,
I have compiled by .net web applicaion in my local machine ,
and a dll has been created on the bin Directory,

And i have copied the entire application using xcopy deployment to a
different server.

i have copied only the aspx file , the dll file as well as the config
files.

And iam able to browse the application .

Since we have a precompiled dll in the bin folder.
When i request this application will any sort of compilation takes
place?, even at any point of time?
Regards

thomson


Nov 19 '05 #4
What he meant is that ASP.NET will take the request made for the
ASPX page, retrieve the response from the compiled assemblies'
MSIL ( in the bin directory ), and recompile them into individual page dll's,
which are placed in the "Temporary ASP.NET Files" directory.

It is the output from those individual page dll's which is sent to clients.

That happens in both 1.x and 2.0, but in 2.0 there's an additional compilation
made with any source files placed in the App_Code directory.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"thomson" <sa**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi Scott,
So do you mean to say that apart from the dll compilation
for the first time there will be another level of compilation , any
idea about how frequently or when ever an aspx page is called or it is
redirected this compilation what you said will occur?

Regards

thomson

Scott Allen wrote:
There is always going to be some level of compilation.

In 1.x the runtime needs to generate code for the ASPX files and
compile the generated code to MSIL [1].

In 2.0 you can do all the code-gen and MSIL compilation up front, but
MSIL is still an intermediate language. the runtime uses a Just In
Time compiler to produce native instructions from the MSIL as the
application is executing.

[1]
http://msdn.microsoft.com/library/en...nguageMSIL.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Oct 2005 05:46:07 -0700, "thomson" <sa**********@yahoo.com>
wrote:
>Hi all,
> I have compiled by .net web applicaion in my local machine ,
>and a dll has been created on the bin Directory,
>
>And i have copied the entire application using xcopy deployment to a
>different server.
>
> i have copied only the aspx file , the dll file as well as the config
>files.
>
>And iam able to browse the application .
>
>Since we have a precompiled dll in the bin folder.
> When i request this application will any sort of compilation takes
>place?, even at any point of time?
>
>
>Regards
>
>thomson

Nov 19 '05 #5
Hi Juan,
Observations That i have found.
1. from the temporary Internet folders /vswebcache i have deleted the
particular application folder.
and i have accessed the my application , so nothing was created in the
temporary Internet folders
2. Then i opened my application in the Visual studio editor , at that
time a new folder of the application was created .

Can you please tell me from which place i will be able to access the
individual page dll in the temporary internet folder.
Thanks in Advance

thomson

Juan T. Llibre wrote:
What he meant is that ASP.NET will take the request made for the
ASPX page, retrieve the response from the compiled assemblies'
MSIL ( in the bin directory ), and recompile them into individual page dll's,
which are placed in the "Temporary ASP.NET Files" directory.

It is the output from those individual page dll's which is sent to clients.

That happens in both 1.x and 2.0, but in 2.0 there's an additional compilation
made with any source files placed in the App_Code directory.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"thomson" <sa**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi Scott,
So do you mean to say that apart from the dll compilation
for the first time there will be another level of compilation , any
idea about how frequently or when ever an aspx page is called or it is
redirected this compilation what you said will occur?

Regards

thomson

Scott Allen wrote:
There is always going to be some level of compilation.

In 1.x the runtime needs to generate code for the ASPX files and
compile the generated code to MSIL [1].

In 2.0 you can do all the code-gen and MSIL compilation up front, but
MSIL is still an intermediate language. the runtime uses a Just In
Time compiler to produce native instructions from the MSIL as the
application is executing.

[1]
http://msdn.microsoft.com/library/en...nguageMSIL.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Oct 2005 05:46:07 -0700, "thomson" <sa**********@yahoo.com>
wrote:

>Hi all,
> I have compiled by .net web applicaion in my local machine ,
>and a dll has been created on the bin Directory,
>
>And i have copied the entire application using xcopy deployment to a
>different server.
>
> i have copied only the aspx file , the dll file as well as the config
>files.
>
>And iam able to browse the application .
>
>Since we have a precompiled dll in the bin folder.
> When i request this application will any sort of compilation takes
>place?, even at any point of time?
>
>
>Regards
>
>thomson


Nov 19 '05 #6
re:
temporary Internet folders /vswebcache
That's not the correct directory.

The "Temporary ASP.NET Files" directory is located in :
drive:\WINDOWS\Microsoft.NET\Framework\version\Tem porary ASP.NET Files

where "version" stands for "v1.1.4322" or "v2.0.xxxx",
depending on whether you're running .Net 1.1 or 2.0.

BUT, you should *not* do anything with those files.
ASP.NET accesses them as needed.

There's *nothing* you can do with those files.
If you delete them, they will be recreated the next time a page is called.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"thomson" <sa**********@yahoo.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Hi Juan,
Observations That i have found.
1. from the temporary Internet folders /vswebcache i have deleted the
particular application folder.
and i have accessed the my application , so nothing was created in the
temporary Internet folders
2. Then i opened my application in the Visual studio editor , at that
time a new folder of the application was created .

Can you please tell me from which place i will be able to access the
individual page dll in the temporary internet folder.

Thanks in Advance

thomson

Juan T. Llibre wrote: What he meant is that ASP.NET will take the request made for the
ASPX page, retrieve the response from the compiled assemblies'
MSIL ( in the bin directory ), and recompile them into individual page dll's,
which are placed in the "Temporary ASP.NET Files" directory.

It is the output from those individual page dll's which is sent to clients.

That happens in both 1.x and 2.0, but in 2.0 there's an additional compilation
made with any source files placed in the App_Code directory.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"thomson" <sa**********@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi Scott,
So do you mean to say that apart from the dll compilation
for the first time there will be another level of compilation , any
idea about how frequently or when ever an aspx page is called or it is
redirected this compilation what you said will occur?

Regards

thomson

Scott Allen wrote:
There is always going to be some level of compilation.

In 1.x the runtime needs to generate code for the ASPX files and
compile the generated code to MSIL [1].

In 2.0 you can do all the code-gen and MSIL compilation up front, but
MSIL is still an intermediate language. the runtime uses a Just In
Time compiler to produce native instructions from the MSIL as the
application is executing.

[1]
http://msdn.microsoft.com/library/en...nguageMSIL.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 5 Oct 2005 05:46:07 -0700, "thomson" <sa**********@yahoo.com>
wrote:

>Hi all,
> I have compiled by .net web applicaion in my local machine ,
>and a dll has been created on the bin Directory,
>
>And i have copied the entire application using xcopy deployment to a
>different server.
>
> i have copied only the aspx file , the dll file as well as the config
>files.
>
>And iam able to browse the application .
>
>Since we have a precompiled dll in the bin folder.
> When i request this application will any sort of compilation takes
>place?, even at any point of time?
>
>
>Regards
>
>thomson

Nov 19 '05 #7

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

Similar topics

1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
11
by: Michael Gaab | last post by:
Compilation in c generally has four phases 1. Preprocessing 2. Compilation 3. Assembly 4. Linking. If I use a flag that will not link the code, order of compilation is not an issue,...
1
by: Wei | last post by:
Hello, How to turn on "batch compilation" of ASP.NET application ? Though by default I think the asp pipeline should compile in batch mode, yet I set <compilation defaultLanguage="vb"...
5
by: Rob | last post by:
By default, the web.config file of an ASP.NET application contains the following debug attribute for the compilation element: <compilation debug="true"/> My question is this: When doing the...
2
by: A_StClaire_ | last post by:
another question. this one more just a curiosity. why does Visual Studio 2005 "support" manual compilation of source code files only through the inconvenient command line? I see and understand...
3
by: sam_cit | last post by:
Hi All, I have the following scenario, A class is declared in the header file and has a static member function sample() in sample.h sample.cc uses the static member function sample(). the...
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....
5
by: Rahul | last post by:
Hi Everyone, I have the following files, file.h typedef struct { int data;
1
by: Roumen Petrov | last post by:
Hi list members, It seems to me that this is discussed many times in the past but without progress. As I understand in general there is no objections and preferred cross-compilation has to be...
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...
0
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.