Skip to content

KarateJB/AspNetCore.LinearAllocator

Repository files navigation

AspNetCore.LinearAllocator

Linear Allocator service written in ASP.NET Core Web API

Required

  1. .NET Core SDK
  2. Microsoft Sql Server

Run the project

  1. Create the target database
  2. Update the connection string in appsettings.Development.json
  3. Use the following dotnet ef commands to create the table
    cd Allocator.WebApi
    dotnet ef  --project ../Allocator.DAL --startup-project . migrations add InitCreate --context AllocatorDbContext
    dotnet ef  --project ../Allocator.DAL --startup-project . database update
    
  4. dotnet run

Create an Allocator

Get unique number from the Allocator

About

Linear allocator in ASP.NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages