<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[gxmark的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/gxmark</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; gxmark]]></copyright><item><title><![CDATA[使用commons.logging结合log4j显示调试和日志信息]]></title><link>https://blog.csdn.net/gxmark/article/details/7342848</link><guid>https://blog.csdn.net/gxmark/article/details/7342848</guid><author>gxmark</author><pubDate>Sun, 11 Mar 2012 21:19:14 +0800</pubDate><description><![CDATA[请在我上一篇博客“使用commons.logging中的simplelog显示调试和日志信息”建立的工程的基础上再行操作。
1、到http://archive.apache.org/dist/logging/log4j，下载相应版本的log4j，我这里选择的是1.2.9版本（下载logging-log4j-1.2.9.zip，解压之后在其中的dist/lib下找到log4j-1.2.9.jar）]]></description><category></category></item><item><title><![CDATA[使用commons.logging中的SimpleLog显示调试和日志信息]]></title><link>https://blog.csdn.net/gxmark/article/details/7338253</link><guid>https://blog.csdn.net/gxmark/article/details/7338253</guid><author>gxmark</author><pubDate>Fri, 09 Mar 2012 23:36:57 +0800</pubDate><description><![CDATA[1、下载commons-logging-1.1.1-bin.zip文件，解压之后找到文件：commons-logging-1.1.1.jar
2、在Eclipse中建立一个Web工程，并配置能在Tomcat 5下运行
3、把第1步中的commons-logging-1.1.1.jar文件拷贝到Web工程的WEB-INF/lib文件夹下
4、在src文件夹建立commons-logging配置]]></description><category></category></item><item><title><![CDATA[通过代码学习C#&.NET——委托使用（正则表达式替换）]]></title><link>https://blog.csdn.net/gxmark/article/details/6897532</link><guid>https://blog.csdn.net/gxmark/article/details/6897532</guid><author>gxmark</author><pubDate>Sun, 23 Oct 2011 01:14:20 +0800</pubDate><description><![CDATA[代码编写及运行环境Visual Studio 2010 .NET v4.0.30319
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace DelegateUseInR]]></description><category></category></item><item><title><![CDATA[通过代码学习C#&.NET——委托使用（通用类设计）]]></title><link>https://blog.csdn.net/gxmark/article/details/6877776</link><guid>https://blog.csdn.net/gxmark/article/details/6877776</guid><author>gxmark</author><pubDate>Sun, 16 Oct 2011 14:18:33 +0800</pubDate><description><![CDATA[代码编写及运行环境Visual Studio 2010 .NET v4.0.30319
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespac]]></description><category></category></item><item><title><![CDATA[通过代码学习C#&.NET——委托使用（事件、定时处理）]]></title><link>https://blog.csdn.net/gxmark/article/details/6875661</link><guid>https://blog.csdn.net/gxmark/article/details/6875661</guid><author>gxmark</author><pubDate>Sat, 15 Oct 2011 12:04:18 +0800</pubDate><description><![CDATA[代码编写及运行环境Visual Studio 2010 .NET v4.0.30319
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using]]></description><category></category></item><item><title><![CDATA[通过代码学习C#&.NET——委托使用（线程、任务）]]></title><link>https://blog.csdn.net/gxmark/article/details/6874471</link><guid>https://blog.csdn.net/gxmark/article/details/6874471</guid><author>gxmark</author><pubDate>Fri, 14 Oct 2011 19:38:56 +0800</pubDate><description><![CDATA[代码运行环境Visual Studio 2010 .NET v4.0.30319
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System]]></description><category></category></item><item><title><![CDATA[通过代码学习C#&.NET——委托基础]]></title><link>https://blog.csdn.net/gxmark/article/details/6864936</link><guid>https://blog.csdn.net/gxmark/article/details/6864936</guid><author>gxmark</author><pubDate>Wed, 12 Oct 2011 08:17:53 +0800</pubDate><description><![CDATA[代码环境Visual Studio 2010 .NET v4.0.30319
代码：
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys]]></description><category></category></item><item><title><![CDATA[在对等网络中模拟WCF单工消息交换模式]]></title><link>https://blog.csdn.net/gxmark/article/details/6838428</link><guid>https://blog.csdn.net/gxmark/article/details/6838428</guid><author>gxmark</author><pubDate>Fri, 30 Sep 2011 21:46:58 +0800</pubDate><description><![CDATA[在WCF中有三种消息交换模式（Message Exchange Pattern，MEP），包括单向通信模式、双工通信模式、请求-响应通信模式，其通过5种不同的信道来实现，其中不是每一种绑定都能支持这些信道，具体可以通过程序进行检测，可参考之前的检测结果。从其中可以看出对于单向通信]]></description><category></category></item><item><title><![CDATA[Web应用程序和Web网站中WCF中的区别]]></title><link>https://blog.csdn.net/gxmark/article/details/6808822</link><guid>https://blog.csdn.net/gxmark/article/details/6808822</guid><author>gxmark</author><pubDate>Sat, 24 Sep 2011 01:34:19 +0800</pubDate><description><![CDATA[最近在通过Web网站管理的方式来修改通过Web应用程序生成的网站的源文件，但是修改之后通过浏览器浏览之后发现根本没有什么变化。最后考虑了一下应该是两者建立的WCF存在不同。 
     1、 Web应用程序中的WCF的源代码会静态编译为DLL文件放在bin目录下，而Web网站W]]></description><category></category></item><item><title><![CDATA[了解WCF定制的绑定类型（2）_绑定元素]]></title><link>https://blog.csdn.net/gxmark/article/details/6791283</link><guid>https://blog.csdn.net/gxmark/article/details/6791283</guid><author>gxmark</author><pubDate>Mon, 19 Sep 2011 20:33:19 +0800</pubDate><description><![CDATA[WCF中绑定是由不同的绑定元素有序组成，其中有负责传输的元素（继承自TransportBindingElement并以TransportBindingElement结尾），有负责消息编码的元素（继成自MessageEncodingBindingElement并以其结尾），有负责安]]></description><category></category></item><item><title><![CDATA[了解WCF定制的绑定类型（1）_信道范型支持]]></title><link>https://blog.csdn.net/gxmark/article/details/6787309</link><guid>https://blog.csdn.net/gxmark/article/details/6787309</guid><author>gxmark</author><pubDate>Sun, 18 Sep 2011 15:54:36 +0800</pubDate><description><![CDATA[WCF中信道中支持多种类型的信道范型，其中包括单向通信模式（IInputChannel、IOutputChannel）、双工通信模式（IDuplexChannel）和请求响应通信模式（IReplyChannel、IRequestChannel），各个通信模式还有相应的会话支持版本]]></description><category></category></item><item><title><![CDATA[获取WCF所支持的绑定类型]]></title><link>https://blog.csdn.net/gxmark/article/details/6787204</link><guid>https://blog.csdn.net/gxmark/article/details/6787204</guid><author>gxmark</author><pubDate>Sun, 18 Sep 2011 15:04:13 +0800</pubDate><description><![CDATA[WCF中定义了很多的绑定类型，其中都定义在System.ServiceModel库文件的System.ServiceModel名字空间下，并且都以Binding结束。根据这些特点可以通过反射获取所有的绑定类型。具体实现代码如下（通过windows控制台程序实现）：
