[Mono-list] exceptions generated from WCF restful service when an nonexistent URL is accessed

hayate hayatelee at gmail.com
Tue Apr 24 09:31:58 UTC 2012


After digging into the mono, found the exception is printed at

https://github.com/mono/mono/blob/master/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/BaseRequestProcessor.cs#L34


I don't know what this Console.WriteLine is for, since the exception I run
into is handled at other place, would it be better to get rid of this or
with option to close the console print?

On Tue, Apr 24, 2012 at 3:10 PM, hayate <hayatelee at gmail.com> wrote:

> Hi all,
>
> A simple WCF restful service, with some UrITemplate attributes. I found
> when accessing a URL which is not matched by any UrITemplate, there always
> is an exception called EndpointNotFoundOperationInvoker thrown.
>
> Though this exception would not be crash the process, and a 404 response
> returns, is there any way to stop this exception?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120424/edc5485f/attachment.html>


More information about the Mono-list mailing list