2013年8月27日

[转]通过继承ConfigurationSection,在web.config中增加自定义配置

摘要: 本文转自:http://www.blue1000.com/bkhtml/2008-02/55810.htm前几天写了一篇使用IConfigurationSectionHandler在web.config中增加自定义配置,然后看到有回复说IConfigurationSectionHandler在2.0时代被弃用了,推荐使用ConfigurationSection,不敢怠慢,赶紧看看ConfigurationSecion是如何使用的。 1. 实现目的 我希望在web.config中,配置网站信息,管理员信息,和用户信息(当然这个配置有点不切实际了,这里只是为了演示),所以,我希望按下面的格式做配. 阅读全文

posted @ 2013-08-27 11:26 freeliver54 阅读(286) 评论(1) 推荐(0)

[转].net自定义configSections的5个示例

摘要: 本文转自:http://www.yongfa365.com/item/configuration-configSections-SingleTagSectionHandler-DictionarySectionHandler-NameValueSectionHandler.html view plaincopy to clipboardprint?using System;using Syste... 阅读全文

posted @ 2013-08-27 10:00 freeliver54 阅读(363) 评论(0) 推荐(0)

[转]Microsoft Solutions Framework (MSF) Overview

摘要: 本文转自:http://msdn.microsoft.com/zh-CN/library/jj161047(v=vs.120).aspx[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]The Microsoft Solutions Framework (MSF) is an adaptable approach for successfully delivering technology 阅读全文

posted @ 2013-08-27 08:52 freeliver54 阅读(451) 评论(0) 推荐(0)

[转]How to convert IP address to country name

摘要: 本文转自:http://www.codeproject.com/Articles/28363/How-to-convert-IP-address-to-country-nameDownload source code - 1.11 MBHow to retrieve a visitor's IP addressEvery visitor to your site or web application has an IP address. It is quite handy to be able to get that address. It can be used for securi 阅读全文

posted @ 2013-08-27 08:48 freeliver54 阅读(1056) 评论(0) 推荐(0)

导航