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

Native dlls generated by ASP.NET

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
3 1411
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jacky Luk | last post by:
Can .NET Version 2002 produce win32 native code? I'm engaged to a Direct3D project that requires win32 Thanks Jack
3
by: rashid | last post by:
Sorry for posting this message on general . kindly direct this message to the specific group. I know we can invoke the Native Code from .Net but can we generate Native Code in .Net( Native Code...
1
by: Leslaw Bieniasz | last post by:
Cracow, 15.09.2004 Hi, I am writing a big C++ project using BCB 4.0. The project consists of several dlls and exes. Each of the dll is composed of several units (that is cpp files with...
3
by: -DG- | last post by:
I'm still trying to figure out some of the nuances of access to legacy Win32 DLLs. I need to alloc buffers to be used by the Win32 DLLs. I know that pinning a managed pointer can lead to...
0
by: Reini | last post by:
We are developing an Asp.Net 2.0 application (Web Administration) for the IIS 5.0 to 6.0 and the W2K to W2K3 operating system. The application consists of several layers. One layer is a .Net 2.0...
3
by: dfranzen | last post by:
Hi *, I'm in the process of porting an ANSI C++ project from a UNIX platform to .NET. After "getting rid of" some platform-specific stuff I managed to compile the first two libraries into mixed...
3
by: Boris | last post by:
We have a native Windows DLL (let's call it native.dll) we developed a .NET interface for (let's say managed.dll). When a .NET application now uses the ..NET interface to talk to the Windows DLL we...
6
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hello, I have a class hierarchy distributed over 3 native C++ dlls. The base class has a .NET Windows.Form for status output via a gcroot<>. The gcroot is declared private - the sub classes only...
6
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots...
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: 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:
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
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.