Results 1 to 5 of 5

Thread: .net utility?

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    .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

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: .net utility?

    Sorry JM I did not mention the version. Im using 1.1. And how about the utility yo know one?

  4. #4
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    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

  5. #5

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    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
  •  



Click Here to Expand Forum to Full Width