Tuesday, November 30, 2010

Microsoft CRM SDK Advanced Developer Extensions Linq Cache Issue

There has been a significant improvement in the XRM Linq provider in the 4.0.13 SDK that allows you to specify how you want your DataContext to use caching.  One thing I noticed was I had to change my default Service to use the disabled cached to get it to use the Microsoft.Xrm.Client.Services.OrganizationService which is the “un-cached” service. 

 

There seems to be a noticeable speed improvement for the initial connection time and I don’t see any difference in query time using the un-cached service.

 

Sample web.config entries (2kb XML file)

No comments: