web.config 配置与获取 设置值 <add key="rootDir" value="http://localhost:17001/" /> 获取ConfigurationManager.AppSettings["rootDir"].ToString()