Optimize performance of your Entity Framework 4 on Client Side

If you want to improve the perforamance of your entity framework in client side, you can use Cache from
System.Web.Caching.Cache object. If you like to reset values,
Cache.Remove(“Name of your Cache”);
If you wish to store the value to a cache,
if (Cache.Get(“Name of your Cache”) == null)
    Cache.Insert(“Name of your Cache”, object);
Where your object can be dataset or datatable or list.

You can determine which part of your code that needs to refactor your existing code using Entity Framework Profiler.
Entity Framework Profiler

Reference 1
Reference 2
Reference 3

Reference 4
Reference 5
Reference 6
Reference 7
Reference 8

Reference 9
Reference 10
Reference 11

Reference 12
Reference 13
Reference 14

Aside | This entry was posted in Cache, Linq to Entity, Uncategorized. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s