I’m building a Windows Phone 7 application, and I have a need to show nicely formatted HTML from a dynamic source, but not a web server. I hacked around with Silverlight’s TextBlock with its Inlines property for a while, but the lack of anything other than a plain Run object leaves me short. I can’t easily render links and lists.
You may or may not know that my day job involves bitwrangling for Datacom, using Microsoft development platforms (yes yes evil empire yadda yadda – give me a break). As such, I’m excited that Tech.Ed New Zealand is a mere two weeks away. Tech.Ed is the 3-day conference where Microsoft developers (developers! developers!) and systems people get the low-down on the latest development tools and techniques.
After listening to The Gang XVII, with its usual nuggets of awesomness (awesomity?) buried beneath hours of non-sequitur and Jason “Idiot Savant” Calacanis, I had to comment on something. The topic of Silverlight came up, and the comment was (paraphrasing) “why would all these Flash and Air developers bother to switch to Silverlight?” Here’s the [...]
I love a good ambiguous error message as much as the next guy, and injecting some fun into those error messages always makes my day. We came across a strange error in our database connection code the other day, and the following (100% genuine, Microsoft generated) stacktrace was part of the error: [code]Stack Trace at [...]
Found a nasty little bug in ASP.NET 1.1 this morning. Once again I’m documenting it for my personal archives and the Googlers. This one results from using a combination of Response.Redirect, SmartNavigation and secure (HTTPS) connections. The page in question was designed to save changes, then redirect to the original calling page, so the contents [...]
Intelligent code snippets, once the domain of third-party refactoring tools, are now available natively in Visual Studio 2005. Intelligent code snippets allow you to write templates that can be used to insert common code into the current code editor. CSharpCorner has a good little article describing code snippets right here. As an example of what [...]
Another boring .NET post. Sorry – this is more for my own book keeping than anything else (and because it took me ages to find the solution online). Okay, we’re creating a custom cell for a DataGridView control in Windows Forms. The custom cell hosts a custom control that implements the IDataGridViewEditingControl interface, allowing it [...]
The point of DesignMode is to detect when a .NET control is being designed, versus when the control is being loaded in runtime. This is useful for example when you have a control that retrieves data from a database: you don’t want that control accessing the database when you’re simply moving stuff around in the [...]
Ahhh yet another trip into the dusty bowels of .NET data access behaviour. Non developers can tune out now if you’d like. This one is an interesting bug brought about by ADO.NET’s wonderful ability to manage data and relationships on the client-side, without the need to continually talk to an SQL server. One of the [...]
This announcement snuck in under my radar. It’s not so much exciting as important. As a developer working with .NET daily, I’ve been hanging out for the updated features in the 2.0 revision of the .NET Framework. Finally Microsoft have announced a release date for 2.0, in the form of Visual Studio 2005: So I [...]