# Is it possible to have Hangfire Server on Windows Service and dashboard on Web

**URL:** <https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155>\
**Category:** question\
**Created:** [December 14, 2017, 2:17am UTC](https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155 "2017-12-14T02:17:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reshma](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Reshma](https://discuss.hangfire.io/u/Reshma)\
**Post date:** [December 14, 2017, 2:17am UTC](https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155/1 "2017-12-14T02:17:59Z")

</div>

Hi,

```
I've started hangfire server on Windows Service. That is up and running. And I've configured hangfire dashboard on ASP.NET web application pointing to the same DB. I'm initiating my long-running job on the Web application.

```

The job is stuck in the enqueued state but never moved to processing. Is it right approach or not?

Thanks,  
Reshma

---

<div class="post-metadata">

**Author:** ![FransT](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@FransT](https://discuss.hangfire.io/u/FransT)\
**Post date:** [December 14, 2017, 3:18pm UTC](https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155/2 "2017-12-14T15:18:58Z")

</div>

I have the same configuration.  
Hangfire Server in Windows Service and Dashboard in a web application.  
Works fine.  
Its the logical thing to do IMHO.

Maybe your job hangs.

For debugging and/or monitoring purposes i run the service locally as a console app. (possible with e.g. Topshelf or other techniques)

Regards  
Frans

---

<div class="post-metadata">

**Author:** ![Domagoj\_Medo](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/domagoj_medo/32/1575_2.png) [@Domagoj\_Medo](https://discuss.hangfire.io/u/Domagoj_Medo)\
**Post date:** [December 19, 2017, 3:50pm UTC](https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155/3 "2017-12-19T15:50:14Z")

</div>

Can recommend topshelf, same configuration works really well

---

<div class="post-metadata">

**Author:** ![codejunction](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/codejunction/32/1807_2.png) [@codejunction](https://discuss.hangfire.io/u/codejunction)\
**Post date:** [October 15, 2019, 10:21pm UTC](https://discuss.hangfire.io/t/is-it-possible-to-have-hangfire-server-on-windows-service-and-dashboard-on-web/4155/4 "2019-10-15T22:21:08Z")

</div>

Hangfire and Topshelf goes well together Hand in Hand.  
Topshelf makes windows services creation effortless.  
Adding Hangfire server and Recurring jobs makes your life very easy.

Topshelf + Hangfire = (C# GOLD MINE)
