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 Nipuna,
You should be doing all of your debugging locally and not in Azure. With your solution in Visual Studio, you should be able to debug (f5). This will connect to your SharePoint site, retract any existing files for your application and re-deploy them into SharePoint. Visual Studio will load your MVC site into local IIS and launch the application for you. From there, you can debug your application.
Hi Beau, If you don’t mind could you please send me the steps that I have to follow. Thanks.