Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Caching Dynamics CRM Connection with Xrm with ASP.NET

$
0
0

Hi,

I'm developing an application with Dynamics CRM SDK with Xrm in C# and ASP.NET to extract some information, and I have some problems with caching.

For example, If I obtain the price of a product that is 300, then I change it to 400, and then I reload it, I obtain 300. I don't know why is caching. If I go to IIS and stop my application,the Xrm connection it's reconnected and I obtain the right price of 400.

To fix it, I try to add this sentences in the HTML but it doesn't work.

<metahttp-equiv="cache-control"content="no-cache"/>

<metahttp-equiv="pragma"content="no-cache"/>

<metahttp-equiv="expires"content="-1"/>

<metahttp-equiv="Content-Type"content="text/html; charset=utf-8"/>

If I restart IIS, it Works, so I think that Xrm is caching something, but I don't know how to fix it

Thanks


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>