Solved

Is there a better way to describe Contracts for child classes

Posted on 2011-09-30
6
179 Views
Last Modified: 2012-05-12
Is there a better way than having to add a knowntypeattribute for child classes to the base class?
0
Comment
Question by:modotx
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 36899691
0
 

Author Comment

by:modotx
ID: 36910709
This almost works.  The problem I seem to be having is when the operation is returning a generic interface type (i.e. IList(Of BaseType)).  Any ideas?
0
 
LVL 18

Expert Comment

by:DarrenD
ID: 36910828
Hi,

You may have to change the Collection Type: which appears when you right click the service in VS and choose Configure Service Reference. Change Collection Type to System.Collections.Generic.List

Not sure, but might help

Darren
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:modotx
ID: 36911649
Isn't that for configuring the client?  Right now I am testing it using the WCF Test Client.  Is there a way to configure that?
0
 
LVL 18

Accepted Solution

by:
DarrenD earned 250 total points
ID: 36915624
0
 

Author Closing Comment

by:modotx
ID: 36956099
Thank you
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now