Migration Guide

Moving from RenHelpers.DataAccessHelpers to REN.Kit is easy! Just follow these steps:

  1. Uninstall the old package:

    • Remove RenHelpers.DataAccessHelpers from your project.

  2. Install the new package(s):

    • If you use database operations (Unit of Work, Repository, transactions, etc.), install:

      dotnet add package REN.Kit.DataKit
    • If you use caching (In-Memory, Redis, etc.), install:

      dotnet add package REN.Kit.CacheKit
    • If you use both, install both packages!

  3. Update your usings and registration:

    • Change your using/import statements to point to REN.Kit.* namespaces.

    • Update your dependency injection in Program.cs:

      // For DataKit
      builder.Services.RegisterRENDataServices();
      
      // For CacheKit (example: InMemory)
      builder.Services.AddRENCaching(RegisterRENCaching.CacheType.InMemory);

That’s it! You’re ready to use all the modern features of REN.Kit.

Last updated