我有一个windows azure项目的源代码。如果我取消注释以下行,解决方案中的 Web 项目可以正常工作:
<!-- add key="MongoDB.ConnectionString" value="mongodb://nameofx.cloudapp.net:27293" / -->
我注册了一个新的 Windows Azure 试用帐户,现在我想将云服务部署到我的新帐户。我必须更新服务配置的哪些部分以及我必须在 Windows Azure 门户 ( https://manage.windowsazure.com/ ) 中执行哪些操作?
这是我的解决方案的云项目的屏幕截图。
在管理面板中创建云服务并尝试上传包后,出现以下错误:
The certificate with thumbprint 919691b3c381b92cc314c316ffcc12903967673e was not found.
这是配置的证书部分:
<Certificates>
<Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="919691B3C381B92CC314C316FFCC12903967673E" thumbprintAlgorithm="sha1" />
<Certificate name="Test.InvestorAccountEncryption" thumbprint="6053B67BC5BECEFE4E2090B1C86F592D4358B3A2" thumbprintAlgorithm="sha1" />
<Certificate name="test.aaa.com" thumbprint="C3B019A7C220CF155C1275E7F3209A94378E2384" thumbprintAlgorithm="sha1" />
<Certificate name="Test" thumbprint="673398470B32371B06116F7A0B06046EDAC2BF57" thumbprintAlgorithm="sha1" />
</Certificates>
提前致谢,
最佳答案
它提示的指纹是您的RDP 连接 (Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption)。默认情况下,Azure SDK 将使用与发布期间进行身份验证相同的 Windows Azure Tools 证书。
您需要配置 RDP(远程桌面)证书。要进行配置,只需在 Visual Studio 中右键单击 Azure 项目,然后选择配置远程桌面...。这将打开一个提示,并允许您为 RDP 正确设置身份验证证书。
如果您不直接从 Visual Studio 发布,那么您将不会拥有 Windows Azure Tools 证书和 you will need to create your own和 upload it via the portal role certificates section 。这是much easier to just publish directly from Visual Studio .
一旦您的角色实例正在运行,您就可以manage the RDP Certificate and Login from within the Management Portal by using the Configure->Remote action .
关于asp.net-mvc - 部署 azure 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16834955/