
In object-oriented programming the concept of polymorphism is frequently used. This can cause problems in a WCF service if no action is taken. This is where KnownType comes to the rescue. This is the WCF service that we are going to use in this example. [ServiceContract( Namespace="http://localhost/WeatherForeCast" ,Name="WeatherForeCastService")] public interface IWeatherForeCastService { [OperationContract]...