小编CSh*_*cks的帖子

如何调试Azure Cosmos DB存储过程?

我正在使用Azure Cosmos DB,我正在使用C#(Web服务)编写客户端,我正在使用java脚本编写一些服务器端存储过程.

如何调试存储过程的代码?

谢谢,

MAK

javascript c# stored-procedures azure azure-cosmosdb

12
推荐指数
1
解决办法
3108
查看次数

将多个版本的Angular应用程序部署到Azure App Service

我有一个Angular应用程序,我可以毫无问题地部署到Azure App Service.

首先,我使用以下命令编译我的应用程序:

ng build --output-path=dist --aot -prod
Run Code Online (Sandbox Code Playgroud)

然后我将以下内容添加web.config到该dist文件夹:

<configuration>
    <system.webServer>
         <rewrite>
            <rules>
              <rule name="AngularJS Routes" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                </conditions>
                <action type="Rewrite" url="/" />
              </rule>
            </rules>
          </rewrite>
          <caching enabled="true" enableKernelCache="true">
              <profiles>
                  <add extension=".js" policy="DisableCache" kernelCachePolicy="DisableCache" />
              </profiles>
          </caching>
    </system.webServer>
</configuration>
Run Code Online (Sandbox Code Playgroud)

然后我将dist文件夹的内容压缩并将其拖到我的Azure应用程序(https://<site.scm.azurewebsites.net>/ZipDeploy)中.此时应用程序运行正常.

我的问题是我想为不同的语言环境部署不同版本的应用程序.

我使用以下命令编译我的不同版本:

ng build --output-path=dist/en --aot -prod --bh /en/ --i18n-format=xlf --locale=en

ng build --output-path=dist/fr --aot -prod --bh …
Run Code Online (Sandbox Code Playgroud)

web-config internationalization azure angular-i18n angular

8
推荐指数
2
解决办法
654
查看次数

AzureStorageEmulator 5.1 无法启动

在我的 Win10 更新之后,嵌入到 VS2019 (16.4.5) 中的 AzureStorageEmulator (5.10.0.0) 无法启动。我试图单独启动它,但同样的问题

AzureStorageEmulator.exe start -inprocess
Windows Azure Storage Emulator 5.10.0.0 command line tool
Service Status: Blob http://127.0.0.1:10000/ False
The network location cannot be reached. For information about network troubleshooting, see Windows Help
Error: Unable to start the storage emulator.
Run Code Online (Sandbox Code Playgroud)

除了初始化 AzureStorage 我还尝试过

AzureStorageEmulator.exe init
Windows Azure Storage Emulator 5.10.0.0 command line tool
Found SQL Instance (localdb)\MSSQLLocalDB.
Creating database AzureStorageEmulatorDb510 on SQL instance '(localdb)\MSSQLLocalDB'.
Granting database access to user EVN-TEAMVIEWER\simon.hunanyan.
Database access for user …
Run Code Online (Sandbox Code Playgroud)

azure

2
推荐指数
1
解决办法
428
查看次数