In addition to my previous post Windows Azure Table Storage in the development environment I’ve created a demo application in which responsibilities are distributed over classes in a way that hides the implementation details of Azure’s table storage.
Continue reading “Windows Azure Table Storage in the development environment, part II”
Windows Azure Table Storage in the development environment
Lately I’ve been playing around with Microsoft Azure (for now in the offline development environment only) and it is really easy to get started. However, as easy it is to get your ASP.NET app running, it is a bit more difficult to get access to the storage part (blobs, table storage and queues). There is no straight forward how-to Continue reading “Windows Azure Table Storage in the development environment”
Fluent test data builder for unit tests
A while ago I came across the presentation Sustainable Test-Driven Development by Steve Freeman. In this great presentation Steve talks about writing unit-tests and how to avoid the danger of them growing to huge, complex, hard to read and hard to maintain pieces of code. Continue reading “Fluent test data builder for unit tests”
WPF: Document binding with WebBrowser control
The WebBrowser control in WPF is an excellent control for embedding a web browser in your WPF application. If you want to show a HTML document in your WPF app this control is also the way to go. However, in this current version of the control Continue reading “WPF: Document binding with WebBrowser control”
LINQ To SQL: Exception when removing child object from Master-Detail relationship
This week I ran into a quite unexpected exception that was thrown when I tried to remove an object from my LINQ ToSQL DataContext:
System.InvalidOperationException: Continue reading “LINQ To SQL: Exception when removing child object from Master-Detail relationship”
Deferred Execution behavior in LINQ providers
LINQ uses a Deferred Execution model which means that nothing really happens until the results of the query are accessed, e.g. in a for(each)-loop. One of the advantages of this model is that you can compose complex queries in multiple steps to make them more readable. Continue reading “Deferred Execution behavior in LINQ providers”
.NET 3.5: Types, Variables and Initializers
In this post I will wrap up some of the smaller but very useful new features of .NET 3.5/C# 3.0. Other features of .NET 3.5 I’ve already covered are Extension Methods and Lambda Expressions.
Continue reading “.NET 3.5: Types, Variables and Initializers”
.NET 3.5: Lambda Expressions
In addition to my first post about the new .NET 3.5 language features my second post in this series will be about Lambda Expressions. Lambda Expressions are basically a follow up to Anonymous Methods Continue reading “.NET 3.5: Lambda Expressions”
.NET 3.5: Extension Methods
This is the first post in a series of xx that will be about the preparation of a presentation for my HintTech colleagues, ‘LINQ and the related new features of .NET 3.5’. Today I start with the feature Extension Methods.
Continue reading “.NET 3.5: Extension Methods”
Web Service Mock Technique
Test Driven Development is a great thing in software development as it makes it possible to verify your code very easily during development and when you have to make changes. However, it is not always easy to write solid unit tests when external influences are involved.
For example, in case of Web Services you might want Continue reading “Web Service Mock Technique”