Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
How to: Improve the performance of the Entity Framework – Knowledge eXchange

How to: Improve the performance of the Entity Framework

After writing code using entity framework for sometime and seeing the code base continue to grow I realized the importance of coding with performance in mind. There are things that come to mind like eager loading, but that alone won’t do much as your application continues to grow. Below are some key best practices I found on the web as well as links worthwhile examining as you look for ways to improve your performance:

Best Practice Impact Required Refactoring
Pre-generated Your View Major Minor
Use Small EDMX Files Minor Moderate
Create Smart Connection Strings Minor Minor
Disable Change Tracking Minor Minor
Use Compiled Queries Moderate Moderate
Be Careful With Includes Moderate Major

Source:
http://www.codeproject.com/KB/database/PerfEntityFramework.aspx

You can also learn more at:

Managing connections and transactions

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.