Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Community Bloggers

Browse by Tags

All Tags » Agile and Extre... » Smart Clients, WinForms and WPF   (RSS)

  • CTP and Diagnosing WCF, CAB and other Exceptions

    In the last post , I talked about how we had reached Iteration 33 and gone to CTP with a large International bank. I alluded to some problems. Of course, one of the CTP's main purposes was to find problems and learn from them. We ended up having a variety of problems. There were initial problems in the Click-Once deployment. We built a WIX MSI (great work done by mostly Aaron & Brad) that installs our database scipts, sets up our config files, installs our WCF Services and sets up the service for the Click-Once Deployment of our client. This is installed server-side. The Click-Once deployment failed, our excellent person on the scene went to an xcopy deployment, and as you will see later, that caused some funly issues, although far from being the only and main cause. (Note: I have just split the post into two and the next part will talk about our solutions with the Service Factory, Exception Management and Logging Blocks). The gist of it is that our client never came up (-. Trying to find out why proved to be a two-day somewhat intense struggle for Steve and I who were the main leads dealing with our man in Paris. The first major realization is that all of us on the whole team had done a real crappy job dealing with Indigo Service exceptions not catching the variety of exceptions that could come up including the service not being there. We did have a Global Exception Handler and had a custom dialog with the nice error message. While realizing our shortfalls, the immediate mystery was why the Global Exception Handler did not catch and show these particular exceptions. Left to their own devices, these exceptions would bubble up and evetually show themselves as CAB exceptions. Our global handler handled the Application.ThreadException. What we forgot was to handle the AppDomain.UnhandledException event. It would be something like this: Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException Read More...
  • New and Notable 110

    Welcome new readers! There are a number of great posts that caught my attention today. In addition, I have started my 3rd CAB article to be posted here as well as getting my Syracuse WCF slides up on the site. Agile/Extreme Programming/TDD Now, Scott Ambler has taken the ugly heavyweight monstrosity, Rational Unified Process (RUP) and tried to morph it into the Agile Unified Process (AUP) . I have a lot of respect for Scott and his huge contributions to many areas of Agile but I am frankly sick and tired of making Extreme Programming politically correct for brain-dead software companies and watering it down further and further with these kind of things. The tendency these days is to further dulute "Agile" (I hate that term) methodologies to make them palatable. Enough. [via Mike] Ayende on Rhino Mock Limitations The 5C's of Agile SCM Brian Marick list the things on his mind as he goes to Agile 2006. Also see his Reafctoring, Redefine d Twelve Benefits of Writing Unit Tests First Ruby/Rails Rails Not a DSL or Ruby a DSL? CLR The BCL team wants to add arbitrary length Integer/arbitrary precision Double classes and would like your feedback Brad Abrams announces a very good looking video cast series from Microsoft teams: Live from Redmond . I notice that Steve Lasker is doing the first one on Smart Client: Offline Data Synchronization and Caching for Smart Clients. I looked at and used some of Steve's stuff by permission when I was presenting on Occassionally Connected Smart Clients and it is great stuff! All the other talks look great as well. Greg continues to rock with Method Calls: Part 1 (Normal Calls) Avalon/WPF/Smart Clients The man, Charles Petzold has shipped his Avalon book to the printers. This is one that I am highly anticpating! Peter was interviewed by Dr. Dobb's Journal on CAB , the Smart Client Software Factory and Agile Software Development . WCF/SOA Tomas on Async Web Calls and the 2-Call Limit Data/LINQ/OR/M Ralf Lämmel and Erik Meijer. Revealing the X/O Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us