Hide Browser Link ["arterySignalR"] traffic from Fiddler

by Seth Petry-Johnson 14. July 2014 19:09

Visual Studio 2013 added a new feature called "Browser Link" that allows Visual Studio to communicate with linked browsers in a two-way dynamic data exchange. 

This is a great feature, but it's implemented by a super-chatty SignalR script that is dynamically injected into the website. This can be a problem if you're trying to use Fiddler to monitor or debug some traffic - the requests you care about can easily get lost in a sea of ".../arterySignalR/poll?transport-longPolling..." entries:

 

So how do you clean up Fiddler, without disabling Browser Link? 

Fiddler Custom Rules to the Rescue

Fiddler supports custom rules that can be easily extended to hide "noise" requests like this. To hide Browser Link traffic:

  1. Open Fiddler. If not already installed, chastise yourself and wonder how you made it this far in your career. Install it posthaste.
  2. Click Rules -> Customize Rules
  3. Search for "OnBeforeRequest" and add the statement shown below
  4. Close and restart Fiddler, bask in the sudden peace and tranquility of a "arterySignalR"-less proxy session.

Seth Petry-Johnson

I'm a software architect and consultant for Heuristic Solutions.

I value clean code, malleable designs, short feedback cycles, usable interfaces and balance in all things.

I am a Pisces.

Month List