June 2008 Entries
As with all programming tasks, there are many different ways to create a program that solves the problem. The trick is, as ever, to write the program, get it working, and then optimize it. It may be that after you have your program up and running (and profiled), you'll discover that there are some places that you've used LINQ which would be better off using stored procedures running within your database or vice versa or using LINQ to access stored procedures. The trouble is that whether LINQ is the best approach for your apps is something that you'll find out...
Just a quick note for all those who have subscribed to my old tumblr feed at http://xibalba.tumblr.com. I no longer use this address and it would appear that someone has already started using it instead of me. Please unsubscribe from there and if you're so inclined subscribe to http://tumblr.hmobius.com/rss. Thanks, Dan
Just a quick note on the new Browser History feature in .NET 3.5 SP1. I had some time to experiment with beta 1. Because of its long gestation period as part of the ASP Futures package, it has been written about a lot. However, as is the curse of beta software, there is a 'breaking change' between the b1 release and the futures package version that many blog articles write about. The feature is still enabled using the EnableHistory attribute on your page's ScriptManager object.<asp:ScriptManager runat="server" id="sm1" EnableHistory="true" />
However, the EnableStateHash attribute which you can use to have ASP.NET...
Now as far as I'm concerned, the search box in the menu bar of IE7 is probably the feature I most use - Alt+D, Tab gets me there in half a second - but it takes up some screen realty I'd rather use for other purposes when it comes to taking screenshots for the book, so here's how to remove it and then add it back again should you ever need to do so. Open RegEdit Find HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions or create it if it isn't there already. Add a DWORD key called NoSearchBox. To turn off the search box,...
Like pretty much anything I get my hands on, I've tweaked, deleted, reinstated, redesigned in triplicate, sent in, sent back, queried, lost, found, subjected to public enquiry, lost again, and finally ignored for three months my tumblr account trying to figure out what to do with it. In the end, it turns out to be just a really good place to stick notes, photos, youtube clips, quick reviews and quotes just like the tumblr blurb says. Have a look and see if there's anything you like as well.