Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet clr > march 2007

debugging dynamic code
Posted by MoriCristian at 3/30/2007 4:20:03 AM
Hi. I want to debug in an app written by me (not in vs) in step by step a routine copiled using the microsoft.csharp.compiler. Is there any way to do so? Thanks Cristian Mori...more >>


Why a little slow in startup of .Net applications
Posted by Umeshnath at 3/27/2007 4:53:17 PM
I have experienced a little bit of a slow in when a .net application runs first. But later it never happens until the system restarts. I understood the reason is that when ever application runs first JIT compiler recompiles the assembly and generate a native code that is fully compatibl...more >>

Attempt to access the method failed exception
Posted by bernaba at 3/26/2007 7:21:52 AM
Hello i have a dll in GAC i'm loading this dynamically at run time, with the following code assembly = Assembly.Load("DynamicDll, Version=1.0.0.0, Culture=neutral, publicKeyToken=d7fb0eda5160caf3" ); Type type = assembly.GetType("DynamicDll.DynamicClass"); object[] arguments = new object[]...more >>

Jit 64bit
Posted by VBAdev at 3/26/2007 6:38:37 AM
Hi all, my team developed an application that partly is .net and uses a win32 dll that we don't want to port to 64 bit. We compiled the .net part of the application telling the compiler to output x86 code. The application doesn't seem to work well anyway since some external assembly doesn't ...more >>

System.Threading.Thread
Posted by Amelyan at 3/23/2007 1:05:49 PM
When System.Threading.Thread object gets destroyed by GC, does GC automatically Abort this thread if IsAlive is true, i.e. thread is still running? Thanks, ...more >>

How to Get the List of AppDomains in a Specific Process?
Posted by Laser Lu at 3/22/2007 12:00:00 AM
Hi, can anybody tell me if it is possible to detect whether a process = has some AppDomain(s) hosted, and how to get the list of all the hosted = AppDomains within that process?...more >>

New Probing Rules for 2.0?
Posted by Rob Barnes at 3/20/2007 6:10:03 AM
I have a WinForms application that comprises files similar to this: a.exe b.dll c.dll The application is hosted on a Unix-based web server (case sensitive) and is accessed via HTTP ("no touch") deployment. For .NET 1.1, the probing rules required that the libraries all have upper-case "...more >>

My entire process freezes. - Help.
Posted by esafran at 3/19/2007 3:26:20 AM
Hi, I experience a process freeze on my MultiThreaded console application. (none of the threads are working) When the process freeze occurs, I take a hang dump and I always see 2 of my threads in the same place. Each thread is in a constructor, (different .ctor in each thread), there is no l...more >>



Using Generics vs Passing System.Type as argument?
Posted by Kenneth Baltrinic at 3/16/2007 3:08:57 PM
I have am currently working on a set of c# utility methods that all require a System.Type object as an input argument, either soley or along with other arguments. In call cases the calling methods are not working with variables of System.Type, they just know the type at compile time that the...more >>

Call Stack variables
Posted by Mike King at 3/16/2007 10:45:10 AM
How can one find out the values on the call stack? I would like when an exception occurs to know the values passed to each of the functions up the stack that resulted in the exception. I know this is possibly because Visual Studio can show these values in the "Call Stack" window. Thanks ...more >>

Howto: Determine within a custom attribute, the type it has been declared on?
Posted by Kenneth Baltrinic at 3/16/2007 1:36:59 AM
I have a custom attribute that inherits from System.Attribute and itself is declared with the AttributeUsage( AttributeTargets.Class ) attribute. Regarding this I have two questions. Can I further limit my attribute to only be applicable to types that are concrete and have a public default ...more >>

ContainsKey 2.5x slower than Lookup
Posted by mpaine NO[at]SPAM htxml.com at 3/14/2007 4:58:29 PM
I noticed the following code: _E As Generic.Dictionary(Of String, String) = New Generic.Dictionary(Of String, String) ' assume _E has 1000s of keys Dim UA As String = "v" Dim SE As String Dim SEObj As Object Dim res As Boolean SEObj = _E(UA) ' value can't ...more >>

Hard vs Soft Threads
Posted by Anthony Paul at 3/14/2007 4:47:07 PM
Hello everyone, I thought I has an excellent grasp on threading within the CLR (I've read "C# via the CLR" several times over) but I just went through "Essential .NET" and came across what are reffered to as "soft- threads". Now based on the little information on the subject, I presume that t...more >>

Need to change defaults for CreateEventSource()
Posted by Ken Varn at 3/12/2007 12:03:53 PM
The EventLog.CreateEventSource() call creates an event source in Event Viewer if it does not exist. However, the defaults that it uses for the Event Source settings are not desirable for my application. In particular, I would like to have the "Overwrite Events as Needed" option set instead o...more >>

Version selection in CLR
Posted by nilesh.shah.uk NO[at]SPAM gmail.com at 3/9/2007 4:29:18 AM
I have multiple projects that reference a dll say common.dll. Now I would like to change common.dll in a backward compatible way and drop it in to each of the projects so that it is used without any recompile of the projects. However each change of common is a new version so I need a way of in...more >>

Problem w/ CLR error
Posted by Michael Bray at 3/7/2007 10:15:25 AM
One of the applications that my predecessors wrote which I am now forced to support is generating an error, and it seems to be coming from the CLR, something to do with web services. The error doesn't mean much to me, I'm hoping that someone here can shed some light... the application gener...more >>

Create IL Stream from source code
Posted by John Rivers at 3/6/2007 4:13:41 PM
Hi Does anybody know a way to create an IL stream from source code? I am trying to create a DynamicMethod object ideally from CSharp source code using GetDynamicILInfo it is possible to pass raw IL to define the method body maybe there is a way to extract IL from a .netmodule file ? ...more >>

Thread Local Storage and Managed Threads vs O/S Threads
Posted by Chris Mullins [MVP] at 3/2/2007 11:18:59 AM
I've been doing quite a bit these past few days with Thread Local Storage - specifically using the ThreadStatic attribute. .... but last night, I got to thinking. When .Net code is running, it's running on a Managed Thread, not (directly) an O/S thread. There's no guarantee made that, from ...more >>


DevelopmentNow Blog