c# - Multiple WCF Service References -


i have wcf service being referenced in 2 projects interact each other. have class defined in service needs used in both projects because of different namespaces not recognized same class. instance, in 1 class project1.myservicereference.myclass , in project2.myservicereference.myclass.

i don't have lot of experience wcf , wanted know how others deal situation?

you should able put class in common assembly , share type between server , clients. take @ this: http://blog.walteralmeida.com/2010/08/wcf-tips-and-tricks-share-types-between-server-and-client.html


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Attribute value in root node of xml Linq to XML -

android - Retrieve value from radioButtons in alertDialog -