.NET core 5.0 及以上的Windows Service开发

首先,一定要和.NET Framework区分开,

详细请看微软的2023年的最新官方文档

Create Windows Service using BackgroundService - .NET | Microsoft Learn

Create a Windows Service installer - .NET | Microsoft Learn

同样微软的官方微博给出了开发示例:一个基于AI 图片自动分类的Windows Service应用 (ML.NET代码)

Creating a Windows Service with C#/.NET5 - #ifdef Windows

GitHub - azchohfi/ImageClassifierSample

References:

Tutorial: Automated visual inspection using transfer learning - ML.NET | Microsoft Learn

相关推荐
追雨潮6 小时前
.net core 项目快速接入Coze智能体-开箱即用-全局说明
.netcore·ai编程
时光追逐者11 小时前
C#/.NET/.NET Core技术前沿周刊 | 第 35 期(2025年4.14-4.20)
c#·.net·.netcore
全栈小515 小时前
【C#】.net core 6.0调用MVC API接口时,提示Unsupported Media Type,状态码415
c#·mvc·.netcore
猫霸1 天前
理解.NET Core中的配置Configuration
html·.netcore·xhtml
MoFe11 天前
【.net core】【watercloud】数据库连接报错问题
数据库·.netcore
csdn_aspnet1 天前
Windows .NET Core 应用程序部署到 IIS 解决首次访问加载慢的问题
iis·.netcore
csdn_aspnet2 天前
Windows Server .NET Core 应用程序部署到 IIS 解决首次访问加载慢的问题
windows·iis·.netcore
江沉晚呤时2 天前
从零开始学习 Lucene.Net:.NET Core 中的全文搜索与索引管理
开发语言·c#·.net·mybatis·.netcore·lucene
[email protected]4 天前
ASP.NET Core 性能优化:分布式缓存
分布式·缓存·性能优化·asp.net·.netcore