How to use Glimpse in BetterCMS

bettercms plus glimpse

I wanted to use the awesome profiler Glimpse with BetterCMS but after installing it with nuget and navigating to http://…/Glimpse.axd I always got the following error:

Oops! The page you are looking for can not be found.

After some research I found out that in order to use Glimpse, if you are using BetterCMS, you first have to make sure you have Glimpse activated on web.config:

<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">

and then you only have to access your route.config file and uncoment the following line:


Make sure to leave the rest of the lines commented, like so:

 public class RouteConfig
        public static void RegisterRoutes(RouteCollection routes)

            //    name: "Default",
            //    url: "{controller}/{action}/{id}",
            //    defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }

And there you have it. Glimpse should now be working inside BetterCMS:

Glimpse working on BetterCMS

The source code is available on Github

Leave a Reply

Your email address will not be published.