?
Solved

Is there a better way to describe Contracts for child classes

Posted on 2011-09-30
6
Medium Priority
?
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 1000 total points
ID: 36915624
0
 

Author Closing Comment

by:modotx
ID: 36956099
Thank you
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 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