What would be the most mainstream way to report errors from a Azure Service to a Windows Phone 7 application via basicHttpBinding? Since Silverlight uses the Async pattern i can’t use try catch and when a exception happens on the service side the client then throws a exception.
What would be the most mainstream way to report errors from a Azure Service
Share
have a look here:Answer on StackOverflow.com
The quick and dirty approach is to do the following:
This will simply take the server-side error and provide its details to the client.
A nicer approach is to use the
IErrorHandlerinterface. This allows WCF errors to be handled on the server and reported back to the client in a more controlled way.You can find out more about this approach in the MSDN Documentation for IErrorHandler.