It’s easy to apply themes to SharePoint websites using the UI. Just go to Site Settings and under Look and Feel, select Site theme. Then select the theme you want and press Apply. Developers however, usually need to do this programmatically (for example you may have a requirement to manage a website theme using a feature). Here’s how to do it.
You have carefully developed a workflow with Visual Studio. Deployment and testing go smoothly on your dev machine. Some weeks or months later, the business requests some changes to the workflow. You implement the required changes and again deployment and testing (on your dev machine) also work fine. Now you try to upgrade the version you have on the production environment. And then the nightmare of versioning workflows begins…
I still remember battling with different methods of creating wiki/publishing pages within an enterprise wiki site using code in SharePoint 2010. While the issues I encountered were almost frustrating at the time, the overall learning experience was great. So for developers like me who might be tasked with similar problems (and of course for my personal reference), I have put together this article to describe what works and what does not. I have tested the final code and found it to work for both a publishing site as well as a team site with the publishing feature activated.
This introductory tutorial presents an overview of building SharePoint web parts. Web parts are perhaps the most common type of development projects any new SharePoint 2010 developer will undertake. More detailed instructions on coding, deployment and adding of web parts to SharePoint 2010, will be presented in later tutorials.