WCF 4.5 Configuration from external source

1 בApril 2012

WCF 4.5 There is a lot new in WCF 4.5 you can get the full list Here. It always amaze me how much is added from version to version – and the additions are important (UDP, Web Socket binding ext.) One specific feature caught my eye – Configuring WCF Services in Code. It adds the possibility to setup WCF parameters after it was deployed or when you don’t have access to SerivceHost object. This is done by a simple static function you can add to your service implementation: public static void Configure(ServiceConfiguration...