.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

相关推荐
lingxiao168881 天前
WebApi详解+Unity注入--中篇:.net core的WebAPI
unity·c#·.netcore
老龄程序员2 天前
基于OpenIddict6.4.0搭建的授权UI管理界面
.netcore
武藤一雄2 天前
C# 关于多线程如何实现需要注意的问题(持续更新)
windows·后端·microsoft·c#·.net·.netcore·死锁
冰茶_3 天前
WPF路由事件:隧道与冒泡机制解析
学习·c#·.net·wpf·.netcore·mvvm
武藤一雄3 天前
C# 关于GC垃圾回收需要注意的问题(持续更新)
后端·微软·c#·.net·.netcore
武藤一雄3 天前
C# 关于应用程序域(AppDomain)需要注意的问题(持续更新)
后端·microsoft·微软·c#·.net·.netcore
csdn_aspnet8 天前
在 ASP.NET Core 中发布 RabbitMQ 消息
rabbitmq·.netcore
csdn_aspnet8 天前
在 ASP.NET Core 中使用(消费) RabbitMQ 消息
rabbitmq·.netcore
csdn_aspnet9 天前
ASP.NET Core 应用程序中的单点登录 (SSO)
.netcore·sso
csdn_aspnet9 天前
使用 RabbitMQ 和 MassTransit 在 .NET Core 中实现强大的微服务:处理订阅者故障和消息恢复
微服务·rabbitmq·.netcore