BulkExecution in Azure CosmosDB for ASP.Net MVC 4.7.2 version

129 Views Asked by At

Description: What's my goal : want to do bulk execution for Vertices and edges to create graph in azure cosmosDB with c# code as below

BulkOperationResponse bulkOperationResponse1 =await graphBulkExecutor.BulkImportAsync( gremlinElements: gremlinElements1, enableUpsert: true); 

Source : https://github.com/Azure-Samples/azure-cosmos-graph-bulk-executor

Result: This approach working very well with .NET Core MVC application but not with ASP.NET Framework MVC app.

Issue area: After debugging I found the exception line is at

 await this.InitializeAsync(cancellationToken);"

and this is from

enter image description here

0

There are 0 best solutions below