Skip to content

In this Tutorial I am gonna take you through Swagger Implementation With Dot-net Core and MongoDB on Cloud.

Notifications You must be signed in to change notification settings

itsmaheshkariya/dotnet-core-mongodb-swagger-rest-api

Repository files navigation

Dotnet Core Swagger MongoDB REST API

.NET Core

Clone Directory using Git

git clone https://github.com/maheshkareeya/dotnet-core-mongodb-swagger-rest-api.git

Change Directory

cd otnet-core-mongodb-swagger-rest-api

Restore Packages

dotnet restore

Run Command

dotnet run

Watch Command

dotnet watch run

Check Url https://localhost:5001/swagger

MongoDB String For Testing

mongodb://swagger:swagger123@cluster0-shard-00-00-aty7t.mongodb.net:27017,cluster0-shard-00-01-aty7t.mongodb.net:27017,cluster0-shard-00-02-aty7t.mongodb.net:27017/<dbname>?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true&w=majority

Demo Screenshot 2020-06-14 at 3 58 37 AM

About

In this Tutorial I am gonna take you through Swagger Implementation With Dot-net Core and MongoDB on Cloud.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages