In an asp.net core application in Azure, I am using some stored procedures in a CosmosDB database.
I know how to create these stored procedures with C# code. But, I do not know when to deploy them (in my web app, by powershell, in a separate command line application...)
答案 0 :(得分:0)
引导DocumentClient时,请为未分区的集合升级存储过程以简化部署。对于分区集合,您必须删除/创建存储过程 - 如果您在飞行中升级系统,这可能会有问题。