{"id":22895414,"url":"https://github.com/grumpybusted/grumpy.servicebase","last_synced_at":"2025-07-13T18:34:14.785Z","repository":{"id":143599196,"uuid":"118272584","full_name":"GrumpyBusted/Grumpy.ServiceBase","owner":"GrumpyBusted","description":"Windows Service Base using Topshelf as a ServiceRunner","archived":false,"fork":false,"pushed_at":"2019-08-01T09:05:17.000Z","size":39,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T21:18:57.923Z","etag":null,"topics":["cancellation","servicebase","servicehost"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrumpyBusted.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-20T19:09:49.000Z","updated_at":"2021-02-07T12:39:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"041b924a-3a15-4b44-aa26-0496100a97ca","html_url":"https://github.com/GrumpyBusted/Grumpy.ServiceBase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GrumpyBusted/Grumpy.ServiceBase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrumpyBusted%2FGrumpy.ServiceBase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrumpyBusted%2FGrumpy.ServiceBase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrumpyBusted%2FGrumpy.ServiceBase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrumpyBusted%2FGrumpy.ServiceBase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrumpyBusted","download_url":"https://codeload.github.com/GrumpyBusted/Grumpy.ServiceBase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrumpyBusted%2FGrumpy.ServiceBase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265186975,"owners_count":23724790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cancellation","servicebase","servicehost"],"created_at":"2024-12-13T23:29:08.749Z","updated_at":"2025-07-13T18:34:14.740Z","avatar_url":"https://github.com/GrumpyBusted.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/lxxiqar47aqo62db?svg=true)](https://ci.appveyor.com/project/GrumpyBusted/grumpy-servicebase)\n[![codecov](https://codecov.io/gh/GrumpyBusted/Grumpy.ServiceBase/branch/master/graph/badge.svg)](https://codecov.io/gh/GrumpyBusted/Grumpy.ServiceBase)\n[![nuget](https://img.shields.io/nuget/v/Grumpy.ServiceBase.svg)](https://www.nuget.org/packages/Grumpy.ServiceBase/)\n[![downloads](https://img.shields.io/nuget/dt/Grumpy.ServiceBase.svg)](https://www.nuget.org/packages/Grumpy.ServiceBase/)\n\n# Grumpy.ServiceBase\nBase class for building Windows Services, using Topshelf as a Service Host. This base class simplify building\ncancelable windows services.\n\n```csharp\npublic static class Program\n{\n    private static void Main()\n    {\n        // One line main procedure\n        TopshelfUtility.Run\u003cMyService\u003e();\n    }\n}\n\n// Sample Service\npublic class MyService : TopshelfServiceBase\n{\n    protected override void Process(CancellationToken cancellationToken)\n    {\n        // Start your service\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrumpybusted%2Fgrumpy.servicebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrumpybusted%2Fgrumpy.servicebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrumpybusted%2Fgrumpy.servicebase/lists"}