Giter VIP home page Giter VIP logo

mongodb-repositoryuowpatterns's Introduction

ASP.NET Core - MongoDB Repository & Unit of Work Pattern

Example App - This demo shows how to simple implement repository and unit of work patterns for MongoDB .Net driver.

  • Server Side: ASP.NET Core

Pre reqs

  • Net.Core 3.1

Techs:

  • ASP.NET Core
  • Swagger
  • ServiceStack.Core

How to run

  1. Download code
  • Open folder
  • Open a terminal
  • docker-compose up --build

More about on ASP.NET Core - MongoDB Repository Pattern & Unit Of Work - Portuguese only

mongodb-repositoryuowpatterns's People

Contributors

arleypadua avatar brunobritodev avatar felipementel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mongodb-repositoryuowpatterns's Issues

'TEntity' does not contain a definition for 'GetId' and no accessible extension method 'GetId'

Hey, I have been trying to use your code in my application and I found it awesome. but in BaseRepository, Update(TEntity obj) method; when try to use the GetId it gives an error.

error says:

'TEntity' does not contain a definition for 'GetId' and no accessible extension method 'GetId'

Should I implement TEntity as an abstract class? But you don't seem to implement the entity as an abstract class.

Atualização no .net core e libs

Gostei bastante da proposta da solução e gostaria de manter seu repositorio atualizado em relação ao .net core e as bibliotecas utilizadas.
Se puder criar uma branch para que eu faça um pull request com esses updates.

Obrigado.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.