摘要: 代码如下 public void SetAppSettingValue(string app_name, string value) { Configuration config = WebConfigurationManager.OpenWebConfiguration("~"); AppSettingsSection app = config.AppSettings; app.Settings[app_name].Value = value; config.Save(Configurati... 阅读全文
posted @ 2014-02-10 13:11 Plantastic 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个网站2.在网站中新建一个应用程序(名称为WcfServicesForeBayLS)3.在应用程序高级设置中,新增协议net.tcp高级设置->行为->已启用协议->http,net.tcp4.编辑网站绑定,添加net.tcp类型,在绑定信息中写入808:*5.在应用程序中,将生成的.dll文件等放入bin文件夹下,此bin文件夹在应用程序根目录下6.新建web.config文件,将app.config文件中的内容拷贝到web.config中,并稍作修改附上修改前和修改后的config修改前 ... 阅读全文
posted @ 2014-02-10 13:08 Plantastic 阅读(521) 评论(0) 推荐(0) 编辑