.Net Core3.1使用AspectCore

参考链接:https://www.cnblogs.com/king-23100/p/11821020.html

唯一的补充是在Startup.cs中注册服务时加上

services.AddScoped<ITestService, TestService>();

posted @ 2020-10-19 13:40  xwxwxw  阅读(219)  评论(0编辑  收藏  举报