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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|