Event Logging in a .NET Web Service
page 1 of 4
Published: 28 Aug 2006
Abstract
This article describes the logging mechanism in a .NET web service. It demonstrates how to write to the Event log from a .NET Web Service and explains how to resolve security issues related to event logging.
by Sandesh Meda
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 28262/ 278

Introduction

A well-written piece of code should theoretically not throw any exceptions.  However, in practice it is almost impossible to test if an application works under every situation.  When errors occur, there are different ways to handle them.  This article discusses how to log exceptions in the Event Log.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 6 and type the answer here:

User Comments

Title: Customer Installations   
Name: Dennis Jakobsen
Date: 11/22/2007 4:54:46 AM
Comment:
Hi,

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: 6/20/2007 10:23:07 PM
Comment:
Thanks for this sample !

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






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


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 12/3/2008 2:48:41 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search