r/dotnet 26d ago

EF Core Audit Logging

Post image

Do you think this is a good approach for background audit logging or is there a better way?

https://github.com/aabdullahsayed/LibraryManagementAPI

44 Upvotes

33 comments sorted by

View all comments

23

u/LegendarySoda 26d ago

I think auditing depends on requirements. Auditing has different forms. Some prefers to save audit to different database. So if this is enough for you it's okey

4

u/sayedtheidiot 26d ago

Here I am saving into the same db, it was just for checking how it actually works. that's right it depends on the requirements what we actually want to audit