I need to write authentication function with asynchronous callback from remote Auth API. Simple authentication with login is working well, but authorization with cookie key, does not work. It should checks if in cookies present key "lp_login", fetch API url like async and execute on_response function.
The code almost works, but I see tw...
Hi there.
I'm having a big problem when calling a web service from my WPF application. The application/window locks until the process has completed. I've attempted to run this asynchronously but the problem still persists.
Currently, the web service call I'm making can last 45-60 seconds. It runs a process on the server to fetch a big ...
I have an ASP.NET page that needs to make calls to multiple web services to return data. I'd like to run these requests in parallel, and using the PageAsyncTask class appears to be the most appropriate way to do that. The trick is that there are five calls--say A, B, C, D, and E. Calls A & B must be made sequentially, as must C & D. The ...
[VS 2010 Beta with .Net Framework 3.5]
I've written a C# component to asynchronously monitor a socket and raise events when data is received. I set the VB form to show message boxes when the event is raised. What I've noticed is that when the component raises the event synchronously, the message box blocks the component code and locks t...
Hello! Thank you for looking at my issue, hopefully you can help me out as I'm an not well versed in writing JavaScript functions and am relatively new to using jQuery...
Anyways, I need a way to use jQuery's ajax call to asynchronously call a php script which will return a value and update the value in a header element.
Anyone know of...
Dear all,
I have a DataGrid control on webpart. DataSource of it connect to SQL. How can we use Asynchronous mode in this case ?
Please help me !
Thanks / Phong Dang.
...
Hello guys. I've got strange issue. I want wait end async call at sync function call. At other projects I successfully use ResetEvents, but in sl it don't seem to be working.
//Sync call save some value in storage
public static void SaveValue(string key, object value, bool encrypted)
{
if (encrypted)
{
...
I have a WPF application calling WCF via Async calls.
The application has four tabs in which each are loaded from seperate async calls, each tab has a busy indicator.
The problem: When running within Visual Studio I can click a refresh button on each tab and each tab's busy indicator starts and the data is retrieved from the WCF ser...
My app has a navigation controller which push and pop a series of views. One of the tableViews loads .xml file from URL and it takes 4-5 seconds. If I click the back button on the navigation bar, it will only respond after the content of the table finish loading. Is there an easy way to load the content asynchronously so that the app wil...
The strength of Twisted (for python) is its asynchronous framework (I think). I've written an image processing server that takes requests via Perspective Broker. It works great as long as I feed it less than a couple hundred images at a time. However, sometimes it gets spiked with hundreds of images at virtually the same time. Because it...
Basically, under what circumstances should Callback vs Polling be use when implementing asynchronous web services? What are the pros and cons of each?...are there any guidelines or metrics out there?
-Callback being the mechanism where the client provides a callback handler to process the response when eventually acquired.
-Polling bei...
I know how to find which control made the postback, it's something like:
string postBackControl = Request.Params.Get("__EVENTTARGET") == null ? string.Empty : Request.Params.Get("__EVENTTARGET");
but how can I find the one that made async postback?
...
I have a requirement where a web service call should be fired from the flex side and this web service is an async web service which would return more than one response.
In current Flex environment that I have worked in , when we call a webservice - we get a single response corresponding to that web service, but how take ma...
Hi,
I am facing the issue in updating the Database during a browser close in the Application_Exit method. Since I cannot call a webmethod in this event to updated the DB, I'm trying for a workaround where I call another simple Silverlight Application for the sole purpose of performing the DB update.
The issue is that when I make the A...
I am working on a unit test for a Windows Phone 7 Silverlight app. The code for the test looks like this:
[TestMethod]
[Asynchronous]
public void StuffIsLoading()
{
WaitFor(_repository, "LoadingStuffComplete");
var viewModel = new MainPageViewModel(_repository);
EnqueueCallback(() => Assert.IsTrue(viewModel.Stuf...
We have a web application that takes file uploads for some parts. The file uploads aren't terribly big (mostly word documents and such), but they're much larger than your typical web request and they tend to tie up our threaded servers (zope 2 servers running behind an Apache proxy).
I'm mostly in the brainstorming phase right now and...
I've been playing around with the Reactive Extension for a little while now, but mostly limited to handling/composing user driven events within a WPF frontend.
It's such a powerful, new way of doing async programming, and I'm curious as to what other people are doing with it, and where do you think it might be able to improve the way we...
Hi all,
I'm replacing an uiimage of uiimageview before calling NSURLConnection sendSynchronousRequest, an as a result i don't see the new uiimage.
How i can resolve this?
tnx
...
I believed any kind of asynchronous execution makes a thread in invisible area. But if so,
Async codes does not offer any performance gain than threaded codes.
But I can't understand why so many developers are making many features async form.
Could you explain about difference and cost of them?
...
I'm trying to write a background worker that processes a flowdocument. I can't access the properties of flowdocument objects because of the thread verification. I tried to serialize the document and loaded it on the worker thread which actually solved the thread verfication issue. However, once the processing is complete I also need t...