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
May 2008
June 2008
all groups > dotnet clr > june 2006 > threads for june 8 - 14, 2006

Filter by week: 1 2 3 4 5

Generating IL code, running, changing, running again ?
Posted by Rickard at 6/13/2006 2:52:03 PM
I have written a small program that generates a dynamic assembly using Reflection.Emit and adding IL code to it using ILGenerator. Now, if I call CreateType() on my TypeBuilder object, the assembly becomes locked. I want to be able to change the IL code afterwards. It is important that I can...more >>


How do you close TCP connections?
Posted by Lucvdv at 6/12/2006 5:01:09 PM
I'm using a TcpClient object: - Open: m_Connection = New Net.Sockets.TcpClient m_Connection.Connect(IPAddress.Parse(IP), 2101) m_Stream = m_Connection.GetStream - Close: If m_Connection IsNot Nothing Then If m_Stream IsNot Nothing Then m_Stream.Clo...more >>

Compiling with /clr option dramatically enlarge lib size.
Posted by dovgani NO[at]SPAM hotmail.com at 6/12/2006 12:40:54 PM
I have an unmanaged MFC project. The output is static lib. I would like to compile using /clr option. The native lib size is 64 megs and with /clr and /O1 options is 940 megs. Is it possibly Metadata enlarge size so dramaticlly? And I would like to know any suitable solution of my problem. ...more >>

Using NAnt RC4 to build .Net 1.1 Code
Posted by SenthilVel at 6/12/2006 12:00:00 AM
Hi I am in a conversion project of Code from .Net 1.1 -->.Net 2.0 . 1. I am going to build all my projects with NAnt RC4 version and also with VS2005 to check the affected Areas. 2. I have both the Versions of my code in my machine, 1.1 and 2.0. 3. My requirement is to use NAnt RC4 version...more >>

Readings on clr optimization?
Posted by Ole Nielsby at 6/10/2006 12:17:08 AM
What's the best litterature on how the clr optimizes things, low-level? I'm writing a continuation-style interpreter for a Lisp-flavour language, and I feel my attempts of tuning it for performance are shots in the fog. Things I'd like to know are: - how clever is the clr at inlining vir...more >>

use SerialPort with raw device names -or- cancel pending read on FileStream
Posted by Ben Voigt at 6/9/2006 11:10:47 AM
The SerialPort class provided by Microsoft has some code like: SerialPort.PortName set accessor if (value.StartsWith(@"\\", StringComparison.Ordinal)) { throw new ArgumentException(SR.GetString("Arg_SecurityException"), "PortName"); } S...more >>

Programmatically analyzing IL code
Posted by robert_m_hooker NO[at]SPAM bigfoot.com at 6/9/2006 8:00:10 AM
Hi All, I'm attempting to write a very basic 'Assebmly standards & policies checker' for in-house use. This tool would open an assembly, and scan it for a handful of specific conformance issues we need to adhere too. Essentially, I'd be scanning the assembly for specific groups of IL codes an...more >>

GC and the listeners added to Trace/Debug class
Posted by MoonStorm at 6/8/2006 6:07:59 AM
As far as I know, GC won't touch object references in use. I was susprised to see that one of my trace listeners got disposed at some point during the life of the application. It's true I am not holding any references to my trace listener (because I don't need to), and besides, I guessed that ...more >>



What is the GC Generation Threshold for .net 2.0
Posted by Michael Nemtsev at 6/8/2006 4:27:41 AM
What are the GC Generation thresholds for .net 2.0? For .net 1.0 it was 0.256, 2, 10 mb ...more >>


DevelopmentNow Blog