How to use AppFabric Auto-Start feature to avoid warm-up delays for IIS-hosted WCF Receive Locations

Scenario During recent years, I had the chance to work with many customers and I realized that one of the most recurring problems they usually experience is due to long start-up times: indeed, this is not a BizTalk specific issue, it’s rather a problem affecting any .NET application, regardless if it’s a Windows Service, a…

0

Less tweaking of your WCF 4.0 apps for high throughput workloads

I always have a sense of satisfaction when I find out that there is less tweaking or tuning needed to make my applications perform as expected under high throughput workloads (or that the tweaking is easier to do).  I had this sense of satisfaction just this week with some new insights on WCF 4.0 (and…


Updating AppFabric Cache via SQL Service Broker External Activator

 Event Driven Updates If I can’t have magic then I want something easy. I’d like to have changes that occur on certain tables be reflected in AppFabric Cache. I’d also like this to occur in an event based manner.  “Use SqlDependency and be done with it” you say? That’s certainly one answer but it also creates…


StreamInsight V1.1 is released (.NET Sequences / IObservable, side-by-side installation and perf improvements)

The StreamInsight dev team has just released the next version of StreamInsight (version 1.1)!!  New features in this release include: .NET Sequences – no more custom adapters for common .NET data sources.  Using .NET sequences instead of adapters as event sources and sinks, which makes the integration with many existing data sources much easier and…


StreamInsight: Obscure LINQ error – The field ‘Key’ of type ‘IKey`1’ either contains a nested member, or is a type that is not supported as event type field

This is a pretty obscure one, and a nice short snippet of a blog post.  I ran into this error yesterday while building out some StreamInsight applications for real time web analytics, and was very briefly stumped.  Let’s have a quick peek at how I ran into it. Starting with a working query, I needed…


Holding a Reference to the EF MetadataWorkspace for WCF Services

The title lends itself to a bit thought.  Why would the developer feel the need hold a static reference to the MetadataWorkspace of an Entity Framework (EF) model from within their WCF service-oriented applications?  The premise being that the WCF services are using EF to serve up data from a backend data store.  The answer…

0

StreamInsight: Getting started with using the (Event Flow) debugger, viewing diagnostics, and exposing the management service.

StreamInsight has a very powerful management service that is fully available to developers and administrators alike.  Any technique that you see in the Event Flow Debugger or in the API can be remotely invoked via the Management Service.  This enables all sorts of tasks and scenarios, such as remotely deploying queries to a live server,…


StreamInsight and reference data (lists, databases, etc)

Using reference data in StreamInsight is a very common scenarios; some examples would be: Monitoring process control event streams for values that exceed a given threshold (for example, a valve’s pressure exceeding a certain safety threshold). Enriching utility usage information in a smart metering scenario with user and geography information (for example, to allow visualization…