using]]></description><category></category></item><item><title><![CDATA[c#单例模式代码]]></title><link>https://blog.csdn.net/gxmark/article/details/6514075</link><guid>https://blog.csdn.net/gxmark/article/details/6514075</guid><author>gxmark</author><pubDate>Tue, 07 Dec 2010 12:14:00 +0800</pubDate><description><![CDATA[    学习过的东西经常忘记，最好能自己在事后回顾一下，并写出具体的实现代码，这样才能加深记忆。   最近学习过单例模式，包括惰性加载方式、非惰性加载方式以及泛型方式实现。下面回顾一下代码。1、非惰性加载、非泛型方式Code:    ///       /// 单例模式的非惰性、非泛型实现方式      ///       public class Si]]></description><category></category></item><item><title><![CDATA[c#静态构造函数]]></title><link>https://blog.csdn.net/gxmark/article/details/6513752</link><guid>https://blog.csdn.net/gxmark/article/details/6513752</guid><author>gxmark</author><pubDate>Sat, 04 Dec 2010 04:02:00 +0800</pubDate><description><![CDATA[  c#静态构造函数，又称类构造函数。它是属于类的，不属于任何一个类的实例。它具有以下特点：1、以static定义的，无访问修饰符，无返回类型，无参数的构造函数，如： Code:    class test               {                   ///                    /// 静态构造函数/类构造函数   ]]></description><category></category></item><item><title><![CDATA[静态类]]></title><link>https://blog.csdn.net/gxmark/article/details/6513132</link><guid>https://blog.csdn.net/gxmark/article/details/6513132</guid><author>gxmark</author><pubDate>Mon, 29 Nov 2010 15:20:00 +0800</pubDate><description><![CDATA[   C#中提供了一些纯静态的类，比如说System.Math、System.Console，这种类一般提供的是不会发生变化的数据和行为，他们不会依赖于任何的对象，全表现为静态成员。这些数据和行为，可以直接通过“类名.数据”或是“类名.行为”进行调用，不需要实例化（静态类也不允许实例化）。   静态类声明为static，只能包含静态成员，不能通过new进行实例化，是密封的不能被继承，不能包含实]]></description><category></category></item><item><title><![CDATA[.NET中Web Services可使用的传输协议设置]]></title><link>https://blog.csdn.net/gxmark/article/details/6512825</link><guid>https://blog.csdn.net/gxmark/article/details/6512825</guid><author>gxmark</author><pubDate>Sat, 27 Nov 2010 00:56:00 +0800</pubDate><description><![CDATA[  通常来说Web Services可以通过多种方式调用，可以是SOAP over HTTP、HTTP GET或HTTP POST。在.NET如果对中下的 进行任何配置，则默认可以采用SOAP over HTTP调用服务，同时只允许本地（本机）采用HTTP POST方式调用而不允许远程HTTP POST调用，同时也提供远程访问Web Services的说明页面。其效果和下面显式设置参数是一样的：]]></description><category></category></item><item><title><![CDATA[wcf获取大数据时用linq分页]]></title><link>https://blog.csdn.net/gxmark/article/details/6512443</link><guid>https://blog.csdn.net/gxmark/article/details/6512443</guid><author>gxmark</author><pubDate>Tue, 23 Nov 2010 20:02:00 +0800</pubDate><description><![CDATA[     今天想通过wcf获取一个6万多条数据的一个表，本想一次就获取所有数据， 但是运行之后提示错误"The underlying connection was closed: The connection was closed unexpectedly"，经过多方查找也没有找到原因，最后感觉应该数据量太大的原因导致的，所以改成一次获取100条记录，然后进行处理，测试之后好用。    但是接]]></description><category></category></item><item><title><![CDATA[确保调用对象的Dispose()方法的两种方式]]></title><link>https://blog.csdn.net/gxmark/article/details/4601961</link><guid>https://blog.csdn.net/gxmark/article/details/4601961</guid><author>gxmark</author><pubDate>Sun, 27 Sep 2009 19:03:00 +0800</pubDate><description><![CDATA[在代码执行结束之前释放资源是很重要的，一般的资源对象都有Dispose()方法（有些对象是Close()方法）来完成释放资源的功能，C#中有两种方式能确保此方式能正确的调用，一种是通过try…finally…实现，一种是通过using实现。下面通过SqlConnection conn对象来说明。1、通过try…finally…代码块实现 //定义对象SqlConnection conn]]></description><category></category></item><item><title><![CDATA[(div+css)上下固定中间自适应高度网页布局的实现（FF,IE) ]]></title><link>https://blog.csdn.net/gxmark/article/details/2956716</link><guid>https://blog.csdn.net/gxmark/article/details/2956716</guid><author>gxmark</author><pubDate>Sat, 20 Sep 2008 23:24:00 +0800</pubDate><description><![CDATA[html xmlns="http://www.w3.org/1999/xhtml">head>meta http-equiv="Content-Type" content="text/html; charset=utf-8" />title>上下固定中间自适应高度布局title>style type="text/css">    html    {     ]]></description><category></category></item><item><title><![CDATA[(div+css)上面固定下面自适应页面布局的实现（FF,IE)]]></title><link>https://blog.csdn.net/gxmark/article/details/2956666</link><guid>https://blog.csdn.net/gxmark/article/details/2956666</guid><author>gxmark</author><pubDate>Sat, 20 Sep 2008 22:56:00 +0800</pubDate><description><![CDATA[html xmlns="http://www.w3.org/1999/xhtml">head>meta http-equiv="Content-Type" content="text/html; charset=utf-8" />title>上面固定下面自适应title>style type="text/css">    html    {         ]]></description><category></category></item></channel></rss>