asynchronous

UpdatePanel with ASP.NET Repeater and Checkbox Aync Postback issue

I have a rather annoying issue here I can't get my CheckBox CheckedChange event to fire, or catch or whatever it is that fails: ASPX Code <asp:UpdatePanel runat="server" ID="udp_Lists" UpdateMode="Always"> <ContentTemplate> <asp:Repeater ID="rep_showings" runat="server"> <HeaderTemplate> </HeaderTemplate> <...

No Data Returned Using NSURLConnection Asynchronously

Hi everyone, I am having a heck of time with something that seems rather straightforward but I can't seem to get working. I am building an iPhone app that retrieves data from a web host. I am trying to establish an asynchronous connection to the host as I want to keep the device freed up during the connection. (sendSynchronousRequest fr...

Which is the purpose of async methods? (.NET)

In ASP.NET we use async methods because the Thread Pool has limited slots, and by using an async method you free a Thread Pool slot while the method is outbound, increasing the number of requests that a server can handle in the same interval of time. I guess that in other types of applications (i.e. Windows Forms) the thread limit is mu...

Is there any way for an ASP.NET webservice method to use async methods?

I have an ASP.NET webservice (.asmx) with a simple method that reads something from the DB with a sync call (ExecuteReader) and returns the result. There is any way to optimize the Thread Pool usage (ie. by calling an async call (BeginExecuteReader)) without changing the method's signature? The intention is to not block a thread pool th...

Threading multiple async calls (Silverlight)

Hi, Part of my Silverlight application requires data from three service requests. Up until now I've been chaining the requests so as one completes the other starts... until the end of the chain where I do what I need to do with the data. Now, I know thats not the best method(!). I've been looking at AutoResetEvent (link to MSDN example...

Jboss 5.0 EJB 3.0 Asynchronous Proxy

At http://www.java2s.com/Code/Java/EJB3/EJBtutorialfromJBossAsynchronouscall.htm i've found an example showing how to call ejb methods in asynchronous fashion. Do you use asynchronous proxy in EJB 3.0 on Jboss AS and does it work as it should? ...

Asynchronous input in Lua

In a related question I asked how to get input via IUP. This works fine, except that it goes through the system, and is subject to the repreat rate which is not optimal for a game. What I would really like is the ability to obtain the current state of any key at a given time. Is there a way to do this (through IUP or otherwise)? ...

Silverlight async calls and anonymous methods....

I know there are a couple of debates on this kind of thing.... At any rate, I have several cases where I need to populate combobox items based on enumerations returned from the WCF service. In an effort to keep code clean, I started this approach. After looking into it more, I don't think the this works as well is initially thought... ...

IPostBackEventHandler RaisePostBackEvent not triggered on asynchronous postback

I have designed a custom user control, basically a button, that implements the IPostBackEventHandler interface, and obviously defines the RaisePostBackEvent(string eventArgument) method, where I do some processing, basically I trigger other events. By default, when clicked my control will execute __doPostBack its client id for a full p...

How to create a lazy-loaded and cached collection in Silverlight/CSLA

I'm creating a Silverlight front end for an existing desktop app written using CSLA. One thing that I'm having trouble with is converting classes like the following: public class SomeCollection : Csla.ReadOnlyListBase<SomeCollection, SomeObject> { private static SomeCollection _list = null; public static SomeCollection GetSomeCo...

Cannot find the right <div> with selector after loading the HTML

I hope I can find a solution to this one. Here it goes: After I have submitted my form to add a message to the database, I create a <div> with the load method. After that I do some stuff in the callback function. When the function to create the new <div> has finished, it returns to the calling function that is supposed to prepend the m...

Asynchronous channel close in Java NIO

Suppose I have simple nio based java server. For example (simplified code): while (!self.isInterrupted()) { if (selector.select() <= 0) { continue; } Iterator<SelectionKey> iterator = selector.selectedKeys().iterator(); while (iterator.hasNext()) { SelectionKey key = iterator.next(); iterator.remove(); Selectabl...

Client Monitoring keylogger problem

First of all, the keylogger that i am developing is not at all for offensive and destructive purposes. :) I am developing a client monitoring application in C#.NET. Keylogging is one of the features in my application. Though i have developed the code for the keylogger, i have not been able to implement it properly in my application. Th...

What is meant by: "Client side asynchronous frameworks"

I was looking at a job posting requesting a desired knowledge of: "Client side asynchronous frameworks". What do they mean by this with respect to Microsoft technologies, specifically .NET framework? ...

How to run a basic asynchronous job within sinatra ?

I'd like to run a basic asynchronous job exec('curl -0 '+url) from a sinatra app, I've tried to do that with fork and detach but it seems bogus. (I'm on windows) ...

How should I store state for a long-running process invoked from Django?

I am working on a Django application which allows a user to upload files. I need to perform some server-side processing on these files before sending them on to Amazon S3. After reading the responses to this question and this blog post I decided that the best manner in which to handle this is to have my view handler invoke a method on ...

WCF chunk data with stream

HI, I neet to pass chunk data from WCF service to client. I have a table with 16 million records, and so, when the client requests data from that table i open a datareader to that table and serialize and send every record to client,here is my method signature.. public AsyncResult FindAsync(AsyncRequest request) where AsyncResult and A...

Managing related but different Exceptions on Asynchronous Delegates

This is the scenario. I am using scsf to develop my application. I am using asynchronous delegates to keep my UI responsible. I have a CAB service which is in charge of notifying exceptions to the final users in a friendly manner (message box). I will show you an hypothetical example which ilustrates the actual issue (I will reduce the...

Javascript - synchronizing after asynchronous calls

Hello, I have a Javascript object that requires 2 calls out to an external server to build its contents and do anything meaningful. The object is built such that instantiating an instance of it will automatically make these 2 calls. The 2 calls share a common callback function that operates on the returned data and then calls another ...

top-level exception handling with event handlers in c#

Hi, I am currently asking myself some questions about exception handling and eventhandlers, and i hope some of you will give me some help. I will start to explain what i would like to achieve in my c# application: I have a top-level method (lets call it the main method). This method calls an asynchronous method (wich is called connect...