Async CTP
Well turned out I had mentioned the library regarding my Fluent nHibernate configurations maybe not as in depth as I'd like, but not willing to expand on the little I had written. Re-reading old posts I noticed I had promised an update on the Async CTP and that I will follow up on.
LOVE IT.
I think coding in an Async fashion is an addiction. And a good one. 2 years ago, I wouldn't have even noticed the delays on some of my older screens and applications. And I would have tolerated the longer delays. There weren't many good and simple solutions, and everyone else's code was just as bad. These days, after working with Silverlight and Async service calls day in and day out, when I go back to older applications I wrote, I notice the screen freezing for brief periods here and there and it drives me INSANE. And the big kicker is, these are desktop applications, but the ones I'm working with daily are Silverlight light applications running in a browser. Tasks not running on the UI thread in the client on Silverlight can slow to crawl in places where a full blown desktop app has no issue. So it kind of brings home the point about just how big of a benefit this can be.
Async is the magical piece that makes that lack of responsiveness go away. You can even fill the void some notification if it is a long running task. With Async, no more of those random annoying "(Not Responding)" notifications in the Window title, or worse, the screen greying out or being completely frozen in place. The slight delays just make the computer feel slow an not natural, but the not responding stuff can some times go on so long you're not sure it will ever return and whether or not you lost your progress. Written right, with Async methods, the code works seamlessly and fluidly.
The syntax used in the CTP took a bit of time to get used too, but once I got the little differences worked out in my head, it was simple. If you're a .Net developer, and your applications have a UI. Do yourself a favour and check this out. It feels so much better to write quality, responsive user interfaces. And once you get a few out there, you, and everyone who uses them will wonder why they ever tolerated anything less.
LOVE IT.
I think coding in an Async fashion is an addiction. And a good one. 2 years ago, I wouldn't have even noticed the delays on some of my older screens and applications. And I would have tolerated the longer delays. There weren't many good and simple solutions, and everyone else's code was just as bad. These days, after working with Silverlight and Async service calls day in and day out, when I go back to older applications I wrote, I notice the screen freezing for brief periods here and there and it drives me INSANE. And the big kicker is, these are desktop applications, but the ones I'm working with daily are Silverlight light applications running in a browser. Tasks not running on the UI thread in the client on Silverlight can slow to crawl in places where a full blown desktop app has no issue. So it kind of brings home the point about just how big of a benefit this can be.
Async is the magical piece that makes that lack of responsiveness go away. You can even fill the void some notification if it is a long running task. With Async, no more of those random annoying "(Not Responding)" notifications in the Window title, or worse, the screen greying out or being completely frozen in place. The slight delays just make the computer feel slow an not natural, but the not responding stuff can some times go on so long you're not sure it will ever return and whether or not you lost your progress. Written right, with Async methods, the code works seamlessly and fluidly.
The syntax used in the CTP took a bit of time to get used too, but once I got the little differences worked out in my head, it was simple. If you're a .Net developer, and your applications have a UI. Do yourself a favour and check this out. It feels so much better to write quality, responsive user interfaces. And once you get a few out there, you, and everyone who uses them will wonder why they ever tolerated anything less.
Comments
Post a Comment