Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 786425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:02:20+00:00 2026-05-14T21:02:20+00:00

Can ASP.NET’s System.web.Management be used for logging events like user logins, password changes and

  • 0

Can ASP.NET’s System.web.Management be used for logging events like user logins, password changes and access to certain resources? Should system.Web.Management be used for logging of errors and health monitoring instead?

I want to log events without re-inventing the whole thing. I know ELMAH is used for errors; can it be used for logging events too?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:02:20+00:00Added an answer on May 14, 2026 at 9:02 pm

    From the article ELMAH – Error Logging Modules And Handlers on the now defunct DoNetSlackers:

    Error signaling is exposed via the ErrorSignal class, which provides a single overloaded method called Raise. Simply put, exceptions raised via the ErrorSignal class are not thrown, therefore they don’t bubble up, but instead are only sent out to ELMAH, as well as to whomever subscribes to the Raise event of the ErrorSignal class.

    The code snippet below shows how to obtain an instance of the ErrorSignal class, which is unique per application and can be retrieved simply with the static FromCurrentContext method, and then use it to signal an exception.

    ErrorSignal.FromCurrentContext().Raise(new NotSupportedException());
    

    The difference between signaling and throwing an exception is that in the first case no one will ever know about the error except ELMAH.

    Further Reading:

    • How to get ELMAH to work with ASP.NET MVC [HandleError] attribute?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can ASP.NET themes be used per user session ? Ex : For one user,User
I'm just confused about this. Can c# ASP.net be used for both web development
Can ASP.Net routing (not MVC) be used to serve static files? Say I want
Can IIS/ASP.net ignore the browserCaps section in a web.config? I have an app that
i am very new to asp.net. I would like to ask can asp.net run
I read on a post that you can use ASP.Net authorization in the web
Can an ASP.NET web application have only one Init and one Dispose method or
can ASP.NET controls be used with generics? Never seen this done and want a
Does anybody know of a commercially supported distributable web server that can host ASP.NET
I need to integrate two ASP.NET sites user-wise. I have a Web Pages ASP.NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.