Message Inspector for WCF to add Useragent header by configuration NuGet Package

.net 4, Can be compiled for different frameworks; See github project.

After adding package check servicemodel in app/web.config

Set your useragent and set add behaviorConfiguration to existing endpoints for WCF services which need a useragent

<endpoint behaviorConfiguration="AddUserAgent_Behaviour" &/gt;

Based on:
http://msmvps.com/blogs/paulomorgado/archive/2007/04/27/wcf-building-an-http-user-agent-message-inspector.aspx.




Got any Message Inspector for WCF to add Useragent header by configuration Question?





Info

Version: 1.0.1
Author(s): HJ Meulekamp; [email protected]
Last Update: Sunday, June 10, 2012
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/henkmeulekamp/WcfUserAgent
NuGet Url: https://www.nuget.org/packages/WcfUserAgent


Install
Install-Package WcfUserAgent
dotnet add package WcfUserAgent
paket add WcfUserAgent
WcfUserAgent Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

4335