Keeping a file checked out after check-in with Team System 11 May 2010 Peter-Himschoot Team System, VS2010 This week I got a question whether it is still possible to keep some file checked-out during a check-in. This is something you can do with Source Safe for example. To be honest I had no idea if this is possible, so I decided to have a look. So the answer is yes (although in general I think this is d... [More]
Apple wants to own you (especially when you’re a developer …) 15 April 2010 Peter-Himschoot Great read: http://www.slate.com/id/2250993/ If Microsoft ever wanted to do something like this … what would happen do you think? How is it Apple can?
Pex and Code Contracts 10 April 2010 Peter-Himschoot VS2010, .NET Development I’m currently experimenting with Pex, Moles and Code Contracts, and I wondered what effect code contracts have on Pex tests. So I build this simple piece of code: 1: public class Demo 2: { 3: public int Foo(int a, int b) 4: { ... [More]
Overloading & Co/Contra-variance could break your code! 08 April 2010 Peter-Himschoot .NET Development, VS2010 Co and contra-variance were introduced to VB.NET and C# to make working with certain classes more natural (“because it should work”). But beware, I was experimenting a bit with this and found following possible breaking change. I started with these two classes: C# 1: public class Person... [More]
Building a declarative WCF service using Workflow Foundation 4 and Content Based Correlation 29 March 2010 Peter-Himschoot WF 4, VS2010, .NET Development This blog post accompanies my session on Workflow Foundation 4 programming during the Belgian Tech Days (actually developers and IT-pro days :)). During this session I built a WCF service using Workflow Foundation 4, and I want to show you how to do this on your own… In the first part you’ll learn ... [More]
ObservableCollection<T> now part of .NET 4 (No need to reference WPF) 22 March 2010 Peter-Himschoot .NET Development, VS2010, WPF/Silverlight ObservableCollection<T> is a generic collection added as part of WPF and Silverlight. WinForms has BindingList<T>. So writing code that targets both WinForms and WPF would mean using BindingList<T> (the common thing) and writing code targetting WPF and Silverlight would mean Observ... [More]
Fixing Application Pool not starting problem by editing ApplicationHost.config 21 March 2010 Peter-Himschoot .NET Development, AppFabric, WCF While playing around with Windows Server AppFabric I created a new Application pool set for .NET 4. However this application pool would immediately throw an error when starting; “The worker process failed to pre-load .Net Runtime version v4.0.21006.” A little experimentation showed that changing t... [More]
Using Model-View-ViewModel with WPF 20 March 2010 Peter-Himschoot .NET Development, WPF/Silverlight In this blog post I want to show my way of implementing the Model-View-ViewModel pattern for WPF. I hope it serves as a simple example for those of you who want to start using it. The advantage of MVVM is that the view, which is a WPF thing, doesn’t contain any code. Instead the view uses a lot of ... [More]
Configuring your WFC and WF4 services using AppFabric 19 March 2010 Peter-Himschoot VS2010, WCF, WF 4, .NET Development, AppFabric Configuring your services Normally I configure my services using Visual Studio (and type-ing in the configuration as Xml) or using the WCF Service Configuration tool. AppFabric also allows you to configure your services, directly from IIS (making it a nice integrated experience!). The difference is... [More]