.Net

DynamoDB.SQL – version 1.1.0 released

Just a quick note to say that another minor update to DynamoDB.SQL has been release, you can view the release notes here.   The latest update adds support for a TSQL style WITH keyword for specifying optional parameters for tweaking the query/scan operation. For queries, you can specify the NoConsistentRead and PageSize options to use …

DynamoDB.SQL – version 1.1.0 released Read More »

AOP – string interning with PostSharp attribute

Whilst searching for an elegant solution to apply string interning across a large number of classes (we’re talking about hundreds of classes here..) it dawned on me that I can achieve this with ease using PostSharp’s LocationInterceptionAspect. All I needed was something along the lines of: You can apply this attribute to a class or …

AOP – string interning with PostSharp attribute Read More »

Introduction to AWS SimpleWorkflow Extensions Part 3 – Parallelizing activities

The series so far: Hello World example Beyond Hello World   Within a workflow, not all activities have to be performed sequentially. In fact, to increase throughput and/or reduce the overall time required to finish a workflow, you might want to perform several activities in parallel provided that they don’t have any inter-dependencies and can …

Introduction to AWS SimpleWorkflow Extensions Part 3 – Parallelizing activities Read More »

Introduction to AWS SimpleWorkflow Extensions Part 2 – Beyond Hello World

The series so far: 1.   Hello World example 3.   Parallelizing activities   In this post we’re going to go beyond the previous Hello World example and show you how to use the SWF extensions library to model workflows with multiple steps and allow data to flow naturally from one step to the next. When using …

Introduction to AWS SimpleWorkflow Extensions Part 2 – Beyond Hello World Read More »

Introduction to AWS SimpleWorkflow Extensions Part 1 – Hello World example

Series so far: 2. Beyond Hello World 3. Parallelizing activities   In my previous post I mentioned some of the shortcomings with Amazon SimpleWorkflow (SWF) which drove me to create an extension library on top of the standard .Net SDK to make it easier to model workflows and business processes using SWF. In this series …

Introduction to AWS SimpleWorkflow Extensions Part 1 – Hello World example Read More »

Making Amazon SimpleWorkflow simpler to work with

Amazon SimpleWorkflow (abbreviated to SWF from here on) is a workflow service provided by Amazon which allows you to model business processes as workflows using a task based programming model. The service provides reliable task dispatch and state management so that you can focus on developing ‘workers’ to perform the tasks that are required to …

Making Amazon SimpleWorkflow simpler to work with Read More »

LINQ OrderBy – using Comparer<T>.Create and F#’s Object Expressions

.Net 4.5 introduced a handy little new method Comparer<T>.Create to aid the creation of bespoke comparers, which is great because it means that you don’t have to define a new Comparer class when it is going to be needed once. In case you’re wondering, it’s still not possible to define anonymous implementation of interfaces in …

LINQ OrderBy – using Comparer<T>.Create and F#’s Object Expressions Read More »

AOP – using PostSharp attributes with async Task/Task<T> methods

NOTE: if you’re unfamiliar with how PostSharp works under the hood, I highly recommend that you check out Dustin Davis‘ excellent PostSharp Principles series of blog posts here. The Problem The new async/await keywords in C# are pretty awesome, and makes life an awful lot easier when writing asynchronous and non-blocking IO code. However, for …

AOP – using PostSharp attributes with async Task/Task<T> methods Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close