SharePoint / ASP.Net Development
Experiences from the field...
Navigation
   RSS 2.0
Categories
Entries by Month

# Tuesday, March 09, 2004

Kirk Allen Evans:

A Better ExceptionXmlPublisher for the Exception Management Application Block. This snippet incorporates part of a post from microsoft.public.dotnet.framework.  It shows how to allow multiple threads to write to the same file at once, using a mutex to provide concurrency.  This example is integrated with the Exception Management Block to provide a means of logging errors in multi-user applications to XML files.

I use the EMAB as well to log to a file. I need to put this mutex code in my solution -- Thanks Kirk. However, the log file in Kirk's example may not be well-formed. He is appending exceptionInfo.OuterXml to the file each time. My version: ExceptionPublisher.htm

Tuesday, March 09, 2004 1:52:22 PM (Central Standard Time, UTC-06:00)  #    Comments [2]  | 
# Tuesday, March 02, 2004

I'm not sure the w.bloggar (or any other) pc-based blog program is going to work. w.bloggar tries to talk to the server upon launch. If that happens to be while I'm disconnected, I have to wait for the network error. In true developer fashion, I'll probably try to create my own tool. :-) I have dasBlog loaded on the laptop, so I'm thinking that I post to the local machine. My tool will reconcile the entries on the laptop with those on the server.

UPDATE: Microsoft just release the Offline Application Block, which is exactly what I need. But, I don't know if I have the time for a full-featured winform application.

Tuesday, March 02, 2004 8:42:40 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
Search

Further Reading...

Powered by: newtelligence dasBlog 2.2.8279.16125

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2009, Paul Schaeflein

Send mail to the author(s) E-mail