摘要:
1.在appsetting下新增一个配置节点: 2.新增类文件 KeyStrings.cs 3.添加读取配置文件的类及接口文件KeyReposiroty.cs,IKeyRepository.cs 4.新增扩展方法 5.在Startup中调用扩展方法进行依赖注入 6.现在通过IkeyRepositor 阅读全文
posted @ 2017-03-06 11:27
hello_myworld
阅读(415)
评论(0)
推荐(0)
浙公网安备 33010602011771号