Should I cache IOrganizationService variable? RRS feed

  • Question

  • Hi, I am building a web app which will be called from the CRM ribbon and perform some operations through crm's web service. I am wondering should I cache the proxy variable and what are pros and cons of this if I say that about 15 users might perform the action at the same time. I should probably not hold the channel open for long, right?

    Any advice is appriciated, tnx.


    Thursday, July 18, 2013 10:56 AM

All replies

  • of course you can use System.Web.Caching to cache IOrganizationService object. so that you don't need to instantiate every time.
    Friday, December 13, 2013 8:40 PM