I have an HTC Dash (a Windows Mobile 6 Standard device) and am a developer, so of course I’d like to play around with writing applications for it. I downloaded the latest SDK and created a sample app in Visual Studio 2008. I was able to deploy to an emulated device, and all was well.
That is, until I decided to have my application attempt to fetch some data from the Internet. Since the emulated device isn’t a real phone, it doesn’t have a data plan, of course. It also doesn’t have Wi-Fi. But since it’s running on a desktop machine, it should be able to use the host’s network connection, right? If only it were that easy. There is a setting to use the host’s network interface, but attempting to turn it on while on a Windows Server 2008 machine gives you the notification that you need something from Virtual PC 2007! Fortunately, installing Virtual PC did the trick, and I was able to start testing th... [More]
Since the path rewriting issue mentioned previously wasn’t a BlogEngine-specific problem, I was reluctant to invest a large amount of effort to solve the path problem if it would only fix BlogEngine. As it turns out, I can pull a similar trick “on the way out” as the one being applied on the way in. Instead of modifying hundreds of instances of path concatenations in the BlogEngine code, I wrote an HttpModule that “unwrites” the path that GoDaddy seems to be sending in. All that the module has to do is attach to the HttpApplication.PreRequestHandlerExecute event and then wrap another layer around HttpResponse.Filter. This give the module a chance to tinker with the values that the page attempts to write to the output stream. BlogEngine.NET itself uses this same method to add compression... which introduces an interesting ordering concern. I’m attempting to “unwrite” text, so my module’s filter needs to be one of the first ones called — so that it doesn’t ... [More]
I’ve (temporarily) given up on re-working the internal links for BlogEngine.NET. It’s not an intractable problem, but would require such pervasive changes that it’s not something I have time for right now. Instead, I’ve decided to focus on cleaning up the theme I’m using. BlogEngine.NET has a really simple theme system, and since the pages are nicely structured, it should be a straighforward matter to develop a new theme that works for me. Why do I need a new theme? For starters, I can’t stand most of the “tiny text means high-style” designs that seem to pervade the net. Okay, then, why not just change the base font size of an existing theme? Another pervasive practice is to write CSS with absolute (pixel) sizes for fonts, and to do so far more often than is necessary. This is very much like the way that most people use word processors: rather than use styles to manage and maintain a particular look -- which makes altering the layout far easier, incidentally -- they manually change th... [More]