Ok, just so I'm clear on the flow, it will be like this, I think. Sorry if this question is dumb: I have a vxml application that will connect to my IIS web...
I don't know enough about what you are trying to accomplish to know how you should best architect it. Also, your question really has nothing to do with my...
Is it possible to prevent sql deadlocks caused from inserts using this library? If I have an aspx page that is doing a lot of inserts against sql 2005,...
I don't know very much about SQL and databases in general. It seems to me that you can issues many async inserts against the DB and that it queues them up and...
Eldoran, you are asking the wrong question. The question is not how AsyncEnumerator can help handle deadlocks. The real question is why you are seeing...
Thanks for your quick and detailed reply! I'm on a plane heading to Rome at the moment so it will probably be day before I get to try it out. I'll be sure to...
I have a couple observations based upon the last couple days and your response. First, using the built in dataset object that .NET 2.0 provides, there is no...
Seems to me there are a number of things not well understood here (ASP.NET and its page and application lifecycle; threading/async and how exceptions are...
Hi, I am transferring hundred thousand data transfer requests from my Desktop to a REST web service. And then reading the web response back. While transferring...
I suppose by only showing part of my source code I deserve this kind of response. What I showed, was really straight forward. m_returncode is a static...
You seemed to indicate the number of "E"s that you got was unexpectedly high. If you use a static variable to hold that state and never bother to set it to "I"...
I use my AsyncEnumerator a lot for doing REST calls. The problem can't possibly be my AsyncEnumerator as it hasabsolutely nothing to do with the I/O...
Hi Jeff, I am trying to get better understanding of threading and synchronization constructs. So I decided to implement some of the synchronization constructs...
This Yahoo group is really for supporting my Power Threading library; there is a good chance that others in this group are not interested in knowing how well...
Thanks for the tip.. I didn't know there was a bulk load option in ado.net (SqlBulkCopy). That option should help tremendously. I set it to insert the full...
Hi Jeff, I am trying to use AE in a retry scenario. Could you please tell if am doing anything wrong with the following piece of code? Should I do any explicit...
If you are using timeout and/or cancelation, when you call the BeginXxx method, you also need to call an overload of the AE's End method that accepts a...
Hi! I had laptop problems while I was in Rome so I couldn't try out your example until I got back. After working with your example code (in your earlier...
The only way to call a WCF service async is to click on the Advanced tab and then make sure the "Generate asynchronous operations" checkbox is checked. ("Add...
Hi Jeffrey, I am part of a team that wrote a TCP Server / Client .Net 2.0 application that manages large Security Video Networks. We made use of your RWG...
What Nikos says is correct. I'll also add that you cannot efficiently add cancelation and/or timeout to a synchronous I/O operation. And so, you should do what...
A gate is released either when the callback method passed to BeingRead/Write as the "ReaderWriterGateCallback callback" returns or if inside this method, you...
Hi! At the risk of repeating myself let me start by once again thanking Jeffrey for sharing his excellent library with the group. The more I use it the more...
AsyncEnumerator hangs are almost always related to the SynchronizationContext and this is your problem too. The SyncContext is different for a Console app as...
Let ms also add, the I highly recommend for everyone that in your debug builds, you call AsyncEnumerator.EnableDebugSupport(); This turns on some great...
Wow! Thanks for the quick response, and on a Sunday no less!! Your solution worked partially in that adding an "ae.SyncContext = null;" call to line 59 of...
Hi Jeffrey, I found my problem was caused by the Threadpool that the RWG uses. Some of my processes access the data on a Read thread and then gets upgraded to...
Don't call EndExecute where you are - this is what is forcing the GUI thread to block until the iterator is done. Instead, when you call BeginExecute, pass to...