Geeks With Blogs
Darren's Blog Where sense and sensibility don't meet Development Posts related to programming and development
Fast Reflection project on CodePlex
As a followup to my previous entry on faster reflection with expression trees, I have released the source on code plex and that is where i will actively be distributing updates through. Some noteable changes are that now you retrieve an FastProperty instance through a factory method which will cache the property for subsequent reference. Also, I have merged everything into one class because I realized I was looking at what information I needed in the wrong places. Now you can just say FastProperty<object,obje... ......

Posted On Wednesday, July 9, 2008 2:19 AM

Faster Reflection using Expression Trees
Currently I'm working on a data synchronization tool in which I have finally had the need to use reflection. I'll admit that I'm not an expert when it comes to reflection, but it isn't that hard to work with either. And I have heard before about the performance hit you take with reflection, so up until now I hadn't ever needed / wanted to use it, but I see now the power that reflection offers. One day while perusing my RSS feeds for the day I was reading one of Scott Hanselman's weekly source code ......

Posted On Friday, June 27, 2008 5:18 PM

Recurse the Control Tree in ASP.NET
I came across a need the other day to recurse the page control tree (or any control tree really) to find all controls of a certain type, so this is the extension method I wrote to help me do that. Hopefully it will help others as well. /// <summary> /// Recurses the control tree and finds all controls in the control collection that are of the specified type. /// </summary> /// <typeparam name="T">The type of control you want to find</typeparam> /// <param name="controls">The ......

Posted On Wednesday, February 20, 2008 9:16 AM

Having fun with the new guy
While being a developer short for a while isn't the most fun thing for a small company... losing your new developer wouldn't be much fun either, but i think this was worth taking the chance. What would you do if the first time you loaded up visual studio you saw this? From the look on the new guys face... i would categorize the 30 minutes i spent finding the most rediculous font for programming and setting up visual studio to be well spent ......

Posted On Friday, August 17, 2007 5:38 PM

Living the verbose lifestyle
I've decided to live the verbose lifestyle in programming. I've learned that usually doing something verbosely ends up working better in the long run (even though it might take a bit longer). I'm definately glad that the visual studio and/or c# compiler team do this as well. Right now our company is in the middle of converting from asp to .NET and have decided that having the project run from the root of the website. So we changed our visual studio web development server virtual path to "/". After ......

Posted On Friday, June 22, 2007 10:51 AM

Copyright © Darren Kopp | Powered by: GeeksWithBlogs.net