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

Performance problem while calling custom action via javascript.

$
0
0

Hi there!

I have trial instance of Dynamics CRM Online (365).

I am implementing an integration and I have custom action has been written with .NET. 

This action includes logic such as:

1. Read config from CRM. (Config saved in CRM like 1 record of custom entity)

2. Send request to some...

3. Recieve response.

4. Update some entity.

I call it using Process.js.

But time for reading 1 config entity record is about 6seconds.

It is bad for integration!

Why so long? May be because trial version, or different server locations of CRM instance parts?

The code of reading part:

var config = dataContext.xxx_integration_configurationSet.SingleOrDefault();  <-- executed about 6 seconds


I have only 1 config entity record in CRM.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images