Skip to content

๐Ÿ“š A repository to learn MongoDB with .NET

License

Notifications You must be signed in to change notification settings

GuilhermeStracini/hello-world-mongodb-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hello World MongoDB (.NET)

๐Ÿ“š A repository to learn MongoDB with .NET (C#)

wakatime Maintainability Test Coverage CodeFactor GitHub license GitHub last commit Codacy Badge


About

This repository is a starting point for learning how to integrate MongoDB, a popular NoSQL database, with .NET (C#). It demonstrates how to connect to a MongoDB instance, perform CRUD operations, and use advanced MongoDB features within a .NET application.


Features

  • MongoDB Integration: Learn how to interact with MongoDB from a .NET application.
  • CRUD Operations: Practice Create, Read, Update, and Delete functionalities.
  • Flexible Schema: Explore the flexibility of MongoDB's schema-less nature in .NET.

Prerequisites

To get started, make sure you have:

  1. MongoDB Instance: Install MongoDB locally or use a cloud provider like MongoDB Atlas.
  2. .NET SDK: Install the latest .NET SDK from dotnet.microsoft.com.
  3. MongoDB Driver for .NET: The required driver is included in the project dependencies.

Getting Started

  1. Clone this repository:

    git clone https://github.com/GuilhermeStracini/hello-world-mongodb-dotnet.git
    cd hello-world-mongodb-dotnet
  2. Install dependencies:

    dotnet restore
  3. Set up your MongoDB connection string:

    • Rename appsettings.example.json to appsettings.json.
    • Add your MongoDB connection details.
  4. Run the application:

    dotnet run
  5. Follow the console instructions to explore MongoDB operations.


Helpful Links


License

This repository is licensed under the MIT License.

About

๐Ÿ“š A repository to learn MongoDB with .NET

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published