locked
Learn about .Net performance for a Beginner RRS feed

  • Question

  • Goal:
    Learn about .net performance for a beginner.

    Problem:
    1.
    What knowledge in dotnet should I learn about performance?

    2.
    What recommended websites, books etc can you recommend me to read for a beginner.

    3.
    What chronological order should I learn about performance from a beginner into a expert?

    Information:
    I have learned about SQL server 2012, C# and Visual Studio 2013.
    Sunday, August 31, 2014 4:51 PM

Answers

  • The first thing to learn is not to worry about it too much.

    You should optimise for performance when you see a problem with performance and not before.

    Premature optimisation can waste a lot of time.

    Especially since you don't really know exactly what you're optimising for.

    As Eyal implies, if you're a beginner then your best advice is to learn about something else.


    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.


    • Proposed as answer by Cor Ligthert Monday, September 1, 2014 4:21 PM
    • Edited by Andy ONeill Tuesday, September 2, 2014 8:04 AM
    • Marked as answer by Sakura Data Friday, September 5, 2014 8:08 AM
    Monday, September 1, 2014 12:46 PM

All replies

  • You could start to read the following pages on MSDN:

    Performance Tips and Tricks in .NET Applications: http://msdn.microsoft.com/en-us/library/ms973839.aspx
    Chapter 5 — Improving Managed Code Performance: http://msdn.microsoft.com/en-us/library/ff647790.aspx

    And here is a book on the subject:

    Pro .NET Performance: Optimize Your C# Applications (Expert's Voice in .NET): http://www.amazon.com/Pro-NET-Performance-Optimize-Applications/dp/1430244585

    Obviously you won't become an expert over a night or two. It usually takes several years of professional experience to become an expert on something.

    I would recommend you to learn the C# language and object relational programming in general first before you start dive into fine tuning the performance of applications. Fine tuning the performance of an application often requires significant efforts when it comes to measuring performance, testing and instrumenting the application and identify possible bottlenecks.

    • Proposed as answer by cedric pautet Sunday, August 31, 2014 5:41 PM
    Sunday, August 31, 2014 5:03 PM
  • Goal:
    Learn about .net performance for a beginner.

    What chronological order should I learn about performance from a beginner into a expert?

    You kind of like have the cart before the horse. You need to learn how to design solutions before you try to implement performance techniques, that's if you want to be an expert.

    http://en.wikipedia.org/wiki/Object-oriented_programming

    <copied>

    Object-oriented programming (OOP) is a programming paradigm that represents the concept of "objects" that have data fields (attributes that describe the object) and associated procedures known as methods. Objects, which are usually instances of classes, are used to interact with one another to design applications and computer programs.<sup class="reference" id="cite_ref-1">[1]</sup><sup class="reference" id="cite_ref-2">[2]</sup> C++, Objective-C, Smalltalk, Delphi, Java, Javascript, C#, Perl, Python, Ruby and PHP are examples of object-oriented programming languages.

    <end>

    http://www.dofactory.com/net/design-patterns

    <copied>

    Design patterns are solutions to software design problems you find again and again in real-world application  development. Patterns are about reusable designs and interactions of objects.

    <end>

    http://www.dofactory.com/products/net-design-pattern-framework  

    Sunday, August 31, 2014 8:25 PM
  • Hello,

    No such a thing as performance for beginners simply because it's pretty involved and broad subject and like all the advanced topics it should come last, it's simple.


    Cheers,

    Eyal Shilony

    You are free to contact me through 'msdn at shilony net' for anything related to the C# forum.

    • Proposed as answer by Cor Ligthert Monday, September 1, 2014 4:21 PM
    Sunday, August 31, 2014 8:58 PM
  • The first thing to learn is not to worry about it too much.

    You should optimise for performance when you see a problem with performance and not before.

    Premature optimisation can waste a lot of time.

    Especially since you don't really know exactly what you're optimising for.

    As Eyal implies, if you're a beginner then your best advice is to learn about something else.


    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.


    • Proposed as answer by Cor Ligthert Monday, September 1, 2014 4:21 PM
    • Edited by Andy ONeill Tuesday, September 2, 2014 8:04 AM
    • Marked as answer by Sakura Data Friday, September 5, 2014 8:08 AM
    Monday, September 1, 2014 12:46 PM