[Mono-dev] Exception handling in self-hosted WCF service

jmalcolm malcolm.justin at gmail.com
Fri Jul 15 10:10:21 EDT 2011


wuffus wrote:
> 
> How can I prevent exceptions (e.g. NotSupportedException) from crashing my
> self-hosted WCF service?
> 

Pretty broad question. Sadly, I assume that you are trying to run WCF code
that uses functionality that Mono does not support. That leaves two options:

1) Code your app to only rely on functionality that Mono supports

2) Contribute an implementation for the bits that that report
NotSupportedException

I tried to compile Nancy last night and ran into some missing bits in Mono
WCF. I will probably be adding some basic code to Mono this weekend. If we
all add bits here and there then eventually we will not have these problems.

--
View this message in context: http://mono.1490590.n4.nabble.com/Exception-handling-in-self-hosted-WCF-service-tp3669350p3670030.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list