登录失败远程调试作为Azure App Service托管的ASP.NET WebAPI服务 [英] Login failure remote debugging ASP.NET WebAPI service hosted as an Azure App Service

查看:78
本文介绍了登录失败远程调试作为Azure App Service托管的ASP.NET WebAPI服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试远程调试ASP.NET WebAPI Web服务,它作为应用程序服务托管在Azure中,我正在尝试从Visual Studio 2015的调试"菜单附加到它,我收到此错误,我知道我的登录凭据正确,我可以使用相同的凭据自由登录到Azure门户.

I'm trying to remote debug my ASP.NET WebAPI web-service, it is hosted in Azure as an App Service, I am trying to attach to it from Visual Studio 2015 Debug menu, I get this error, I know my login credentials are correct, I freely log into the Azure Portal with the same credentials.

错误消息: Visual Studio无法创建与以下对象的安全连接 身份验证失败

推荐答案

根据您的屏幕截图,您似乎正在使用Azure帐户进行身份验证.

According to your screenshot, it seems that you are using the Azure account for authentication.

似乎我们需要使用azure部署用户和密码.我们可以获取Azure发布配置文件的用户和密码.我们可以从Azure门户获取Azure发布配置文件.

It seems that we need to use the azure deployment user and password. We could get the user and password for Azure publish profile. We could get the Azure publish profile from Azure Portal.

这篇关于登录失败远程调试作为Azure App Service托管的ASP.NET WebAPI服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