摘要: 场景:我们会把一些配置信息,写在配置文件文件中,便于我们修改和配置。在之前的asp.net 中可以通过ConfigurationManger来获取web.config里面的配置。在.net core 如何操作配置信息。 我们借助“Options Pattern” 的思想来解决在配置文件的获取。 我有 阅读全文
posted @ 2017-01-05 23:39 nele 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: Assuming that you're using Entity Framework 6, you already have a logging tool that can give you some insights into the SQL your queries are generatin 阅读全文
posted @ 2017-01-05 11:15 nele 阅读(227) 评论(0) 推荐(0) 编辑