by Allan Mitchell
17 Mar 2011 10:07
Whilst getting some courseware ready I was playing around writing some code and I decided to very simply show when a window starts and ends based on you asking for a TumblingWindow of n time units in StreamInsight. I thought this was going to be a two second thing but what I found was something I haven’t yet found documented anywhere until now.
All this code is written in C# and will slot straight into my favourite quick-win dev tool LinqPad
Let’s first create a sample dataset
var EnumerableCollection = new [] { new {id = 1, StartTime = DateTime.Par...
[More]