public void BuildByAppSettingsTest()
        {
            DevConfiguration devConfig = DevConfigurationBuilder.BuildByAppSettings();

            Assert.NotNull(devConfig);
            Assert.True(devConfig.AppID.Length > 0);
            Assert.True(devConfig.AppSecret.Length > 0);
        }
 /// <summary>
 /// 以项目配置文件 AppSettings 配置节点的方式设置微信开发配置。
 /// </summary>
 /// <param name="appBuilder">应用构造。</param>
 /// <returns>应用 构造 静态扩展。</returns>
 public static AppBuilder SetWeixinDevConfigByAppSettings(this AppBuilder appBuilder)
 {
     appBuilder.SetWeixinDevConfig(DevConfigurationBuilder.BuildByAppSettings());
     return(appBuilder);
 }