Skip to main content

3. Clone Repository and Install Dependencies

Clone this Repository from GitHub.

Choose any one of the 2 options:

If you have SSH enabled, use the following command to clone:

git clone git@github.com:sourabhbagrecha/mdb-gcp-dotnet-demo.git

If not, you can clone it through HTTPS:

git clone https://github.com/sourabhbagrecha/mdb-gcp-dotnet-demo.git

Install Dependencies

Run the following commands from the root folder to install MongoDB's .Net Driver and Swashbuckle(Swagger):

dotnet add package MongoDB.Driver
dotnet add package Swashbuckle.AspNetCore -v 6.2.3