Is there a better way to describe Contracts for child classes

Is there a better way than having to add a knowntypeattribute for child classes to the base class?
modotxAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DarrenDCommented:
0
 
modotxAuthor Commented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
DarrenDCommented:
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
 
modotxAuthor Commented:
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
 
modotxAuthor Commented:
Thank you
0
All Courses

From novice to tech pro — start learning today.