Monthly Archives: August 2011

SharePoint Developer Basics – Safe Controls

When you deploy a Web Part to SharePoint, you must first make it as a safe control to use within SharePoint in the web.config file. If the safe control entry exists, the object will be loaded otherwise they will throw an error.

How to add the safe control from Visual Studio…

http://weblogs.asp.net/jan/archive/2010/08/06/easily-adding-safecontrols-in-sharepoint-2010-with-visual-studio-2010.aspx


SharePoint Developer Basics – The GAC

What is the GAC?

The GAC stands for the global assembly cache. It is the machine wide code cache which will give custom binaries place into the full trust code group for SharePoint. Certain SharePoint assets, such as Feature Receivers need full trust to run correctly, and therefore are put into the GAC.

More info on deployments and what it means to have your code in the GAC…

http://technet.microsoft.com/en-us/library/cc261736.aspx

 


Reset Managed Account Password

At first I was worried this was going to be a pain, but it’s one powershell command. You will be prompted to enter the new password and that’s it.

Set-SPManagedAccount -Identity YourDomain\YourUserName -UseExistingPassword

 


Making SharePoint 2010 faster

Here’s a great blog to help you speed up SharePoint 2010…

http://www.astaticstate.com/2010/06/sharepoint-2010-cache.html


Duet – Step by Step Guide

I found an actual step by step guide for Duet. This looks promising…

Duet Enterprise Developer Guide[1]