-
-
Save jglozano/1078700 to your computer and use it in GitHub Desktop.
Glimpse.Mvc3 with MvcTurbine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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