I Can't Believe That Worked

Code and Ideas, minus the profanity (the one language all developers know)

Browse by Tags

All Tags » C# (RSS)
Silverlight Bing Maps Control and Drag & Drop

I was recently asked to build up a Silverlight tool to show a file full of addresses on a map. I decided to use the Silverlight bing maps control and I must say I was not disappointed with it's functionality. It ended up being extremely simple. The tools used to create this were VS2010, Silverlight 4, Bing maps Silverlight control, and the Bing maps web services.

...
Genetic Algorithm -- Add Ur Own Func :)

 

Hi again,

I was a little bored this weekend and needed to add in some GA functionality to a side project. I felt like it would be best to create a simple executer to deal with the iterative behavior of a genetic algorithm. The executer take in funcs provided by the consumer and executes based on a simple iterative model. Below is what I came up with. Cheers!

 

...
.Net 4.0 Reflection vs. Dynamics vs. Property Setting With Times

Today I found my self hanging out after a sprint review with my partner in crime Kevin Rohling.  TFS was down (not tfs's fault, but some other freak accident...) and I hadn't installed VS 2010 yet, so it seemed like the perfect time to do such things. I got everything up and running, and Kevin and I got into a discussion about Dynamics & performance. We made a quick lunch bet on which is faster, reflection or dynamics for simply setting a property. I figured reflection would be quicker, while Kevin thought dynamics would be faster. Well, I owe him lunch now. The code is below.

...
MetaTable Expression Builder for Fetching Any Object Via Collection of Primary Keys
Basically, I wanted to build a method that gets an object from a data context whatever the primary key may look like, and whatever type that object may be. I wrote this code a little while ago when I was exploring the DynamicData libs. I was checking...