菜鸟的问题
好记性不如烂笔头~。~

1.NET与NET Core中Configuration引用配置

①asp.net中:

(1).添加引用,在程序集中找到“System.configuration”进行添加。

(2).在类中加入引用:using System.Configuration;

②.net core中:

(1).在Nuget管理中搜索“System.Configuration.ConfigurationManager”,进行安装

(2).在类中加入引用:using System.Configuration;

posted on 2019-08-27 11:09  ArSang-Blog  阅读(216)  评论(0编辑  收藏  举报