Debugging your code execution for anonymous users in SharePoint

Author: Tobias Zimmergren URL: http://www.zimmergren.net Introduction Often when developing solutions that has anonymous users enabled, it can be hard to debug them from your local machine – because when you reach a point in your code where permissions higher than anonymous is required, SharePoint automatically tries to identify the user. This means that if you’re running local development, and is browsing as an anonymous user – everything can be fine until you hit a line of code in your application that requires authentication, you are then automatically logged in. This makes it rather hard for anyone to truly…

Read More