c# - ASP.Net global error handler for all... but a few -
i want implement global error handler asp.net website.
i implement in global.asax logging error , redirecting error page.
so far good, in case have calls asmx webservices jquery, and, sorry say, errors thrown in asmx webservice used in calling jquery. when errors thrown asmx file, want log them , rethrow them
the thing come check .asmx extension in stacktrace, hoping other way (don't know why, string checking feels awkward)
you can filter out asmx on basis of request.url. request property available in global error handler in global.asax.
Comments
Post a Comment