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

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -