compareRevisions – very important!

When performing a publish action programmatically (from C#), you would usually call: Sitecore.Publishing.PublishManager.PublishItem(itemToPublish, publishingTargets, languages, true, true); The last parameter in this method call is a bool, compareRevisions.  If you set this parameter to false, Sitecore will perform a Republish. Read more ›

Sitecore.Web.WebUtil.GetFullUrl

Ever find yourself having to do something like what is suggested in this answer, http://stackoverflow.com/questions/567590/asp-net-absolute-path-of-a-url#answer-567632 ?  If so, you should check out the GetFullUrl method located in the Sitecore.Web.WebUtil class.  This is, yet, another useful method in another useful class! Read more ›