Here is a small sample of how you can consume WCF services using the new Async CTP features. Example, filling a listbox with categories of some sort.More
Author Archives: Roger Johansson
Async CTP first impressions
This is just my first observations. nothing fancy.. I’ve just installed the new Async CTP (for C# 5 async features) The SP1 Refresh can be found here: http://msdn.microsoft.com/sv-se/vstudio/async/ The new async and await features makes async programming so much sweeter, it lets you write async code in a sequential manner. e.g. This code looks sequential, but the code will…More
Essentials of Metaheuristics
Essentials of Metaheuristics is now available on Amazon.com http://www.amazon.com/Essentials-Metaheuristics-Sean-Luke/dp/0557148596/ (Featuring EvoLisa inspired images ;-) )More
O/R Mapping and domain query optimizations
One of the cons of O/R mapping is that the abstraction is a bit too high. You write object-oriented code and often forget about eventual performance problems. Take this (somewhat naive) example: For a given customer, we iterate over all the orders and all the details in those orders and calculate the sum of quantity multiplied…More
UoW / NWorkspace with Linq support
I have blogged about this for quite a while now. Now I’ve finally cleaned up the code and published it at github:https://github.com/rogeralsing/Precio.Infrastructure This is a small framework for UoW/Workspace support in .NET with Linq support. The framework contains a Unit of Work implementation and providers for Entity Framework 4, NHibernate and MongoDB(using NoRM). There is…More
