An unhandled exception of type \'System.StackOverflowException\' occurred in wcfserviceLibrary.DLL
the code is show as follows.
[DataContract] public
declare private variables for both : _desigId, _designationName. You are in a recursive-loop that will go on infinitely. return the private variables, rather than the properties.