Cloning Entities in Silverlight 26 March 2011 Diederik-Krols Spatial Here's a nice little extension method that returns a deep copy of a relatively simple object - like an Entity or a Data Transfer Object. It is based on the DataContractSerializer, so the object should be serializable through XML or a DataContract. The extension works from Silverlight 2 upwards... [More]
Turning Silverlight Application Themes into Toolkit Themes 16 March 2011 Diederik-Krols Spatial Not every development team is blessed with a professional graphical designer. So I can imagine that a lot of developers appreciate a free, nice, and very complete set of themes, such as the Silverlight 4 Application Themes. Tim Heuer's team has built for us the following themes: JetPack, Accent... [More]
Themebuilding in Silverlight 02 March 2011 Diederik-Krols Silverlight In this short article I'll show you how to transform a resource dictionary with colors, brushes, styles and templates into a real theme - à la Silverlight toolkit themes - and how to apply it to a region in the user interface. I'll build a theme called Glass. Building the theme Ea... [More]
Fuzzy lookup of names with a Dutch Metaphone implementation 10 February 2011 Diederik-Krols SQL Server Phonetic algorithms are heavily used to provide suggestions and corrections in spell checkers and also for searching and matching names. You could use such algorithms to populate autocomplete controls for the lookup of cities and streets, patients in a hospital, or reservations for a hotel stay. All... [More]
Silverlight and the Windows Azure AppFabric Service Bus 08 February 2011 Peter-Himschoot Azure, WPF/Silverlight, .NET Development, WCF This blog post will show you how to allow a Silverlight application to call a service over the Windows Azure AppFabric Service Bus. The problem you need to solve is that Silverlight will look for a “clientaccesspolicy.xml” at the root uri of the service. When I tried it myself I couldn’t find any “h... [More]
Building an Entity Framework 4.0 model on views: practical tips 01 February 2011 Diederik-Krols Entity Framework 4.0, SQL Server Many development teams and database administrators use views to create an abstraction layer on top of a physical data model. In this article I'll show you how to build an Entity Framework 4.0 (EF4) model upon such a set of views. I'll create a couple of views in SQL Server -some of them indexed-, im... [More]
Managing your TFS work items 19 January 2011 Peter-Himschoot .NET Development, Team System Telerik just released a new version of their free Work Item Manager (WIM), which allows you to work with work items yet another way
Using the Prism 4.0 Event Aggregator 16 January 2011 Diederik-Krols .NET 4.0, WPF This article illustrates the problems that occur when you use regular events for intercomponent communication in a composite application. It shows how to solve these problems by implementing the Mediator design pattern, using the Event Aggregator from the Prism 4.0 framework as an exa... [More]
Microsoft’s alternative to the iPad: the ExoPC 04 January 2011 Peter-Himschoot Windows 7 http://www.exopc.com/en/index.php
Very Spatial Wishes 20 December 2010 Diederik-Krols Spatial, SQL Server Last year I encountered this T-SQL script on a MSDN Forum. Run it in SQL Management Studio (not Visual Studio!), and select 'Spatial Results': -- Original Source: http://social.msdn.microsoft.com/Forums/en/sqlspatial/thread/d52c686e-30cc-4ae0-bdc7-ae4a2536cd64 -- Prepare the scene CREAT... [More]