locked
Where to look for .NET Framework performance best practices? RRS feed

  • Question

  • After using Google, and searching on MSDN, I can't find any good articles about CLR performance. The main performance articles on MSDN appear to be pre-.NET 2.0 (and there have been many API changes since). All the new information is scattered across whole MSDN.

    I there any new comprehensive performance articles that describes the CLR that I missed?

    Best regards,
    Alexei Mihalchuk
    Saturday, January 30, 2010 11:07 PM

Answers

All replies

  • Try also ".NET Profiler" query in web search engines?
    Please help us improve this community forum for visitors by marking the replies as answers if they help and unmarking them if they provide no help.
    Thanks.
    Sunday, January 31, 2010 12:58 PM
  • I was thinking more of an article. Writing good code is better than wasting time "discovering" performance issues.
    Sunday, January 31, 2010 1:19 PM
  • The best MSDN section for this is Improving .NET Application Performance and Scalability.

    There is also another good series of articles on Optimizing WPF performance.

            -Steve
    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ

    Microsoft Certified Professional Developer
    Sunday, January 31, 2010 1:23 PM
  • I mean see that how .Net Profilers detect problems then avoid yourself causing that problems.
    See also:
    http://www2.cpttm.org.mo/cyberlab/softdev/ESAD/pdf/ESAD.pdf


    Please help us improve this community forum for visitors by marking the replies as answers if they help and unmarking them if they provide no help.
    Thanks.
    Sunday, January 31, 2010 1:26 PM
  • Stephen: Yes, I found both Optimizing WPF performance and Improving .NET Application Performance and Scalability during my search. The article about WPF performance is okay. But other one is from 2004 - that is even before .NET 2.0.

    Yasser: The pdf is more about programming in general, than .NET API usage. And it is also from 2004.

    I am just sceptical about the information in those articles. 3 major .NET revisions spanning 6 years. That is a lot of changes.
    Sunday, January 31, 2010 1:56 PM
  • Version numbers are driven by marketing reasons as often as technical ones.

    .NET 3.0 and 3.5 (and 3.5 SP1), for example, are merely libraries that were added to .NET 2.0. They do use the 2.0 runtime (though these updates usually include bug fix rollups).

    .NET 4.0 (expected in 2010) is the first real update to the runtime since .NET 2.0 in 2005.

    And the 2004 book is still quite relevant.

           -Steve


    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ

    Microsoft Certified Professional Developer
    • Marked as answer by SamAgain Monday, February 1, 2010 4:27 AM
    Sunday, January 31, 2010 6:28 PM