Getting Started with Debugger Canvas - An aid in your daily development (debugging) tasks

Author: Tobias Zimmergren | www.tozit.com | @zimmergren Introduction Sometimes when you’re in a development project you can feel the pain of debugging. If there’s a lot of code floating around it may be hard to sort out the method calls and how the depend on each other if it’s a very complex solution. To ease the task of debugging there’s a great VS 2010 plugin called Debugger Canvas, which will help you to sort out a lot of the hassle while debugging. In this article we’ll just take a quick look at what Debugger Canvas…

Read More

SP 2010: Developing for performance Part 4 - Logging

SP 2010: Developing for performance Part 4 - Logging

SharePoint 2010 developing for performance article series: In this series of articles I will briefly introduce you to some key concepts when it comes to developing for performance in our SharePoint 2010 applications. Related articles in this article series Part 1 – SP 2010: Developing for performance Part 1 – Developer Dashboard Part 2 – SP 2010: Developing for performance Part 2 – SPMonitoredScope Part 3 – SP 2010: Developing for performance Part 3 – Caching in SharePoint 2010 Part 4 – SP 2010: Developing for performance Part 4 – Logging Part 5 – SP 2010: Developing for performance Part 5 – Disposal patterns and tools Part 6 – SP 2010:…

Read More

SP 2010: Developing for performance Part 2 - SPMonitoredScope

SP 2010: Developing for performance Part 2 - SPMonitoredScope

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction SharePoint 2010 developing for performance article series: In this series of articles I will briefly introduce you to some key concepts when it comes to developing for performance in our SharePoint 2010 applications. Related articles in this article series Part 1 – SP 2010: Developing for performance Part 1 – Developer Dashboard Part 2 – SP 2010: Developing for performance Part 2 – SPMonitoredScope Part 3 – SP 2010: Developing for performance Part 3 – Caching in SharePoint 2010 Part 4 – SP 2010: Developing for performance Part 4…

Read More

SP 2010: Developing for performance Part 1 - Developer Dashboard

SP 2010: Developing for performance Part 1 - Developer Dashboard

Author: Tobias Zimmergren http://www.zimmergren.net | http://www. tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction SharePoint 2010 developing for performance article series: In this series of articles I will briefly introduce you to some key concepts when it comes to developing for performance in our SharePoint 2010 applications. Related articles in this article series Part 1 – SP 2010: Developing for performance Part 1 – Developer Dashboard Part 2 – SP 2010: Developing for performance Part 2 – SPMonitoredScope Part 3 – SP 2010: Developing for performance Part 3 – Caching in SharePoint 2010 Part 4 – SP 2010: Developing for performance Part 4…

Read More

SP 2010: Find error messages with a Correlation ID token in SharePoint 2010

In SharePoint 2010, you’ve got some new capabilities for error reporting and logs. One of the most noted features for me as a developer is that whenever you bump into an error message – you’ll be presented with a correlation ID token. In this article I will try to explain how you can fetch that token from SharePoint, and also provide a small snippet of code to be able to build your own “Log Searcher Web Part” for your administrators. What is a Correlation ID in SharePoint? In SharePoint 2010, you get a Correlation ID (which is a GUID)…

Read More

SPTraceView - Easy overview of the SharePoint logs (ULS logs)

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction If you are a SharePoint developer, you often need to dig into the logs in the 12-hive in order to find out why things are behaving the way they are. You and me both know that this can be a pain in the buttocks if you don’t have an appropriate tool to read the logs with. I’ve been trying out around 10 different log viewers, including SharePoint-specific log viewers, in order to save some time reading the logs. What I…

Read More

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