Informacion Adicional - 80bits.blog
En el archivo appsettings.json
"MongoConnectionString": "mongodb://admin:[email protected]/atlas",
"MongoDatabaseName": "atlas",
"MongoCollection": "collection1",
"SizeCode": "4"
Crear el siguiente index en la coleccion mongodb:
db.collection1.createIndex( { "obj": 1, "short_code": 1 }, { "v": 2, "unique": true, "name": "index_obj_short_code", "ns": "atlas.collection1", "background": true, "sparse": true });
Se necesita instalar el runtime de NetCore 3.1, puedes descargarlo aqui
$ dotnet restore
¢ dotnet run