.net Core 获取当前程序路径
摘要:
1.先创建一个类: public static class MyServiceProvider { public static IServiceProvider ServiceProvider { get; set; } } 2.Startup.cs中Configure方法中添加 MyService 阅读全文
posted @ 2021-04-26 22:12 W~C停用 阅读(935) 评论(0) 推荐(0)
浙公网安备 33010602011771号