Debugging your code execution for anonymous users in SharePoint
Read OriginalThis article provides guidance for developers debugging SharePoint solutions that allow anonymous access. It explains the challenge where code requiring authentication automatically logs in the user, breaking anonymous debugging. The solution involves enabling Remote Desktop on the development machine, attaching Visual Studio to the IIS worker process, and browsing the site from a local machine to trigger access denied exceptions instead of auto-login. The technique helps maintain anonymous context during debugging.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet