Event Logging in a .NET Web Service
page 4 of 4
by Sandesh Meda
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 54331/ 52


This article explains the importance of logging events to an Event Viewer.  It describes the different types of Event Logs and different types of Event types.  It concludes with an explanation of how the Event Logging can be implemented in a Web Service.

View Entire Article

User Comments

Title: Where is the implementation   
Name: Enasr
Date: 2011-11-21 6:22:42 AM
i read the article before but now its without any implementation why
Title: clarification   
Name: phani
Date: 2011-03-02 1:59:31 AM
where should i write the code for the function WriteToEventLog which is being called by Catch Block
Title: Sample is very good   
Name: Rami
Date: 2009-11-02 10:17:57 AM
Ran it successfully using Visual Studio 2008.
Installed the DLL on 2003 server.
Used the OS CMD window to run the InstallUtil found under FRAMEWORK directroy of .NET 2 installtion.
Title: Customer Installations   
Name: Dennis Jakobsen
Date: 2007-11-22 4:54:46 AM

Thanks for the example, i was running into that exact SecurityException for my Web Service. But how would i a customer install? I obviously can't take my Visual Studio Command Prompt!
Title: sample good   
Name: Lee Peace
Date: 2007-06-20 10:23:07 PM
Thanks for this sample !

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-13 8:34:17 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search