web.config 配置与获取

  1. 设置值 <add key="rootDir" value="http://localhost:17001/" />   获取ConfigurationManager.AppSettings["rootDir"].ToString()
原文地址:https://www.cnblogs.com/ymj126/p/2859329.html