.Net

DynamoDB.SQL – version 1.1.0 released

Just a quick note to say that anoth­er minor update to DynamoDB.SQL has been release, you can view the release notes here.   The lat­est update adds sup­port for a TSQL style WITH key­word for spec­i­fy­ing option­al para­me­ters for tweak­ing the query/scan oper­a­tion. For queries, you can spec­i­fy the NoCon­sis­ten­tRead and Page­Size options to use …

DynamoDB.SQL – ver­sion 1.1.0 releasedRead More »

AOP – string interning with PostSharp attribute

Whilst search­ing for an ele­gant solu­tion to apply string intern­ing across a large num­ber of class­es (we’re talk­ing about hun­dreds of class­es here..) it dawned on me that I can achieve this with ease using PostSharp’s Loca­tion­In­ter­cep­tionAspect. All I need­ed was some­thing along the lines of: You can apply this attribute to a class or …

AOP – string intern­ing with Post­Sharp attributeRead More »

My .Net Rocks talk is available

Hi, just a quick to say that my talk with .Net Rocks is now avail­able on their web site. In this talk I shared some insights into how F# is used in our stack to help us build the back­end for our social games, specif­i­cal­ly in the areas of: imple­men­ta­tion of a slots engine which …

My .Net Rocks talk is avail­ableRead More »

Introduction to AWS SimpleWorkflow Extensions Part 3 – Parallelizing activities

The series so far: Hel­lo World exam­ple Beyond Hel­lo World   With­in a work­flow, not all activ­i­ties have to be per­formed sequen­tial­ly. In fact, to increase through­put and/or reduce the over­all time required to fin­ish a work­flow, you might want to per­form sev­er­al activ­i­ties in par­al­lel pro­vid­ed that they don’t have any inter-depen­­den­­cies and can …

Intro­duc­tion to AWS Sim­ple­Work­flow Exten­sions Part 3 – Par­al­leliz­ing activ­i­tiesRead More »

Introduction to AWS SimpleWorkflow Extensions Part 2 – Beyond Hello World

The series so far: 1.   Hel­lo World exam­ple 3.   Par­al­leliz­ing activ­i­ties   In this post we’re going to go beyond the pre­vi­ous Hel­lo World exam­ple and show you how to use the SWF exten­sions library to mod­el work­flows with mul­ti­ple steps and allow data to flow nat­u­ral­ly from one step to the next. When using …

Intro­duc­tion to AWS Sim­ple­Work­flow Exten­sions Part 2 – Beyond Hel­lo WorldRead More »

Introduction to AWS SimpleWorkflow Extensions Part 1 – Hello World example

Series so far: 2. Beyond Hel­lo World 3. Par­al­leliz­ing activ­i­ties   In my pre­vi­ous post I men­tioned some of the short­com­ings with Ama­zon Sim­ple­Work­flow (SWF) which drove me to cre­ate an exten­sion library on top of the stan­dard .Net SDK to make it eas­i­er to mod­el work­flows and busi­ness process­es using SWF. In this series …

Intro­duc­tion to AWS Sim­ple­Work­flow Exten­sions Part 1 – Hel­lo World exam­pleRead More »

Making Amazon SimpleWorkflow simpler to work with

Ama­zon Sim­ple­Work­flow (abbre­vi­at­ed to SWF from here on) is a work­flow ser­vice pro­vid­ed by Ama­zon which allows you to mod­el busi­ness process­es as work­flows using a task based pro­gram­ming mod­el. The ser­vice pro­vides reli­able task dis­patch and state man­age­ment so that you can focus on devel­op­ing ‘work­ers’ to per­form the tasks that are required to …

Mak­ing Ama­zon Sim­ple­Work­flow sim­pler to work withRead More »

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

.Net 4.5 intro­duced a handy lit­tle new method Comparer<T>.Create to aid the cre­ation of bespoke com­par­ers, which is great because it means that you don’t have to define a new Com­par­er class when it is going to be need­ed once. In case you’re won­der­ing, it’s still not pos­si­ble to define anony­mous imple­men­ta­tion of inter­faces in …

LINQ Order­By – using Comparer<T>.Create and F#’s Object Expres­sionsRead More »

DynamoDB.SQL – version 1.0.7 released

Just a quick note to say that I have made some minor changes to DynamoDb.SQL and released ver­sion 1.0.7 of the library to Nuget, here’s a list of the changes: fixed a bug with LIMIT when there is insuf­fi­cient num­ber of ele­ments using the DynamoD­B­Con­text. added sup­port for count­ing the num­ber of match­ing items with …

DynamoDB.SQL – ver­sion 1.0.7 releasedRead More »

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

NOTE: if you’re unfa­mil­iar with how Post­Sharp works under the hood, I high­ly rec­om­mend that you check out Dustin Davis’ excel­lent Post­Sharp Prin­ci­ples series of blog posts here. The Prob­lem The new async/await key­words in C# are pret­ty awe­some, and makes life an awful lot eas­i­er when writ­ing asyn­chro­nous and non-block­­ing IO code. How­ev­er, for …

AOP – using Post­Sharp attrib­ut­es with async Task/Task<T> meth­odsRead 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