Browsed by
Author: Heiko Franz

Bio goes here
Minor Update to Unicorn Code Generation Package

Minor Update to Unicorn Code Generation Package

I have just pushed a minor update to my tiny Unicorn / Rainbow Code Generation Package. You can find it on GitHub and NuGet. Version 0.3 now features: Tested against Unicorn 4 / Rainbow 2 and Sitecore 9 Generate code for any item, not just templates Unicorn 4 Support The package works fine against Unicorn 4 and is still backwards compatible to the earlier version. I have left the NuGet minimum dependency unchanged (v1.4 for Rainbow) but the T4 template…

Read More Read More

Announcing Atlas – The Deloitte Digital Framework for Sitecore Development

Announcing Atlas – The Deloitte Digital Framework for Sitecore Development

Note – this is a cross-post of our announcement over on the Deloitte Digital blog. Keep an eye out for further posts here on my blog detailing the Atlas capabilities.  Open source and an active development community are important ingredients for every software development ecosystem. They allow sharing of ideas and best practices, provide easily accessible support for developers and often result in better products. Sitecore has been able to build a very active and supportive community around its experience…

Read More Read More

Unable to add Basic Authentication to your Sitecore Site? Check for WebMatrix!

Unable to add Basic Authentication to your Sitecore Site? Check for WebMatrix!

I recently ran into an issue where I was unable to add basic authentication to a Sitecore site – and the fix for it turned out to have nothing to do with Sitecore at all. Adding basic authentication through IIS is easy (usually) – disable anonymous authentication and enable/configure basic authentication. But no matter what I tried, I could not get IIS to perform the basic authentication for me. Even when disabling all authentication methods, the site would still be served ok. As it…

Read More Read More

Unicorn / Rainbow Code Generation 0.2

Unicorn / Rainbow Code Generation 0.2

I just pushed an update to my small code generation for Sitecore Unicorn package on NuGet. Version 0.2 is now built against the latest Rainbow 1.4 and also uses the official Sitecore NuGet feed for build an in the T4 templates. Check it out on NuGet.org here.

Code Generation for Sitecore Unicorn

Code Generation for Sitecore Unicorn

I recently made the switch from TDS to Unicorn (and you should too, it is great). One of the things I was missing was the code generation that TDS provided. I didn’t want to start manually generating constant files for template GUIDs and field names again – so I wrote a small utility based on the Visual Studio T4 templates. Introducing: RainbowCodeGeneration Rainbow is the underlying serialisation provider that Unicorn uses and RainbowCodeGeneration is a (very!) simple utility that reads Rainbow…

Read More Read More

Authenticate Sitecore extranet users using OAuth 2.0 / OpenID Connect

Authenticate Sitecore extranet users using OAuth 2.0 / OpenID Connect

I recently had to hook OAuth 2.0 / OpenID Connect authentication into Sitecore (for the published site, not the CMS) and struggled to find good implementation examples online – so I decided to publish a simple module to GitHub. You can find it here: https://github.com/heikof/sitecore-openidconnect – this post outlines how it works and how to install and use it. Context / Limitations The implementation currently assumes an implicit flow and has been built against a provider based on IdentityServer3. In the future I am planning to add support for other flows…

Read More Read More

Accessing the component guidance site for SPEAK in Sitecore 8.1

Accessing the component guidance site for SPEAK in Sitecore 8.1

The release notes for Sitecore 8.1 mention a “component guidance site with properties reference and component demos” for SPEAK. That caught my interest since SPEAK is very high up on my list of technologies that I want to play with. Unfortunately I am still very new to it and it took me way too long to figure out how to even access this guidance site. This post from Martina Welander explains how SPEAK apps are registered in the core database. I then tracked…

Read More Read More

Speeding up Sitecore index rebuilds with a custom MediaItemContentExtractor

Speeding up Sitecore index rebuilds with a custom MediaItemContentExtractor

On a recent Sitecore project of mine we relied very heavily on Lucene indexes and the Sitecore Content Search API. For various reasons we had to rebuild the indexes in almost every production deployment – and the number of content items was approaching 200,000. It would take hours to rebuild the indexes, making deployments unnecessary painful. We identified a number of tweaks when digging through the Content Search API. The biggest improvement by far came from slightly changing the way media items are indexed. A…

Read More Read More