|
-
Mar 1st, 2007, 02:21 AM
#1
Thread Starter
Fanatic Member
.net utility?
Hi ,
Is there a utility in the .net framework or any shareware that can view or monitor the created object in the particular process?
Another question
These application consist of too many error messages. We are planning to put this in a variable inside the dll but one my teammate insist that is very expensive in the memory during runtime. Another option is to put these messages in the sql database but again it also heavy cause it consume a network resources. Any suggestion where I can store these messages?
Thanks,
Popskie
Last edited by popskie; Mar 1st, 2007 at 02:34 AM.
-
Mar 1st, 2007, 02:54 AM
#2
Re: .net utility?
Your error messages should be resources. In C# 2005 add them to the Resources tab of the project properties and retrieve them via Properties.Resources. If you don't want them to be a part of the executable itself then you should look into create a satellite assembly, which is a DLL containing only resources. It's slightly more work to retrieve them in that case though.
-
Mar 1st, 2007, 04:11 AM
#3
Thread Starter
Fanatic Member
Re: .net utility?
Sorry JM I did not mention the version. Im using 1.1. And how about the utility yo know one?
-
Mar 6th, 2007, 11:53 AM
#4
Re: .net utility?
1) Ants Profiler may be of assistance wrt optimisations; not too certain about viewing an object in memory though - the VS debugger perhaps?
2) As per John - satellite assemblies are available in the 1.1 framework:
Searching...
and
OnDotNet article
-
Mar 11th, 2007, 09:36 PM
#5
Thread Starter
Fanatic Member
Re: .net utility?
the VS debugger will not view the object if you leave on that function even its not disposed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|