Skip to content

senvardarsemih/generic-for-core

Repository files navigation

Generic Repository & UOW Pattern For .NET Core 3.1

Build status Build Status Quality Gate Status

  • simple experimental generic repository pattern demo on .net core *

  • You have to setup your own connection string in appsettings.json file.

  • You have to run the entity framework core migration via package manager console (In Visual Studio go to Tools -> Nuget Package Manager -> Package Manager Console then start migration with 'Update-Database' command

K8S Support Update

  • You can run this app in k8s environment
  • You may want to use minikube or docker desktop
  • First, build docker image => docker build -t gfc:1.0 .
  • Go to tools folder => cd tools , then => kubectl apply -f deploy.yml
  • Finally => kubectl apply -f service.yml , then go to the browser, type localhost and hit enter, you should see the application loaded. 🌞