topshelf Questions

3

As TosShelf says: "You can only have ONE service! As of 3.x Topshelf the base product no longer support hosting multiple services. " as of version 3.x I need to figure out how to integrate the ne...
Unconformable asked 20/2, 2013 at 7:55

1

I've made a topshelf windows service that starts three tasks. But since it might happen that one of those task might crash (yes, I know about EnableServiceRecovery), it would be better to use one p...
Cheesecake asked 14/4, 2015 at 22:10

8

I have developed a windows service using Topshelf. it works fine locally. When i deployed to test and try to start the service, it is giving me the following error: Error 1053: The service did not...
Incredible asked 8/9, 2016 at 10:2

8

Solved

I am using Serilog within an TopShelf Service, logging to the console and a rolling file. When running the service in a console my messages are written to the logfile, but when I install the servic...
Cymar asked 26/10, 2014 at 10:57

3

Solved

As a First step I created Windows Service project configured it properly and On second Step I have added TopShelf Version 3.1.135.0 in my project If I run my service through (F5 Run) then it is l...
Posterity asked 14/1, 2015 at 10:36

5

I have a windows service that polls a folder continuously for new files.For local directories this works fine.But when it comes to UNC Paths on another system in the same network,the service cannot...
Mansion asked 25/8, 2018 at 15:44

3

Solved

How does Topshelf differ from a ASP.NET Core Worker Service? and what are the pros and cons of each of them and are they both support Windows and Linux?
Nunci asked 4/5, 2020 at 10:21

3

Solved

I am using Topshelf combined with FluentSchedule for a Windows Service. However, I want to be able to trial-run the application to simply start up and not execute the FluentSchedule code that sets...
Innerve asked 26/2, 2015 at 11:0

2

Solved

I have a simple application that starts as a service using topshelf and it looks simple: HostFactory.Run(x => { x.Service<RequestService>(); x.RunAsLocalSystem(); }); Well it works, ...
Ted asked 25/6, 2019 at 10:32

5

Solved

I am currently using TopShelf with a Console Application to create a Windows Service. When I run the code as a console application I use a few Console.WriteLine() to output results. Once the code d...
Foresaid asked 9/1, 2012 at 18:1

0

I can run this service directly from a console window by invoking the executable using the same account that the service is supposed to run as. But when I install it as service and when I try to ru...
Pipit asked 21/8, 2020 at 11:28

1

Solved

I created an ASP.NET Core Windows Service application using this sample: https://github.com/dotnet/AspNetCore.Docs/tree/master/aspnetcore/host-and-deploy/windows-service/samples/2.x/AspNetCoreServi...
Multiply asked 13/7, 2020 at 14:18

2

I have written a bare-bones .NET 4.7.2 C# Windows Service using TopShelf and Quartz. The service works when I debug it using Visual Studio 2019 on my Windows 10 laptop. I then created a Wix 3.11.2 ...
Anchoress asked 27/11, 2019 at 18:28

2

I've made a topshelf webservice that uses custom parameter: string department = null; // *********************Below is a TopShelf HostFactory.Run(hostConfigurator => { //Define new parameter ...
Cheek asked 24/4, 2015 at 2:16

3

I have created a .net core console application using TopShelf. But I got an error when running the application using docker (alpine-linux). Configuration Result: [Success] Name MyApp [Success] D...

1

Solved

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...
Genip asked 3/12, 2019 at 19:31

0

I've created simple console log app which behaves a windows service. I'm wondering why am I getting an error Login failed for user 'NT AUTHORITY\SYSTEM' if I change my connection string in a...
Locust asked 20/5, 2019 at 11:59

3

Solved

I have an console application on .NET Core 2.1. I have used top-shelf to have it configure it as a windows service. Has anyone successfully ,installed a .NET Core console application as a windows ...
Columbus asked 30/10, 2018 at 20:4

4

Solved

I am using Quartz.net and I am trying to get the Quartz server to start-off in a Windows Service. I have created a Windows Service Project and included the Quartz.net libraries. In my Service class...
Inextirpable asked 5/12, 2012 at 14:58

1

Solved

I am using Topshelf to create a Windows Service. This service will attempt recovery the first 3 failures, but after that, it no longer work. Inspecting the service in Services on the host reveals:...
Leninakan asked 20/11, 2017 at 12:51

2

Solved

I am attempting to play with Topshelf to host a Console application as a Windows Service, but I am running into problems... I have referenced the Topshelf dll, along with the log4net dll from my C...
Agaric asked 2/5, 2011 at 18:40

2

Solved

NOTE: I'm not doing anything similar to Topshelf installer requires me to press enter twice - why? Service class (interesting parts): public class ServiceCore { public ServiceCore(ServiceRuntime...
Escarpment asked 22/1, 2016 at 4:31

0

Im trying to create a windows service using topshelf.I have managed to successfully create what i want and debug it.I have also managed to install the service using myservice.exe install But upo...
Recover asked 9/7, 2018 at 19:0

2

Solved

tl;dr I've created a Windows Service using TopShelf, added logging using Log4Net, and then built the project, installed the service and started the service. Then my service runs fine, but it is no...
Pinnate asked 7/6, 2018 at 16:48

4

Solved

Using Visual Studio Express 2012, I've created a console application using Topshelf (Version 3.1.107.0). The application works as a console application, but I can't figure out how to install it as ...
Discriminator asked 13/8, 2013 at 10:30

© 2022 - 2024 — McMap. All rights reserved.