add known types to wcf service dynamically – KnownTypeProvider

After some experiences I camed out to the following code. It takes care of finding the missing types used in an operation contract.

If you want to use this code, the only thing to do here, is to extend the assemblies list of all your assemblies that contain data contract classes, whitch are part of the operation contracts in use.

the following example shows the using of the provider.

Related to Microsoft Windows Communication Foundation (WCF)

Veröffentlicht von

Ein Gedanke zu „add known types to wcf service dynamically – KnownTypeProvider“

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Time limit is exhausted. Please reload the CAPTCHA.