https://github.com/senvardarsemih/generic-for-core
:building_construction: Generic Repository & UOW Pattern For ASP.NET Core
https://github.com/senvardarsemih/generic-for-core
asp-net-core design-patterns docker dotnet-core entity-framework-core generic generic-repository k8s mvc net-core-3-0 net-core-3-1 net-standard repository-pattern unit-test uow uow-pattern
Last synced: about 1 month ago
JSON representation
:building_construction: Generic Repository & UOW Pattern For ASP.NET Core
- Host: GitHub
- URL: https://github.com/senvardarsemih/generic-for-core
- Owner: senvardarsemih
- License: gpl-3.0
- Created: 2018-11-04T20:43:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T20:59:18.000Z (over 3 years ago)
- Last Synced: 2023-03-06T00:40:57.428Z (over 3 years ago)
- Topics: asp-net-core, design-patterns, docker, dotnet-core, entity-framework-core, generic, generic-repository, k8s, mvc, net-core-3-0, net-core-3-1, net-standard, repository-pattern, unit-test, uow, uow-pattern
- Language: C#
- Homepage:
- Size: 808 KB
- Stars: 54
- Watchers: 4
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generic Repository & UOW Pattern For .NET Core 3.1
[](https://ci.appveyor.com/project/senvardarsemih/genericforcore/branch/master)
[](https://travis-ci.org/senvardarsemih/generic-for-core)
[](https://sonarcloud.io/dashboard?id=senvardarsemih_genericforcore)
* 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. 🌞