Sitecore
When working with Sitecore there are some optimizations/configurations I usually repeat in order to make my app production ready. Following is a small list I have compiled from experience, Sitecore documentation, communicating with Sitecore Engineers etc. This is not supposed to be technically complete and might not be fit for all environments. Simple configurations that can make a difference: 1) Configure Sitecore Caches. This is the most straight forward and sure way of increasing the performance ......
Sitecore has a powerful event pipeline infrastructure that you can leverage to plugin commands into various item creation, change, move, publish etc events. Recently I had to add functionality to Sitecore so that when an items version is created all fields from a target language are copied into the newly created version to ease editing. To do this first we add an event handler in the Web.Config file for the versionAdded event. <event name="item:versionAdded"> <handler type="MyNamespace.MyClass, ......
Here are a few steps you can follow if you want to restrict access to Sitecore’s Interface on content delivery environments. 1) Open Internet Information Services (IIS) Manager 2) Expand your Content Delivery website 3) Click on the Sitecore folder 4) Double Click on Authentication in the middle content pane 5) In the Authentication Pane right click Anonymous Authentication and click Disable 6) Try visiting the Sitecore login page on the Content Delivery site and verify that you get an access denied ......
When using multiple languages/cultures in the Sitecore CMS the content of an item isn’t usually copied over from an existing language to a new language version. While working on a multi lingual website after content was added to the primary language (en-US) I had to write a script to copy all fields from the primary language into other languages (Example en-GB). Here is some code that I used for Sitecore 6.2. The following method copies an item from the Source Language to a Target Language provided ......