How does the web service uses the App_Code.dll  
Author Message
Gil Strauss





PostPosted: ASMX Web Services and XML Serialization, How does the web service uses the App_Code.dll Top

I have noticed that the App_Code.dll is missing from \Bin directory when debugging a web service using VS 2005 but it does appear after publishing the web site. I'm using a web project that has been converted from VS 2003.

My question is - how does the CLR run the web service code in debug mode without using a dll I guess the IL is being stored somewhere...

Thanks!



.NET Development23  
 
 
rfreire





PostPosted: ASMX Web Services and XML Serialization, How does the web service uses the App_Code.dll Top

Gil,

The DLLs as well as the PDBs are there.... but not in the bin folder.

ASP.NET 2.0 uses a dynamic compilation feature and it now puts the DLLs in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files instead of in the bin folder.

Take a look at this folder you will find the missing files....

When you compile the application for deployment it creates the App_Code.dll in the bin folder.

Rgds,

Rodrigo


 
 
Gil Strauss





PostPosted: ASMX Web Services and XML Serialization, How does the web service uses the App_Code.dll Top

Thanks a lot.