Skip to content

sithwin/MongoCRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoCRUD

CRUD with MongoDB

First of all, you need to download mongodb and mongodb compass.

In this tutorial, I'm using ASP.NET MVC CORE 2.1.

NuGet Packages: MongoDB.Driver 2.7 Microsoft.EntityFrameworkCore.Tools 2.1

I created simple CRUD operation for Customer document and complex nested object using Replace and Update and Filter are at Rental document.

Resources: https://dotnetcodr.com/2016/04/27/introduction-to-mongodb-with-net-part-17-various-query-related-functions/ https://dotnetcodr.com/2016/04/11/introduction-to-mongodb-with-net-part-9-limiting-sorting-and-skipping/ https://www.codementor.io/pmbanugo/working-with-mongodb-in-net-part-3-skip-sort-limit-and-projections-oqfwncyka https://github.com/juliandavidmr/sails-inverse-model

FOR WEB API: http://www.qappdesign.com/using-mongodb-with-net-core-webapi/