.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

相关推荐
somethingGoWay5 小时前
wpf .netcore 导出docx文件
wpf·.netcore
somethingGoWay7 小时前
wpf .netcore 导出pdf文件
pdf·wpf·.netcore
切糕师学AI1 天前
如何建立针对 .NET Core web 程序的线程池的长期监控
java·前端·.netcore
csdn_aspnet2 天前
使用 MongoDB.Driver 在 C# .NETCore 中实现 Mongo DB 过滤器
mongodb·c#·.netcore
tiancao2222 天前
安装3DS MAX 2026后,无法运行,提示缺少.net core的解决方案
.net·.netcore·3dsmax
csdn_aspnet2 天前
使用 C# .NETCore 实现MongoDB
mongodb·c#·.netcore
MoFe16 天前
【.net core】【NPOI】读取表格信息(处理合并行表格数据)
.netcore
csdn_aspnet6 天前
在 .NET Core 中实现基于策略和基于角色的授权
.netcore·role·policy
The Sheep 20236 天前
.NetCore MVC
mvc·.netcore
一包烟电脑面前做一天6 天前
.NetCore下Ocelot + Nacos 实现负载均衡
nacos·负载均衡·.netcore·ocelot·ocelot集成nacos