Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pluralsight training
Message
From
28/01/2011 18:19:27
 
General information
Forum:
ASP.NET
Category:
Third party products
Miscellaneous
Thread ID:
01497507
Message ID:
01497724
Views:
43
>>>>>C# 5! You're killing me! (sigh)
>>>>>
>>>>>I guess Bill Wagner gets to write another book.
>>>>
>>>>The one I ordered turned up today. Even without reading it all I can see a lot of real meat in there and have already ordered the Net4 version.......
>>>>>
>>>>>OK, tech discussion -- asynchronous methods. I know what asynchronous means so have an idea. How is this a good thing?
>>>>
>>>>Well (now that I've calmed down) I guess I can see that all that asynchronous methods will do is make the implementation of multi-threading code simpler and more readable. Or as you querying the basic benefits of multi-threading in the first place ?
>>>>
>>>
>>>Many years ago I worked on an application that did almost all updates asynchronously. You and Craig are right that it makes things seem faster to the user. The only downside is the user is left to assume the updates were successful, when that may not be the case.
>>
>>I see Tracy has given you lots of examples where paralllel processing can provide a more responsive UI but I'd still take issue with the idea that 'updates' are not good candidates for an asynchronous operation. The flaw in your argument is in the ' the user is left to assume the updates were successful' statement. You just have to ensure that they don't make that assumption - and, if they do, that they can't take any non-retractable decisions based on that belief..........
>
>.NET probably has better mechanisms for notifying the UI task that the async update task failed. Seriously dating myself, the app I was referring to (which I worked on for close to 10 years) was an IBM mainframe CICS app. Once you launched the asynchronous task, Elvis had left the building. The calling program was left behind with fingers crossed. If you really wanted to know, at the cost of response time, that's what synchronous calls were for.

But I assume you are not claiming that this was an optimum strategy :-}
>
>Apropos of nothing, other than knowing you are a serious bicyclist, I came across something in an American magazine last night that cracked me up. "Crap cycle lanes" -- maybe you have heard of it.
>
>http://www.asyf99.dsl.pipex.com/croydon/cycle_lanes.html

LOL. On principle I avoid 'cycle-lanes' like the plague. If they expect me to be there on a bike I don't want to be there....
Coincidently we've started muttering about this summers trip. The current idiotic plot, having cycled most of France, Italy and N.Spain, is to start from somewhere on the Barrentssee and head South - the two major snags being that Finland is boring and beer is expensive.....
Previous
Reply
Map
View

Click here to load this message in the networking platform