Jump to content
Xtreme .Net Talk

Search the Community

Showing results for tags 'hosting'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • New Member at Xtreme .Net Talk?
    • Meet and Greet
    • Announcements
  • .NET
    • General
    • Windows Forms
    • ASP.NET
    • Directory / File IO / Registry
    • Database / XML / Reporting
    • Network
    • Graphics and Multimedia
    • Interoperation / Office Integration
    • Deployment
    • Regular Expressions
    • Syntax Specific
  • Knowledge Base
    • Tutors Corner
    • Code Library
    • Quick Tips
  • Xtreme .Net Talk Members Area
    • Water Cooler
    • Suggestions, Bugs, and Comments

Blogs

There are no results to display.

Categories

  • Code Samples
  • Tutorials & Guides
  • Articles
  • Code Downloads

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


Visual Studio .NET Version


.NET Preferred Language


Skype


Facebook


Twitter ( X )

Found 1 result

  1. Hello, I'm hosting WCF services in Asp.net web page in (ASP.NET Compatibility Mode: AspNetCompatibilityRequirementsMode.Allowed). I've written simple HttpModule: public class ExceptionInterceptor : IHttpModule { public ExceptionInterceptor() { } public void Dispose() { } public void Init(HttpApplication context) { context.Error += new EventHandler(context_Error); } void context_Error(object sender, EventArgs e) { // do something } } web.config: <httpModules> <add name="ExceptionInterceptor" type="HttpModules.ExceptionInterceptor, HttpModules"/> </httpModules> My question is, why after occurence of unhandled exception in service, the code do not enter in context_Error(object sender, EventArgs e) function in my module. What's more, the code do not even enter the Application_Error(object sender, EventArgs e) in Globals.asax. Can someone explain that to me ? What is the best option for global exception handling in WCF services ? Regards
×
×
  • Create New...