November Happy Hour will be moved to Thursday December 5th.

Async API

Vote:
 

In my case I have to run multiple request to populate data I need.

Request are independent and can be run in parallel.

How can I achieve parallel request execution? Does find client has any support for that?

#83622
Mar 28, 2014 17:30
Vote:
 

Hi!
You should be able to use MultiSearch for this. Check out this blog http://world.episerver.com/Blogs/Marcus-Granstrom/Dates/2014/2/Multi-Search-with-EPiServer-Find-75/

#83623
Mar 28, 2014 17:56
Vote:
 

Hi.

MultiSearch is not an option. EPiServer ES instance fails:) if I use skip/from:

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=82142&epslanguage=en

 

 

 

#83632
Mar 28, 2014 22:35
Vote:
 

And, anyway, GetResultAsyc() that wraps HttpWebRequest.GetResponseAsync() version is extremely needed.

We are quering external service, and that would be nice to do that call in async manner without blocking calling thread. 

 

It is time of async/await approach and .net 4.5.

#83633
Edited, Mar 28, 2014 22:42
Vote:
 

Actually, is it correct behaviour that multisearch doesn't support paging?

#83635
Mar 28, 2014 23:33
Vote:
 

Hi,

Multisearch supports paging.

The validationerror you expirienced earlier was a bug and has been resolved in the backend.

Best Regards,

Henrik

#84406
Apr 01, 2014 16:14
Vote:
 

Thank you, again:)

#84416
Apr 01, 2014 17:55
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.