Skip to content

Instantly share code, notes, and snippets.

@jglozano
Forked from gligoran/gist:1078530
Created July 12, 2011 18:57
Show Gist options
  • Save jglozano/1078700 to your computer and use it in GitHub Desktop.
Save jglozano/1078700 to your computer and use it in GitHub Desktop.
Glimpse.Mvc3 with MvcTurbine
public class MvcApplication : TurbineApplication
{
public MvcApplication()
{
ServiceLocatorManager.SetLocatorProvider(() => new UnityServiceLocator());
Engine.Initialize
.DisableHttpModuleRegistration()
.AssemblyFilter<GlimpseFilter>();
}
//rest of the code...
}
public class GlimpseFilter : CommonAssemblyFilter {
public GlimpseFilter() {
AddFilter("Glimpse");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment