Out of the box, Web API does not support session. It's possible to enable it, but requires a bit of work. In this blog post, I'll cover how you can enable session in Web API for your Sitecore solutions with ...
Read More


Colleague Bill Cacy and I have been actively working with Sitecore recently on an issue that has been affecting one of our clients. When publishing a single item in the content tree with Publish related items checked, seemingly unrelated items, ...
Read More


Two months ago Mark Cassidy launched a proposal to start a Sitecore site on Stack Exchange. At Sitecore Symposium, it was announced that the Sitecore proposal was the fastest proposal ever on Area 51 (Stack Exchange's New Site Staging Zone) ...
Read More


In a standard Web API implementation, if you want to change the ContractResolver that is used by the Web API framework to serialize your models into JSON, it's as easy as changing the JsonFormatter settings in the GlobalConfiguration. public static ...
Read More


Sitecore has five list field types that Glass Mapper maps: Checklist, Multilist, Multilist with Search, Treelist, and TreelistEx. Out of the box, Glass Mapper supports mapping these field types to two .NET collection types: IEnumerable<T> and IList& ...
Read More


Glass Mapper handles mapping of almost all Sitecore field types to your models, but I discovered one Sitecore field type that Glass Mapper can handle that isn't well documented: the Rules field type. If you haven't worked with the Sitecore ...
Read More


I was recently tasked with changing the template of some items in one of our client's Sitecore instances. Both the SourceTemplate and TargetTemplate had an image field, and part of the task was to transfer the value of the MainImage ...
Read More


After we enabled HTTPS on one of our clients' sites in their pre-prod environment, Sitecore started to add :443 to all URLs, which was undesirable from an SEO perspective. I found this question on Stack Overflow about the issue, and ...
Read More


I've worked on a few projects that make use of John West's technique to create AJAX services for your Sitecore components, as outlined in his blog post here. In a fresh Sitecore project, the action methods on your controllers are ...
Read More


The Datasource Location field on renderings in Sitecore supports a nice feature that I've taken for granted--relative paths. For example, if you want content authors to put the data items for a particular rendering under the item that the rendering ...
Read More