# Can't use HangFire Dashboard in dotnetcore

**URL:** <https://discuss.hangfire.io/t/cant-use-hangfire-dashboard-in-dotnetcore/3323>\
**Category:** bug?\
**Tags:** dashboard, dotnetcore\
**Created:** [May 16, 2017, 7:24pm UTC](https://discuss.hangfire.io/t/cant-use-hangfire-dashboard-in-dotnetcore/3323 "2017-05-16T19:24:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasadhananjay](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@vasadhananjay](https://discuss.hangfire.io/u/vasadhananjay)\
**Post date:** [May 16, 2017, 7:24pm UTC](https://discuss.hangfire.io/t/cant-use-hangfire-dashboard-in-dotnetcore/3323/1 "2017-05-16T19:24:03Z")

</div>

So I’m using dotnetcore 1.1 and it appears that after making my `Configure` method in Startup.cs asynchronous, I can’t view the dashboard. Is there something I’m doing incorrectly?

---

<div class="post-metadata">

**Author:** ![Andre\_Steenbergen](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/andre_steenbergen/32/976_2.png) [@Andre\_Steenbergen](https://discuss.hangfire.io/u/Andre_Steenbergen)\
**Post date:** [May 16, 2017, 8:52pm UTC](https://discuss.hangfire.io/t/cant-use-hangfire-dashboard-in-dotnetcore/3323/2 "2017-05-16T20:52:26Z")

</div>

I am using the following code under .net core 1.1, without issues. Maybe it helps you.

```
        public void ConfigureServices(IServiceCollection services)
        {
            //alle dingen bekijken
            foreach (var item in _settings.AsEnumerable())
            {
                Console.WriteLine($"{item.Key} ---- {item.Value}");
            }

            var redisHostname = _settings["ConnectionSettings:Redis:RedisHostName"];
            var redisPort = _settings["ConnectionSettings:Redis:RedisPort"];
            var hangfirePrefix = _settings["ConnectionSettings:Redis:HangfirePrefix"];
            var ipAddress = Dns.GetHostAddressesAsync(redisHostname).Result.First(i => !i.ToString().StartsWith(":"));
                        
            services.AddHangfire(x =>
            {
                x.UseRedisStorage($"{ipAddress}:{redisPort}", new RedisStorageOptions
                {
                    Prefix = hangfirePrefix,
                    InvisibilityTimeout = TimeSpan.FromHours(12)
                });
            });
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            app.UseHangfireDashboard("", new DashboardOptions
            {
                Authorization = Enumerable.Empty<Hangfire.Dashboard.IDashboardAuthorizationFilter>()
            });
        }
```
