The Wagner Blog
Development Notes, News and Trivia









Subscribe to "The Wagner Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

Wednesday, March 19, 2003
 

Writing Parsers and Serializers in C# for Biztalk

A paper on the subject by Microsoft.


6:50:41 PM    

Windows client tidbits

I have been writing a rich client and I came across some interesting behaviour. If you are binding a control to a data source be careful about the order in which you bind the control.

Initially I used the following code :

cboDay.DataSource =myTimesheet.Tables["date"];
cboDay.DisplayMember="day";

However, there is a problem with this code if you happen to validate data which is typed into cboDay as the textchanged event will be fired as soon as you set the data source but the control will not contain the expected value until you set the datasource. In order to avoid this problem always set the display member and, if required, the value member prior to setting the data source.

In other words always use this sequence of commands :

cboDay.DisplayMember="day";
cboDay.DataSource =myTimesheet.Tables["date"];

[Martin Spedding]


6:48:12 PM    

The future of OOP discussed

I always enjoy reading the American Scientist magazine, particularly the computer science column. This month the computer science column was regarding The Post-OOP Paradigm. Although they did discuss OOP and AOP to an extent, it wasn't anything new; however, I found the following quote from the article to be interesting:

Software Jeremiahs usually preach that programming should be an engineering profession, guided by standards analogous to building codes, or else it should be a branch of applied mathematics, with programs constructed like mathematical proofs. The pattern movement rejects both of these ideals and suggests instead that programmers are like carpenters or stonemasons—stewards of a body of knowledge gained by experience and passed along by tradition and apprenticeship. This is a movement of practitioners, not academics. Pattern advocates express particular contempt for the notion that programming might someday be taken over entirely by the computer. Automating a craft, they argue, is not only infeasible but also undesirable.

[Chad Osgood]


6:45:44 PM    

Samer's experience with Custom Error Pages

Today, as I was cleaning up and adding error handling to our ASP.NET application which will be going live soon (YES!!  Our first production ASP.NET app!), I found an interesting article on how to get stack trace information from an exception.  This gave me the ability to have a nice clean custom error page that includes the line number and file name where the exception was thrown.  Beautiful thing. 

Oh and in case you are having trouble accessing the exception information from your custom error page, which I imagine everyone will at first because it's not intuitive, I found this thread on the ASP.NET Forums.

http://dotnetweblogs.com/SIbrahim/posts/4052.aspx


6:40:40 PM    

RegionMaster Controls

Mike Harsh posted the RegionMaster Controls last night. It includes some very nice transparent/antialiased controls:

  • Curved Panel
  • Bounce Button
  • Solid Clock
  • Region Builder (to manipulate the rest)

[Peter Provost]


6:33:00 PM    


Click here to visit the Radio UserLand website. © Copyright 2004 Thomas Wagner.
Last update: 5/2/2004; 4:46:06 PM.
This theme is based on the SoundWaves (blue) Manila theme.
March 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Jan   Apr