ArcGIS Geoprocessing Service results updates - service

I am trying to run a long (processing multiple objects) and heavy processing operation through ArcGIS Geoprocessing Service. It is working fine in execute synchronous or asynchronous operation, however, I would like to get the status update messages while geoprocessor is executing and show them as progress using ArcGIS silverlight or ArcGIS flex client.
I would appreciate if anyone can provide a clue, any literature or poc in this regard. In advance, I thank you all for your time and support.

I found a solution to it and you can find the details at url 'http://forums.arcgis.com/threads/89581-ArcGIS-Geoprocessing-Service-results-updates-as-porgress'. I hope it helps those looking for similar matters.

Related

Django is becoming synchronous on importing channels

On including the channels in my project (installed_apps), it has become synchronous. I'm using django 3.2.4. if I remove those channels and try, my django server is able to process multiple requests asynchronously(when I'm hitting from postman). Any kind of help will be appreciated.
Thanks in Advance!
See the discussion here https://github.com/django/channels/issues/1587. Basically you must run WSGI+ASGI separately according Django's team.

UWP Convert an app service to run in the same process as its host app

I am following example at https://learn.microsoft.com/en-us/windows/uwp/launch-resume/convert-app-service-in-process to convert an app service to run in the same process as its host app. But Microsoft documentation is getting worse day after day I find it. The example is missing clear guidance and working example.
I also tried using example from Create and consume an app service as a working example and tried to implement changes suggested in the first link above but without success as the link is not clear where to implement OnBackgroundActivated. That is just an example but the article in general is very vague and obscured.
Has anyone been able to figure this out?
Here is an end-to-end sample that uses an in-proc appservice:
https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/SQLServer
If this doesn't help please update the question with the specific problem you are facing with this feature.

Connecting mobile app with back-end algorithm

I'm working on a school project. We have an AWS server set up with MongoDB. We created some user DB for account verification purposes and communicate with it using REST API. What we need is for the mobile app to send some data to the server side. Run it with an algorithm, then return back the result in JSON format. I've never done anything similar to this, so I have no idea how to go about it. If anyone could provide some lead or guidance/links that would be amazing. Thank you.
First of all you dont need a algorithm for it. It is just a process you have to follow and its kinda lot more easy than you thinking.
If you are doing it in android you can connect to rest webservice via Google's Volley http://developer.android.com/training/volley/index.html.
Or You can use Retrofit 2.0. I have been using it for a long time and i prefer it.
http://square.github.io/retrofit/

Getting data from remote sql table on iphone

I am a beginner at both iPhone programming and SQL, yet I have basic knowledge of them.
I am planning to do an application that would plot a graph from data taken from a database of the server of my company. I know how to plot, I know how to extract data from an sql table, but what I don't know is how to access the server.
So do I have to go through some kind of oracle-like application ?
This may seem like a very stupid question because it might not even be possible but any answer will be appreciated.
Thanks !
Go through a web service for example a PHP page that returns JSON (or XML, but JSON is easier to parse).
I can highly recommend this tutorial
Once you have your web service, you can use NSURLRequest/NSURLConnection to download the data and use a JSON framework to parse it. Or, if you're using XML you can use NSXMLParser.
See this apple code for more info on downloading using NSURLConnection.
The best way for this will be, using APIs at server end that handle the client request and perform database interaction, so transfer of data among device and server, take place through XMLs that will be secure as well as fast.
It is definitely possible to contact a server (I can't imagine what would happen without that!). What you are looking for is NSURLConnection. Have a look at the example provided by Apple.

Uploading and downloading files using wcf data services?

I have been trying to find information regarding if it is possible to upload and download files using WCF Data Services (formerly ADO.NET Data Services), but haven't been able to make any leads due to perhaps less help content available on wcf data services on the web as of now.
Is it possible for us to write a wcf data service so that client can post to the following URI to upload a file - http://some-restfulwebservice/Files/upload
and this url to download the fie - http://some-restfulwebservice/File('XYZ.txt')/download
Any good examples/sample code? Any help or direction would be appreciated?
Astoria supports something very much like this through something called Media Link Entries.
I am working on samples to help here at the moment, but it will take me a few more weeks probably
Check out IDataServiceStreamProvider in the meantime.
And check back on my Custom Data Service Providers series in a week or two.
Hope this helps
Cheers
Alex
Data Services Team - Microsoft.