.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

相关推荐
工藤新一OL15 分钟前
把xml的格式从utf-8-bom转为utf-8
xml·c#·asp.net·.netcore·visual studio
王柏龙14 小时前
Asp.net core mvc中TagHelper的GetChildContentAsync和Content区别
mvc·.netcore
编程乐趣2 天前
基于.Net Core开源的库存订单管理系统
.netcore
lgaof65822@gmail.com5 天前
ASP.NET Core Web API 中集成 DeveloperSharp.RabbitMQ
后端·rabbitmq·asp.net·.netcore
爱吃香蕉的阿豪5 天前
在.NET Core API 微服务中使用 gRPC:从通信模式到场景选型
微服务·.netcore·信息与通信·grpc
孤的心了不冷7 天前
【后端】.NET Core API框架搭建(7) --配置使用Redis
数据库·redis·缓存·.netcore
孤的心了不冷7 天前
【后端】Linux系统发布.NetCore项目
.netcore
csdn_aspnet7 天前
在 .NET Core 中创建 Web Socket API
javascript·websocket·.netcore
MoFe17 天前
【.net core】支持通过属性名称索引的泛型包装类
java·开发语言·.netcore