public void Configuration(IAppBuilder app) { var httpConfiguration = new HttpConfiguration(); WebApiConfig.Register(httpConfiguration); RouteConfig.Register(httpConfiguration.Routes); IdentityConfig.Register(app); app.UseWebApi(httpConfiguration); }