.NET Framework Bookmark and Share   
 index > Windows Communication Foundation > WCF Syndication Handling
 

WCF Syndication Handling

Hi, what are the recommendations/best practicesto return exceptions from a WCF Syndication Services?

If I throw an exception from the service Firefox and IE 7.0 display the following web page error:

"The server encountered an error processing the request. See server logs for more details." I would like to provide at least my own message.

Thankn for the help
Stephane

sym95734
Hi Stephane,

In this scenario you don't throw the exception to web browser. Just create only one SyndicationItem which is populated with error information to notify the user.




Best regards,
Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Riquel_Dong
Hi Stephane,

In this scenario you don't throw the exception to web browser. Just create only one SyndicationItem which is populated with error information to notify the user.




Best regards,
Riquel
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Riquel_Dong

You can use google to search for other answers

Custom Search

More Threads

• MSMQ and WCF (client and service on different machines)
• WCF Security using Credentials : Exception
• ASMX to WCF migration and MEX monikers
• Action Attribute is generated wrong for asmx web services
• Why are my custom UserName Auth handlers never called?
• Error after nemerious calls to WCF-service
• WCF Authorization
• Configuring an SSO model within a Silverlight 3 app
• Usage Of Service Reference Client
• Async call to WCF Service