远程调试提供程序托管应用程序与MVC框架并部署到Azure [英] Remote Debugging Provider Hosted App with MVC Framework and deployed to Azure

查看:59
本文介绍了远程调试提供程序托管应用程序与MVC框架并部署到Azure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个提供商托管应用程序与MVC框架并部署到Azure。我能够通过远程调试(服务器资源管理器并在App Service上附加调试器)以及手动过程(附加到进程)附加进程W3WP.exe。但是,
断点当前没有被击中而且它会低于错误

I have a Provider Hosted App with MVC Framework and deployed to Azure. I am able to attach the process W3WP.exe through remote debugging (Server Explorer and attach debugger on App Service) and also via manual process (Attach to Process). However, the breakpoint is not being hit currently and it throws below error

如果您看到URL,则缺少参数。我已经检查了AppManifext.xml,它使用{StandardTokens}设置了正确的URL,但是这个{StandardTokens}在运行时没有被实际参数和值替换。这可能是断点未被击中的
原因。可能还有其他一些原因。但我目前无法找到。任何帮助都将受到高度赞赏。

If you see the URL, it is lacking the parameters. I have checked the AppManifext.xml and it has correct URL setup with {StandardTokens} but this {StandardTokens} is not getting replaced with actual parameters and values at runtime. This could be the reason that the breakpoint is not being hit. There could be some other reasons too. But I am unable to find out currently. Any help will be highly appreciated.

推荐答案

请从SharePoint站点访问该加载项,然后检查它是否有效。

Please access the add-in from the SharePoint site and then check if it works.

并按照以下文章调试加载项。

And follow the article below to debug the add-in.

https://samlman.wordpress.com/2015/03/02/debugging-sharepoint-apps-that-are-hosted-in-windows-azure-web-sites/

最诚挚的问候,

丹尼斯


这篇关于远程调试提供程序托管应用程序与MVC框架并部署到Azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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