Hello,
I have a .NET Application that I need to alter some WCF traffic headers on. The Microsoft folks told me there is no way to really inject the headers I need in the request and pick them up out of the response with the current framework. What I would like to do is just add FiddlerCore to the application, and if the header isn't there on the outgoing request from my application, then I would like to add it. (Real simple).
I can get everything to work, however the events only fire if I register the FiddlerApplication as a system proxy. I would like this transparent to the user so that it doesn't screw up their proxy settings in the OS.
Fiddler.FiddlerApplication.Startup(8877, false, false);
Fiddler.FiddlerApplication.OnNotification += delegate(object sender, NotificationEventArgs oNEA) { System.Windows.Forms.MessageBox.Show("Here"); };
The event never gets called in this case, however if I change this over to the below it does:
Fiddler.FiddlerApplication.Startup(8877, true, false);
Fiddler.FiddlerApplication.OnNotification += delegate(object sender, NotificationEventArgs oNEA) { System.Windows.Forms.MessageBox.Show("Here"); };
Should the event be being fired if I have the RegisterAsASystemProxy turned OFF?
Thanks