February 2008 Entries
Dan Guzman had an enlightening post on how SQL server caches ad-hoc queries when using inline parameters. Basically the gist is that if your values for any given paramter changes you get variability in you cached procedure. However, if you specify the SqlDbType when adding your parameters, you can avoid this whole problem. Technorati Tags: sql...
I was working with log4net recently and had put a lot of the configuration information in the web.config file for an ASP.NET 2.0 web site. Ideally, this was not what I wanted because I want to be able to change the configuration of the log4net without recycling the web application (a side effect of changing the web.config file). After spending a fair amount of time reading out on the web--a lot of people said it can't be done. It took me piecing together multiple settings to finally get this to work....
So I was working today on some code that has a fair amount of automagically generated tests. Now I must first say that generated code is cool, but generated tests...not so much. If you claim tests for code coverage...go for it. If it is about TDD, you can't really "generate" the tests can you. (That would be TGD--test generated development) The tests are supposed to come before the code...OK, that's an argument for another post. The point of this post is that when you are doing tests, you have to...
Assessing the toll of China's Freak Snowstorms http://www.iht.com/articles... China plans to halt rain for Olympics http://www.latimes.com/news... China 'will stop the rain' for Olympics http://www.news.com.au/merc...