07 2023 档案

摘要:using Topshelf; using TopShelf6Test; Console.WriteLine("Hello, World!"); HostFactory.Run(x => { x.Service<MyService>(s => { s.ConstructUsing(name => n 阅读全文
posted @ 2023-07-04 17:26 elegydance 阅读(109) 评论(0) 推荐(0) 编辑
摘要:using Quartz; namespace QuartzTest { public class HelloJob : IJob { public async Task Execute(IJobExecutionContext context) { await Console.Out.WriteL 阅读全文
posted @ 2023-07-04 17:23 elegydance 阅读(184) 评论(0) 推荐(0) 编辑
摘要:using Serilog; class Program { static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .WriteTo.Console() .WriteTo.File("logs/app.log 阅读全文
posted @ 2023-07-04 17:19 elegydance 阅读(123) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示