Sitecore Media & CDN

Just modify the following settings to output CDN domain uris

  <setting name="Media.AlwaysIncludeServerUrl" xdt:Transform="Insert">
    <patch:attribute name="value">true</patch:attribute>
  </setting>
  <setting name="Media.MediaLinkServerUrl" xdt:Transform="Insert">
    <patch:attribute name="value">https://cdn.[site].com</patch:attribute>
  </setting>
  <!-- /CDN Settings -->

Some wicked less thing

How to integrate less into Sitecore

Tired of writing really boring code to map one object to another?

AutoMapper : A convention-based object-object mapper. 100% organic and gluten-free. Takes out all of the fuss of mapping one object to another.

Sitecore Switching Provider

There may be a scenario where the web site is allowing people to register and we want to leverage Sitecore membership system.

In this scenario AND where the CDS server is unable to share the CORE database with the CMS you need to use the switching membership/role/profile provider.

Sitecore editor membership can remain in the CORE database inside the firewall.

  1. Create a new database and script the asp.net membership stuff (aspnet_regsql).
  2. "DELETE FROM aspnet_schemaversions"
  3. Copy over the CORE tables like aspnet_* as well as acc...