Questions tagged [topshelf]

Topshelf is a service hosting framework for building Windows services using .NET.

Topshelf is a cross-platform (Windows and Mono) service hosting framework for .NET. Provides a simple fluent API for service configuration.

Source code is available for download on github and documentation/examples are available on the Topshelf project site and Topshelf documentation.

352 questions
-1
votes
1 answer

"Error 1053 The Service did not respond" error when using TopShelf to create a Windows Service

I have a Windows Service created using the TopShelf library. When attempting to start the service, it gives me an error: Windows could not start the HPS.MyService.Service service on Local Computer Error 1053: The service did not respond to the…
mason
  • 31,774
  • 10
  • 77
  • 121
-1
votes
2 answers

Parallel task in Hangfire Recurring Job

I need to run parallel tasks inside of an recurring job fired every minute by Hangfire. Tried Task Factory which starts the task but never waits for the actual execution to complete. Parallel Foreach also does the same.
-1
votes
1 answer

How to integrate topshelf to an existing windows service project?

I want to be able to use the TopShelf debugging abilities of my service in Visual Studio. A lot of the examples and documentation out there refer to creating a Windows Console project in Visual Studio first, and then adding TopShelf, OWIN,…
Fandango68
  • 4,461
  • 4
  • 39
  • 74
-1
votes
1 answer

Is ServiceAccount available in .NET Standard 2.0?

.NET Core/Standard 2.0 now lets you reference old .NET Framework libraries. You can install them via NuGet, and the code will build. This works within limits though: "The supported scenario is referencing a .NET Framework library that happens to…
Gigi
  • 28,163
  • 29
  • 106
  • 188
-2
votes
1 answer

Error 1053. The service did not respond to the request in a timely manner

I get an error when installing the service. I launch the console on behalf of the admin, enter the command: ServiceKisTopshelf.exe install. What could be the problem? Can't install the service. I use the topshelf. class Program { static void…
SVD102
  • 117
  • 5
-3
votes
1 answer

How to Schedule a windows service using topshelf in c# at specific time in a each day

_timer = new Timer(1.8e+6) { AutoReset = true }; _timer.Elapsed += TimerElapsed;
1 2 3
23
24