Ideas, Tips, Tools, Framework for implementing Audit

4.4k views Asked by At

I'm looking for Ideas, Tips, Existing Frameworks (based on .NET), Tools and also your experience on what's the best way to implement a good Audit Trail.

Our typical Applications are nothing fancy ASP.NET MVC 3- Security Layer - Business Layer - Data Access Layer - Database (SQL Server 2008)

My only requirement is that it has to be easy to implement and stored somehow in the Database.

3

There are 3 answers

0
gsharp On BEST ANSWER

I've found some nice tools like OmniAudit etc, but not actually exactly was i was looking for. So i've decided to write my own Audit Trail Tool to generate and maintain Triggers.

1
AbrahamJP On

For auditing user actions, I had used Log4Net. While for auditing CRUD operations, triggers were used.

Here you could find some resource articles(Article1, Article2) on implementing Audit log.

0
John Cai On

if you're using entity framework, please refer to: http://www.codeproject.com/KB/database/ImplAudingTrailUsingEFP1.aspx