TrackerEnabledDbContext.Identity 3.6.1

This is DbContext for use with ASP.Net Identity.
It extends Entity Framework functionality to store changes in database. This is very useful for auditing purpose. It stores WHO changed WHAT & WHEN.

There is a newer version of this package available.
See the version list below for details.
Install-Package TrackerEnabledDbContext.Identity -Version 3.6.1
dotnet add package TrackerEnabledDbContext.Identity --version 3.6.1
<PackageReference Include="TrackerEnabledDbContext.Identity" Version="3.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrackerEnabledDbContext.Identity --version 3.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v 3.6.1
- Added feature to add metadata with audit logs
- Made mathods vitual so that devs can override if needed

v 3.6
- Fixed bug where application would crash when deleting a soft-deletable object.
- Removing serilog integration ( use events to dump logs manually )

v 3.5.20-beta
Added "ConfigureUsername(Func<string>) method on dbcontext. Once configured, you dont have to specify useraname in all SaveChanges() calls.

v 3.5.15-beta
Added integration with Serilog. An ILogger can now be provided to ITrackerContext. If you decide you ILogger for logging audit logs, you can take advantage of any Serilog sinks, such as MongoDb. ElasticSearch, Seq, etc.

v 3.5.2
Users can now use the event to make changes to log & ENTITY before the log gets saved. This can be useful for scenarios when you have fields like - LastModified or LastModifiedBy.

v 3.5.1
Fixed MySQL compatibility issues

v 3.5
Added an event when log is generated and before it is saved to local database. This event can be used to save log to external datastore instead of local.

Added Softdeletable feature
Bug fixes

Added Support for Disconnected contexts (for n-tier applications)
Bug Fixes
Minonr Improvements

- Fluent API configuration
- Enable/Disable tracking at runtime
- Bug fixes and performance improvements
- Ability to migrate legacy log data

- even if you dont provide a username/userId (anonymous user) , entity will be audited.
- no need to add the [Key] attribute. It's optional now.
- fixed the bug where changes din't get audited when "db.Entry(update).State = EntityState.Modified" was used
- added async support
- added support for composite primary keys

---- Base Version -----

The version is for IdentityContext. To be used with ASP.Net MVC 5.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.8.3 1,670 2/16/2020
3.7.1 13,377 12/30/2018
3.7.0 1,104 12/30/2018
3.6.2-beta 2,714 2/9/2017
3.6.1 28,989 6/26/2016
3.6.0 5,835 5/22/2016
3.5.20-beta 392 5/21/2016
3.5.19-beta 527 3/11/2016
3.5.15-beta 404 3/10/2016
3.5.2 7,890 1/25/2016
3.5.1 942 1/13/2016
3.5.0 10,274 11/22/2015
3.4.5 8,482 11/9/2015
3.4.0 525 11/4/2015
3.3.13 541 10/30/2015
3.3.12 863 10/29/2015
3.1.0 576 10/15/2015
3.0.0-beta 634 10/7/2015
1.1.0 3,968 3/26/2015
1.0.0 1,419 11/27/2014