public void Configure(IApplicationBuilder app, GraphDataClient graphDataClient)
        {
            // Prepare data caches
            LRUInMemoryCache memoryCache = new LRUInMemoryCache(Configuration.MAX_LRU_CACHE_SIZE);

            // Configure data clients
            graphDataClient.RegisterCache(memoryCache, DataCacheTier.One);

            // Configure routes
            RouteBuilder routes = new RouteBuilder(app);

            routes.AddEndpoint <ValidateEndpoint>("v2/validate");
            routes.AddEndpoint <PingEndpoint>("api/ping");
            routes.AddEndpoint <ProfileEndpoint>("api/profiles/{iKey}/{profileKey?}");
            routes.AddEndpoint <FallbackEndpoint>("");

            app.UseRouter(routes.Build());
        }