Browse by Tags

All Tags » .NET (RSS)

From the ReactiveFramework to StreamInsight and Back

In my last post I showed how to send StreamInsight output streams to a UI via the ReactiveFramework . Here’s we’ll do the reverse, by sending an RX stream into a CEP stream. Instead of a partial example, I’ll use an end to end example showing simulated...

Routing StreamInsight output streams to a UI

One compelling feature of StreamInsight is it’s in-process hosting model. In addition to reducing the complexity of server side installs, it’s now possible to have a  CEP engine in the client UI. The simplest way of getting CEP streams onto the UI...

Exploring the Reactive Framework part II

Talk around the water cooler is that it might be possible to use the Reactive Framework for some lightweight CEP. I’ll correct some of the (big) mistakes from my last post and build up a “jumping” window extension method for IObservable s.   In my...

Exploring the Reactive Framework (RX)

A few days ago , intentionally or not, a version of the Reactive Framework was released into the wild . Let’s see how we can use the RX for computations on a stream of data. As an example we’ll take a stream of ints and produce the averages in groups...

When Add(ing)-Type, choose your method signatures wisely

  Powershell V2 has some great new features, in particular Add-Type and Remoting features are likely to be quite popular and work together without much issue. That said, there are edge cases which illustrate how the types returned from remoting calls...
Posted by Scott Weinstein | 2 comment(s)
Filed under: , , ,

Some interesting sessions at the Microsoft Enterprise Developer and Solutions Conference

  There are some interesting sessions at the 2009 EntDevCon .   Three of particular interest to me are are 1. “Coral8 Engine Integrated with Microsoft Windows HPC Server 2008”  at 11 on Tuesday. I had a chance to see some of the early bits...

CPU Monitoring and Alerting via Performance counters, Coral8, and PowerShell

The PowerShell team has a short post on using V2 cmdlets to Monitor performance counters. Building on that, and the prior work with the PoShAdapter, here’s a sample with Coral8 and PowerShell to alert you via SMS when the rolling 30 seconds average CPU...
Posted by Scott Weinstein | with no comments
Filed under: , , ,

Using Coral8 and PowerShell to receive eventing data

I’ve updated the PowerShell Coral8 adapter so it can be used to receive input. Rather than demonstrate input from a database or an RSS stream, both of which can are supported by the native Coral8 adapters, I have a demo with WMI events. In this case allowing...
Posted by Scott Weinstein | 1 comment(s)
Filed under: , , ,

Stream transforms in Coral8 via .Net

In the first post on integrating PowerShell and Coral8 I showed how to create a message sink. In C#ish pseudocode we did the following: OutputStream<T> => Action<T> where the Action<T> was a PowerShell block to send a message via...
Posted by Scott Weinstein | 2 comment(s)
Filed under: , , , , ,

Automatic properties in PowerShell… and how you can almost have them for your custom types

For certain types, PowerShell has automatic properties, by this I mean PowerShell is able to inspect the object and then expose properties where normally you would need to use a string indexer. Like so: $xbooks = [xml]"<Books><Book><Title>PowerShell...
Posted by Scott Weinstein | 1 comment(s)
Filed under: ,
More Posts Next page »