While preparing for our one day pre-conference tutorial at VS Connections, I decided to build YARR (Yet Another RSS Reader) as a sample application. I felt it was a particularly interesting sample application since it represented the intersection of four different technology spheres: XML, [D]HTML, SQL, and C#.
I presented it to our students in the class in about an hour or so. I also presented it as an application that is ripe for code generation since I feel that code generation lets you efficiently capture cross-technology abstractions. I’m placing a drop of the source code for YARR here, for anyone who may be interested in taking a look.
To install / setup the code, you need to run the SQL script from solution\sql in the ZIP file. I have a nice little command-line batch file that will run the osql command line utility from you. Just modify the script to point to your SQL server, and optionally change the login that you want to use to create the database schema. The only other bit of tweaking you might want to do is to copy the included default.htm file to the c:\temp directory (or modify the sources to read the default HTML page that is displayed in IE from somewhere else).
Comments / feedback would be welcome. Next up tomorrow is to rewrite this sample app using code generation.
2 archived reader comments
Richard Birkby (2003-05-07)
Entity::CalculateHash() doesn’t OR l0 with the rest of the top 64 bits.
John Lam (2003-05-07)
Doh! I just fixed that. Thanks for the catch!