all groups > dotnet clr > april 2008
A question about life cycle of an object.
Posted by Xiuming at 4/21/2008 9:39:53 PM
Hi all.
Below is sample code:
=====================
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
public class MyClass
{
public static void Main()
{
Test1();
Test2();
}
static void Test1()
{
StringBuilder sb=new StringBu... more >>
Strategy for caches & GC
Posted by devdude at 4/19/2008 10:54:22 PM
Hello,
I am currently using the Enterprise Library Caching Block on a server
that receives incoming calls and stores/retrieves random information.
I noticed while load testing, the system is slow to respond (a call
can take several seconds) during scavenging of old items when the
threshold is... more >>
.NET Runtime 2.0 Error Reporting , Event ID:5000 Application Crash
Posted by Shahbaz at 4/17/2008 11:00:00 PM
I have running Desktop Network Application based on .NET Framework 2.0 ,
Visual Studio 2005 and Sql Server 2000 /2005. It suddenly exits while running
without any prior notice. After I look at the Event Log in Windows 2003
Server, found the following Error log. It only happens on the client si... more >>
Further to the Discussion
Posted by Sunny S at 4/10/2008 1:41:01 AM
Gentlemen, thank you very much for an interesting discussion, from which I
learned a lot, but I feel I had to be more specific.
1. Let’s say I’ve started a SimpleWinForm application. I presume that means
starting a message loop.
2. From within that application I create an AppDomain in ... more >>
How to debug system.typeloadexception
Posted by David Morris at 4/9/2008 10:59:03 AM
I created an installer package and it works on some machines and not others.
I get an error "system.typeloadexception", which I believe is telling me that
an assembly that is loaded in the GAC on my development machine is missing on
the target machine. Unfortunately, I can't identify the missi... more >>
Relationship between Application.Exit() and AppDomain
Posted by Sunny S at 4/4/2008 2:25:00 AM
Hi,
Does Application.Exit() apply only to the AppDomain in which it is called?
Is it the same as in WPF – a single Application object per AppDomain?
Generally speaking, what is the relationship between an Application object
and AppDomain objects?
Regards,
Sunny S.... more >>
|