vendredi 6 mars 2015

WCF all exposed input/output classes and methods are in the same global c# namespace


Vote count:

0




WCF sample code:


[DataContract(Namespace = "mycompany/getReferenceTables")] public class referenceTablesParameters { }


.Net Client sample code (references web service assembly with reference name "WebService"):


WebService.referenceTablesParameters


The question:


How to add a namespace that will be exposed to the client?


i.e. WebService.Parameters.referenceTablesParameters



asked 11 secs ago







WCF all exposed input/output classes and methods are in the same global c# namespace

Aucun commentaire:

Enregistrer un commentaire