Hi Jeffrey, I have a WCF application that offers a simple service to a couple of clients. The server gives the clients data from a database and write to it...
If you have just 10 concurrent users at most then there won't be much benefit to making the server asynchronous. The worst case is that you have 10 threads...
http://blogs.msdn.com/charlie/archive/2008/12/03/jeff-richter-video- on-asynchronous-programming-and-his-power-threading-library.aspx I believe anyone in this...
Wow Roberto, you are fast and beat me to the punch! I was going to post a message to the group this morning with the link but thanks for already doing it. It...
(I think I accidently sent this message directly to the person who started the thread, apologies for that.) This video is indeed a thing of greatness. I had an...
Lambdas (and anonymous methods) are very helpful for asynchronous programming. However, they are not as powerful as the iterator. The reason is because you...
Thanks for the response, Jeffrey. There is certainly no need to start and end control structures across the boundaries between lambdas and outer functions....
I see what you are saying. I re-read your blog entry and it seems to me that the goal of your proposal is to hide the details of asynchronous socket...
Thanks once again for the feedback, Jeffrey. I've had some fun today playing with this further. I've looked at providing this facility as a pure bolt-on...
Hi Jeffrey, I've been watching Luca Bolognese's presentation on F# at PDC, and I was impressed by the simplicity (for him, since I understood very little) to...
I am looking at AsyncEnumerator, and thought I'd try to make a test application copying a file from local disk over the network, and try to interleave the two...
Here is in fact the whole code. I am seeing odd results so perhaps this test application wasn't the best way to test it. The results are odd in that the...
Yes, using the AsyncState is the best way to distinguish the 2 concurrent operations. --Jeffrey Richter (http://Wintellect.com<http://wintellect.com/>) ...
I have not really studied F# async facilities so I don't know enough to compare them with something else. None of Wintellect's clients are using F# (it's all...
File I/O in Windows is a lot more complicated than people realize. Some file systems (like FAT) perform all their operations synchronously internally even if...
The issue is that I sold the patent rights to my ReaderWriterGate/SyncGate to Microsoft. When I sold it to them, I got a license back that allows I and my...
I am having a hard time getting my head around the ReaderWriterGate test. Before I bang my head against the wall any longer I was wondering if there was...
rkevinburton@...
Dec 9, 2008 10:52 pm
146
Well, you are looking at my code that test the gate to ensure that it is working correctly. This code is not good for understanding how to actually use the...
I haven't looked into the reason but when I try to start up Visual Sudio with the PowerThreading-samples solution I ge the attached error. Basically I cannot...
rkevinburton@...
Dec 10, 2008 2:24 am
148
If you care about this project, then you need to install the Silverlight Tools for Visual Studio 2008 SP1 from here http://silverlight.net/GetStarted/ --...
I am trying to run the APM samples and tests but on the first functional test I get the attached UNCAUGHT InvalidOperation exception. It occurs on the...
rkevinburton@...
Dec 10, 2008 5:19 am
151
My guess is that you are running the app under the debugger and that the debugger is reporting the unhandled exception. Am I right? If so, the debugger is...
My guess is that you are running this under the debugger. Am I right? If so, the debugger is letting you know about the exception. If you hit F5 (Go), then the...
Thanks for the two answers provided. I guess I'll need to be a bit more elaborate in my experimentation :) ... synchronously internally even if you try to do...
I am running under the debugger. This just didn't seem like an exception that I could ignore. If I cancel this dialog and hit F5 then the tests continue to the...
rkevinburton@...
Dec 10, 2008 3:01 pm
155
I am running under the debugger. This just didn't seem like an exception that I could ignore. If I cancel this dialog and hit F5 then the tests continue to the...
rkevinburton@...
Dec 10, 2008 3:01 pm
156
Aparently Microsoft is confused and it will not let me install this SDK. It says that I need Visual Studio 2008 SP1. I have the Team Suite 2008. Apparently it...