June 2008 Entries

List(of T) should not be exposed on a public interface...

I ran some code analysis on my audio streaming solution today and learned something new: There is a recommendation within the code analysis engine that looks for cases where the List(of T) type is exposed as a public property or on a public method of a class. The recommendation is to use something like System.Collections.ObjectModel.Collection(of T) instead. This seemed kind of strange to me, so I looked into it a bit. Here an article from the code analysis team blog that explains the rational: http://blogs.msdn.com/fxcop/archive/2006/04/27/585476.aspx I'm still looking into this a bit. There may be consequences...

posted @ Friday, June 27, 2008 3:23 PM | Feedback (0)

Krugle - A search engine for source code...

I just learned about a search engine called Krugle (http://www.krugle.org). It lets you search billions of lines of code in open source projects around the world. It's really a pretty neat thing that they've done. There are many times that we need to write some complex sort of code that someone else must have had to write too. Why not see if you can re-use it and save yourself the time. The engine is aware of source code structures, so you can select your language and then search for the keyword in certain locations like class names,...

posted @ Thursday, June 26, 2008 3:20 PM | Feedback (0)

Entity Framework - It's much more than just another O/R mapper

I listened to an Entity Framework podcast from Channel9's "Expert to Expert". Brian Beckman (a mathematician at MS) interviewed Sam Druker (GM of the Data Programmability group) about the design and philosophy of EF. It was a very interesting discussion and helped to position EF in comparison to the other O/R options out there. There were a couple key points that stood out to me: EF is not just an Object / Relational mapper in the classic sense of the word. It's scope is much more than just translating a .NET class into a SQL row. ...

posted @ Monday, June 09, 2008 3:20 PM | Feedback (0)

Mountain Biking - My long lost hobby is back!

When I was in high school (out in Colorado), I raced road bikes and did a fair bit of mountain biking. I stopped racing while in college and haven't done much riding since that time. I love to ride, especially off road, but it wasn't until recently that I found mountain bike trails here in North East Ohio. The Metro Parks are nice, but riding on pavement is not my cup of tea. Well I found some single-track trails and I finally got a mountain bike again! My first ride this year was on May 24th at Vulture's Knob in Wooster....

posted @ Monday, June 09, 2008 12:00 AM | Feedback (1)

My new favorite movie - Speed Racer

Yesterday was my 30th birthday, so the whole family went to a movie. Being the birthday boy, I got to pick the movie: Speed Racer. It was Awesome! The movie was made by the Wachowski brothers (also responsible for the Matrix trilogy). The movie was a lot of fun. Very fast, sweet cars, and sweet scenery. This version is not animated like the original. They made extensive use of green screen and CG for the cars and races. The locations are a conglomerate of various places around the world that were digitally stitched together for the movie....

posted @ Wednesday, June 04, 2008 3:17 PM | Feedback (0)

VB.NET is Case Sensitive when it comes to Web Services...

For the most part, VB.NET is not case sensitive. XML is case sensitive. As you work with web services (datatypes, method names, parameters, etc), please be aware that changing the case of a name is a breaking change.

posted @ Wednesday, June 04, 2008 3:15 PM | Feedback (0)