.NET

A 20-post collection

4 years ago

Configuring Windows Azure Access Control Service

security   .NET   Azure  

When implementing an application I think it is nice if you can focus your development solving the problems the application should solve and almost nothing else. Most of the time authentication isn't r…

4 years ago

NServiceBus course summary

.NET   NServiceBus   CQRS  

Last week I've been attending the course Enterprise Development with NServiceBus authored by Udi Dahan and held by Andreas Öhlund at Programutvikling. The course was well structured and the course mat…

4 years ago

Linq tip of the day - Aggregate

.NET   linq  

One thing that I have noticed is that people tend to not be aware of the Aggregate function that exist for linq. If you learn how to use the Aggregate function it will be useful for you in many scenar…

4 years ago

Generic data mapper for DataReader

.NET   ADO.NET  

Isn't it boring to write mappers to map data from a db to objects? Wouldn't it be nice if someone wrote one that is simple to use and works in most cases? I guess so and maybe there are several out th…

4 years ago

Debugging your Windows Service in Visual Studio

WCF   .NET  

It could be hard to debug your windows services if you play by the book. If you do play by the book you need to install the windows service and then attach a debugger to the process to be able to debu…

4 years ago

Generic list to DataTable

.NET   tag  

Ok, I have to admit that I'm sitting on a WebForms project that is using datasets and DataTable a lot as DataSource to GridView's for example. When using GridView's in asp.net it's pretty nice to have…

4 years ago

Refactor your code - remove those if-else if-else and switch statements

.NET   functional   refactoring  

I'm currently working with some legacy code and came across a really long if-else if-else function. We've all been down that path writing that type of code. A situation where this is pretty common in…

4 years ago

How to check http status code with watin

.NET   watin  

I'm about to write my own blog, which will replace this one when it's done. When doing so there is no excuse to not do it as it should be done. So I'm using SpecFlow to define my features and WatiN to…

4 years ago

Convert DataTable to generic list extension

.NET  

The background to the following post is this question on Stack Overflow and my old blog post about generic list to DataTable. The question on Stack Overflow is basically asking the opposite of what I…

4 years ago

Disposible WCF client wrapper

WCF   .NET  

Ok, so you have implemented your WCF service and is about to implement your service client. As usual you want your client to be disposed as it should so you start writing something like: using(var cl…