百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

Topshelf

> 编程语言
开源

一个简单的服务托管框架,用于使用 .NET 构建 Windows 服务

3.6K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个简单的服务托管框架,用于使用 .NET 构建 Windows 服务

Topshelf - An easy service hosting framework for building Windows services using .NET ======= Topshelf is a framework for hosting services written using the .NET framework. The creation of services is simplified, allowing developers to create a simple console application that can be installed as a service using Topshelf. The reason for this is simple: It is far easier to debug a console application than a service. And once the application is tested and ready for production, Topshelf makes it easy to install the application as a service. ### Develop build # LICENSE Apache 2.0 - see LICENSE # INFO ## Getting started with Topshelf Get started in four simple steps! Step 1 (get the bits):

The easiest way to get Topshelf in your project is to use NuGet.

### Mailing List [Topshelf Discuss](http://groups.google.com/group/topshelf-discuss) ### Contributing 1. Clone 1. Branch 1. Make changes 1. Push 1. Make a pull request ### Source 1. Clone the source down to your machine. `git clone git://github.com/Topshelf/Topshelf.git` 1. **Important:** Run `build.bat` in order to generate the SolutionVersion.cs file which is otherwise missing. * You must have git on the path in order to do this. (Right click on `Computer` > `Advanced System Settings`, `Advanced` (tab) > `Environment Variables...` > Append the git executable's directory at the end of the PATH environment variable. 1. Edit with Visual Studio 2015 or alternatively edit and run `build.bat`. 1. Topshelf uses the .NET Framework v4.5.2. #### Editing in Visual Studio 1. Run `build.bat` in the root folder. 2. Set Visual Studio Tools -> Options -> Text Editor -> All Languages -> Tabs to use "Tab Size" = 4, "Indent Size" = 4, and "Insert Spaces" 3. Double-click/open the .sln file. ### Deploying TopShelf with Azure DevOps The [Windows Service Manager](https://marketplace.visualstudio.com/items?itemName=MDSolutions.WindowsServiceManagerWindowsServiceManager) Azure DevOps extension supports TopShelf deployments to a group of target machines or a deployment group target. # REQUIREMENTS To run the build, a Visual Studio 2015 compatible environment should be setup. # CREDITS Logo Design by [The Agile Badger](http://www.theagilebadger.com) Copyright 2007-2016 Travis Smith, Chris Patterson, Dru Sellers, Henrik Feldt et al. All rights reserved

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •C#

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言