Skip to content

Instantly share code, notes, and snippets.

@daniiiol
Created June 1, 2016 09:07
Show Gist options
  • Select an option

  • Save daniiiol/216b161462db3dc2f7a3f43745bbfad0 to your computer and use it in GitHub Desktop.

Select an option

Save daniiiol/216b161462db3dc2f7a3f43745bbfad0 to your computer and use it in GitHub Desktop.
<%@Application Language='C#' Inherits="Sitecore.Web.Application" %>
<%@ Import Namespace="NitroNet.Sitecore" %>
<script RunAt="server">
public void Application_Start()
{
ViewEngines.Engines.Add(DependencyResolver.Current.GetService<SitecoreNitroNetViewEngine>());
}
</Script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment