SP 2010: Web Application settings (web.config) modifications in SharePoint 2010 via code

Author: Tobias Zimmergren http://www.zimmergren.net | http://www. tozit.com | [@zimmergren](http://twitter.com/zimmergren) Introduction I’ve been getting some questions lately about modifications to web.config files and SharePoint 2010 – is it possible to automate so that the administrator don’t have to manually edit those files on each WFE? Yes, that’s the easy answer. This was possible in SharePoint 2007 as well. In this article I’ll quickly demonstrate how you (using a Web Application feature) can make modifications to web.config automatically. Please note that this is just a getting-started point which you’ll…

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

SP 2010: Certification exam details for SharePoint 2010 published

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction Microsoft has published the two developer-oriented certifications for SharePoint 2010 on Microsoft Learning. Personally, I think there is a huge improvement now as we’re not only getting the MCTS-credit but can now also become an MCPD (Microsoft Certified Professional Developer) on the SharePoint platform. Something I’ve been waiting for a long time ;-) SharePoint 2010 exams For us developers/solution architects there are two certifications of interest (of course you should do the IT-pro tracks as well, but let’s…

Read More

SP 2010: Dynamically displaying messages to your users with the Notification and Status bar areas in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction With the new version of SharePoint comes a full set of new and awesome features that you’ll have to indulge and learn. One of the small things that makes my day much more fun is to display messages to your users in the Status- and Notification areas. Example of a message in the Status bar area: Example of a message in the Notification area: How do we make this magic happen? In order to display these messages, you really (really) don’…

Read More

SP 2010: LINQ to SharePoint - What CAML lies behind my query?

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction The two following questions are quite popular in my SharePoint 2010 developer training classes, so I ought to answer them right here. "What does LINQ to SharePoint really do?" "Can I see the CAML query generated by the LINQ to SharePoint query?" The answer is simple: Yes, you can see the results of your generated LINQ query by using the Log property of your DataContext object. What CAML lied behind my LINQ to SharePoint query? In order to…

Read More

SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction In SharePoint 2010 you now have the ability to use LINQ syntax to fetch items from your lists instead of using the "traditional" approach of CAML queries. (Including SPSiteDataQuery and SPQuery objects) In this article I will give you a brief introduction to how you can get started using LINQ queries in SharePoint, also known as LINQ to SharePoint. Basics of LINQ? As a prerequisite to this article, I’m going to imply that you know what LINQ is and…

Read More

SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction **Article 3 in the small BCS-series: ** SP 2010: Getting started with the Business Connectivity Services (BCS) SP 2010: Programmatically work with External Lists (BCS) in SharePoint 2010 3. SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model In my previous article in the series, I talked about how easy it is to fetch information using the standard SharePoint server API-approach. In this article I will talk about how you can access data in your BCS data source, by…

Read More

SP 2010: Programmatically work with External Lists (BCS) in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction **Article 2 in the small BCS-series: ** SP 2010: Getting started with the Business Connectivity Services (BCS) 2. SP 2010: Programmatically work with External Lists (BCS) in SharePoint 2010 SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model In my previous article I talked about how you can set up a simple BCS configuration to fetch and work with external data in SharePoint 2010. In this article I will talk about how you can utilize the SharePoint 2010 object…

Read More