wcf

http://www.microsoft.com/learning/en/us/certification/mcts.aspx#tab2

Server Tracing

Can you enable tracing on the server (http://msdn2.microsoft.com/en-us/library/ms733025.aspx) to figure out which exception is being thrown at that location? That will help figuring out if the problem is due to a quota being exceeded.

WCF
WCF Contracts, Object Orientation and ServiceKnownType
http://www.dotnetconsult.co.uk/weblog2/PermaLink,guid,a3775eb1-b441-43ad-b9f1-e4aaba404235.aspx

I have a service that I want to return a list of Person objects but it doesn’t seem to be working when I pass Employees and Managers in the list.
You should annotate the contract with the ServiceKnownType attribute for each type that the Person could be.

Add known types on the base class (http://stackoverflow.com/questions/658361/wcf-serialization-with-object-inheritance).

Like http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/765816fb-3eba-4240-9d00-c5f306038734

Then you may get an error like: The deserializer has no knowledge of any type that maps to this contract. This could be because some idiot kept insisting on adding dummy attribute classes in Silverlight client. But thank God that didn’t take too much time to figure out.



Warning: count(): Parameter must be an array or an object that implements Countable in /home/cselian/public_html/blog/wp-includes/class-wp-comment-query.php on line 405

Leave a Comment