Sitecore

How to create a custom cache in Sitecore

When coding a Sitecore solution you sometimes need a cache to store some values. I’ve seen a lot of different cache implementations in Sitecore solutions that do not use the Sitecore API. Such an implementation could for example use a static or perhaps a singleton some even go further and use a custom database or a nosql […]

Sending emails in Sitecore

Sometimes you need to send an email from your Sitecore code. I’ve seen a ton of solution implementations where the developer have written some custom class that sends out emails using a SMTP client, good old classic ASP.NET. I myself  even wrote code for that in Sitecore solutions some years ago. That was before I noticed the […]

Sitecore SPEAK v1.2 goodies

This post show some of the new goodies we Sitecore developers get when working with Sitecore SPEAK 1.2 and Sitecore Rocks compared with the previous version of SPEAK. Strongly typed View Model In SPEAK 1.1 there was a lot of plumbing work you had to do almost all over the place. In your cshtml view you first […]

Global.asax events and Sitecore pipelines

At Pentia we always try not to change any files that ships in an out-of-the-box Sitecore installation. This makes upgrading easier and the solution code more transparent for developers. Sitecore ships with a standard Global.asax file and a lot of Sitecore developers choose to make changes directly in this to hook into application and session level events. For […]