Josh DeLong
Josh DeLong

Reputation: 475

.NET Read XML Trace File

In my .NET application I have an XmlWriterTraceListener, is there any thing in .NET that already aids in reading these files as enumerated models?

I haven't found anything yet and am thinking I'll just need to open the file as read only with a object shared for read and writing so I don't lock the file for further logging then use linq to XML or an XML Reader to read the elements.

Upvotes: 0

Views: 592

Answers (1)

Huske
Huske

Reputation: 9296

I think you will have to get your hands dirty with LINQ to XML or with Microsoft's LogParser. It's a free tool and it can be integrated with your applications. It has a nice SQL-like language for extracting information.

Upvotes: 1

Related Questions