# ArcGISServerRestLayer Holding Up the Program When Loading

**URL:** <https://community.thinkgeo.com/t/arcgisserverrestlayer-holding-up-the-program-when-loading/8600>\
**Category:** WinForms\
**Created:** [June 30, 2017, 2:05pm UTC](https://community.thinkgeo.com/t/arcgisserverrestlayer-holding-up-the-program-when-loading/8600 "2017-06-30T14:05:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dib](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/dib/32/19493_2.png) [@Dib](https://community.thinkgeo.com/u/Dib)\
**Post date:** [June 30, 2017, 2:05pm UTC](https://community.thinkgeo.com/t/arcgisserverrestlayer-holding-up-the-program-when-loading/8600/1 "2017-06-30T14:05:39Z")

</div>

Hello,

We are using ArcGISServerRestLayer to get data from NOAA’s nowCoast layers. Some of the layers involve a good bit of data, and the nowCoast servers aren’t always the fastest. What we see happening is our program freezes while the call to the server is made, and the user can’t do anything but wait for the data to download and show.

How can we get this data load to happen in the background, so that the user can still use the program during some of these longer data loads?

Thanks,  
Dib

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [July 3, 2017, 6:26am UTC](https://community.thinkgeo.com/t/arcgisserverrestlayer-holding-up-the-program-when-loading/8600/2 "2017-07-03T06:26:26Z")

</div>

Hi Dib,

I think you can set this property like this: winformsMap1.ThreadingMode = MapThreadingMode.Multithreaded;

It won’t freezes the application when the layer wait response from remote server, but you still cannot go on zoom or pan in this progress.

Wish that’s helpful.

Regards,

Don
