424,279 Members | 1,905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,279 IT Pros & Developers. It's quick & easy.

Native dlls generated by ASP.NET

P: n/a
Hi
When I build my asp.net application the ASP.NET generates a net.assembly by
page in the directory of my pc:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

Theese assemblies to be executed must be tranlated to native code, the
question is: Which is the time of live of the native assemblies? It is
possible to configure the time? Are they storaged in some directory in my
PC?

Thanks in advance

Javier
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Javier,

These are shadow-copied assemblies. They are not translated to native
code. Native code is code that does not execute in the Common Language
Runtime. These shadow-copied assemblies are managed assemblies.

The lifetime of these assemblies is hard to predict. If you make any code
changes to your application, the ASP.NET runtime will attempt to remove the
existing assemblies and will create new ones. There may be times when we
are unable to delete the assembly because it's in use. In those cases, we
will append .delete to the name so that it can be removed when the app
domain recycles.

If the application domain recycles, it will remove those assemblies (if
possible) and we will create a new shadow copy assembly.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Xavi Sam" <ja***@tid.es>
Subject: Native dlls generated by ASP.NET
Date: Mon, 19 Jul 2004 10:44:04 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <eg**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 43.red-213-96-246.pooles.rima-tde.net 213.96.246.43
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248034
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi
When I build my asp.net application the ASP.NET generates a net.assembly by
page in the directory of my pc:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files

Theese assemblies to be executed must be tranlated to native code, the
question is: Which is the time of live of the native assemblies? It is
possible to configure the time? Are they storaged in some directory in my
PC?

Thanks in advance

Javier


Nov 18 '05 #2

P: n/a
Thanks Jim

But your message explain me about the managed assemblies but my question is
about native assembly, the assembly produced by JIT of managed assembly
builded by asp.net.
How long the native assembly is storaged in memory? When the assembly is
download?
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> escribió en el mensaje
news:Bq**************@cpmsftngxa06.phx.gbl...
Hi Javier,

These are shadow-copied assemblies. They are not translated to native
code. Native code is code that does not execute in the Common Language
Runtime. These shadow-copied assemblies are managed assemblies.

The lifetime of these assemblies is hard to predict. If you make any code
changes to your application, the ASP.NET runtime will attempt to remove the existing assemblies and will create new ones. There may be times when we
are unable to delete the assembly because it's in use. In those cases, we
will append .delete to the name so that it can be removed when the app
domain recycles.

If the application domain recycles, it will remove those assemblies (if
possible) and we will create a new shadow copy assembly.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Xavi Sam" <ja***@tid.es>
Subject: Native dlls generated by ASP.NET
Date: Mon, 19 Jul 2004 10:44:04 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <eg**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 43.red-213-96-246.pooles.rima-tde.net 213.96.246.43
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248034X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi
When I build my asp.net application the ASP.NET generates a net.assembly bypage in the directory of my pc:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files

Theese assemblies to be executed must be tranlated to native code, the
question is: Which is the time of live of the native assemblies? It is
possible to configure the time? Are they storaged in some directory in my
PC?

Thanks in advance

Javier

Nov 18 '05 #3

P: n/a
Xavi,

You'll need to be more specific. When a managed assembly is JIT compiled,
it does not create a native assembly.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Xavi Sam" <ja***@tid.es>
References: <eg**************@TK2MSFTNGP12.phx.gbl> <Bq**************@cpmsftngxa06.phx.gbl>Subject: Re: Native dlls generated by ASP.NET
Date: Mon, 19 Jul 2004 18:35:23 +0200
Lines: 73
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <up**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 43.red-213-96-246.pooles.rima-tde.net 213.96.246.43
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248149
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Thanks Jim

But your message explain me about the managed assemblies but my question isabout native assembly, the assembly produced by JIT of managed assembly
builded by asp.net.
How long the native assembly is storaged in memory? When the assembly is
download?
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> escribió en el mensajenews:Bq**************@cpmsftngxa06.phx.gbl...
Hi Javier,

These are shadow-copied assemblies. They are not translated to native
code. Native code is code that does not execute in the Common Language
Runtime. These shadow-copied assemblies are managed assemblies.

The lifetime of these assemblies is hard to predict. If you make any code
changes to your application, the ASP.NET runtime will attempt to remove

the
existing assemblies and will create new ones. There may be times when we
are unable to delete the assembly because it's in use. In those cases, we will append .delete to the name so that it can be removed when the app
domain recycles.

If the application domain recycles, it will remove those assemblies (if
possible) and we will create a new shadow copy assembly.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Xavi Sam" <ja***@tid.es>
>Subject: Native dlls generated by ASP.NET
>Date: Mon, 19 Jul 2004 10:44:04 +0200
>Lines: 16
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <eg**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 43.red-213-96-246.pooles.rima-tde.net 213.96.246.43
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248034 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi
>When I build my asp.net application the ASP.NET generates a net.assemblyby >page in the directory of my pc:
>
>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET Files
>
>Theese assemblies to be executed must be tranlated to native code, the
>question is: Which is the time of live of the native assemblies? It is
>possible to configure the time? Are they storaged in some directory in my >PC?
>
>Thanks in advance
>
>Javier
>
>
>



Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.