Hi,
I m planning to develop a Sharepoint online Provider hosted Addin using MVC asp.net web form C#. Could you please tell me how can I set up a development environment on my computer that I can debug. Currently, I m using Azure web services, every time when I do a modification I have to publish it and then upload the solution to the Sharepoint site to test, and it is very hard to find any errors and cannot debug at all.
Can anyone please help me.
I have followed following link , but couldn’t achieved what I want
https://blogs.msdn.microsoft.com/webdev/2013/11/04/remote-debugging-a-window-azure-web-site-with-visual-studio-2013/
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-dotnet-troubleshoot-visual-studio#remotedebug
http://jsuhail.blogspot.com.au/2015/12/remote-debug-sharepoint-provider-hosted-addin.html
Thanks.
Hi,
I followed the https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-dotnet-troubleshoot-visual-studio#remotedebug steps and looks fine. Are you not able to attach the Debugger to the Azure? or getting other errors?
Thanks
Balamurugan K
Hi Balamurugan, Yes, once I do this the web page give me an error saying “Unexpected error occur..” Thanks.