asynchronous

Asynchronous output buffer for calendar (c#)

Ok, I'm currently writing a scheduling web app for a large company, and it needs to be fast. Normal fast (<1s) doesn't cut it with these guys, so we're aiming for <0.5s, which is hard to achieve when using postbacks. My question is: does anyone have a suggestion of how best to buffer calendar/schedule data to speed load times? My plan ...

Live stream 'push' with Ajax

Hi, I just found an interesting demo of what can be done with the cappuccino framework; Push with Cappuccino and Tornado As far as I understands it, It keeps an async client/server connection, which is great to keep a "content" updated. I would like to know if there is any way I can do the same thing using JQuery or another library. ...

What possible errors could I expect to recieve in System.Net.Mail.SendCompletedEventHandler?

I am using the SendAsync method to send some emails out. What different errors could possibly be returned in the AsyncCompletedEventArgs in the SendCompletedEventHandler? Is there recommended practices for handling these? ...

Search video on youtube asynchronously C#

I'm new at YouTube Data API as well as C#. I want to search the video and display the result into a listview and I did but I can't did it asynchronously. I've searched and try a lot but end up with nothing. http://google-gdata.googlecode.com/svn/docs/folder48/Multithreadedoperations.html Please help me. ...

Problem with BeginInvoke in .NET

I have the following code to send a query to youtube and send the total result to a textbox. If I just alert the result, it's OK but I can't assign the result to a textbox. Please explain to me why? private void SearchVideo(string keyword) { string orderBy = ""; switch (cboSortBy.SelectedIndex) { case 1: orderBy = "p...

Jquery: wait for callback before returning

Hello, I have a javascript function which asks for some ajax data and gets back a JSON object. Then it should return the object. The problem is that I don't know how to make the function return from the Ajax callback. Of course myFunction: function() { $.get(myUrl, function(data) { return data; }); } does not work, be...

asynchronous list view

hi all, I have listview with images and its bottom has it's name. in list view each row has no'of images getting from server with left and right arrows are in each row i want see all the images in each row by clicking left and right arrows which are available in each row of list view .and while loading images i have to run progress bar ...

need programs that illustrate use of settimer and alarm functions in GNU C

Can anyone illustrate the use of settimer or alarm function in gnu C , with some program examples ,please ? I have a program that continuously processes some data , and i need to set a timer / alarm that goes off every t seconds , in response to which , i need to store the processed data into a file. This file writing has to be asynchro...

Why choosing JMS for asynchronous solution ? Why is it better than a simple entity bean ?

Hi everybody, In most projects I have participated, the choice of an asynchronous solution has been a source of much discussion ... Each time a single entity bean was enough to manage a queue: we just store a message (ticket) in a table and a processing cron unstacks the queue. This simple solution has the advantage of being very simpl...

Asynchronous WCF calls from Silverlight

I've noticed that you can only call a WCF service from Silverlight asynchronously. This seems to be a pretty sound practice, especially when deploying over the internet, but I'm wondering why this restriction has been placed on the architecture. Is it purely to enforce good practice, or are there technical reasons for this? ...

Patterns for PHP multi processes?

Which design pattern exist to realize the execution of some PHP processes and the collection of the results in one PHP process? Background: I do have many large trees (> 10000 entries) in PHP and have to run recursive checks on it. I want to reduce the absolute execution time. ...

Asynchronous response message from WCF to WebLogic

We are providing web service interfaces to our system using WCF. Our clients typically use some kind of middleware platform, e.g. WebLogic, to interact with us and others. For scalability and robustness reasons, we want to queue incoming requests, process them, then send a response to the middleware platform. Hence, we are not using the...

How to develop an asynchronous web service in Netbeans?

Hi, Netbeans has a very nice setup for creating and testing synchronous web services with Axis2. However, I'd like to develop an asynchronous web service in Axis2, again in Netbeans. Is there a link somewhere I can look at? Is my best bet to check the example code in the Axis2 distribution? Thanks! ...

Calling a C# asynchronus method from a VB6 application

I have a C# dll that when the main method is called, it opens a windows form. This dll is currently accessed through VBA by a vendor application. The problem is that when the dll is called and the form opens, the user loses the ability to interact with the vendor application. I was hoping that if I could modify the dll to support an a...

Which is better in this case - sync or async web service?

I'm setting up a web service in Axis2 whose job it will be to take a bunch of XML and put it on to a queue to be processed later. I understand its possible to set up a client to invoke a synchronous web service asynchronously by creating a using an "invokeNonBlocking" operation on the "Call" instance. (ref http://onjava.com/pub/a/onjava...

Asynchronously call CollectionView.MoveCurrentToFirst?

Asynchronously call CollectionView.MoveCurrentToFirst? ...

Threading to Parallelize Synchronous IO in .Net

Currently I'm in the process of designing the messaging system for my application (which uses AMQP on the backend via RabbitMQ). There are going to be multiple instances where a method can get data from multiple sources at the same time (ie. doesn't have to be sequential queries). Originally, I was going to use the ThreadPool and QueueU...

SqlDataAdapter.Fill - Asynchronous approach

Using C# / .NET 3.5. Currently I'm populating 2 DataTables one after the other using SqlDataAdapter.Fill(). I want to populate both of these DataTables in parallel, at the same time by doing each one asynchronously. However, there is no asynchronous version of the Fill() method - i.e. BeginFill() would be great! One approach I've trie...

Sample code for asynchronous programming in C

Hi, I need to program asynchronous ODBC driver,which need to handle user requested ODBC APIs in asynchronous way. I am desperate to know how to write an asynchronous program portable on all platforms. Can you please provide me a basic C code on how to right asynchronous code? Thanks in advance. ...

Best Practice: Blocking execution while waiting for an Async method

I am trying to adapt an existing program (internally written) to use a different library than it originally did. I've abstracted most of library-specific code away (seems to be the easier part). The issue is, the old library would execute a call using a blocking method, and our internal program is expecting a blocking method to be ca...