2011年5月9日

WCF RESTful 4.0 Service级别的异常处理(WCF RESTful 4.0 Service level Exception Handling)

摘要: 众所周知, WCF RESTful 4.0目前没有全局的异常处理方法. 也就是说, 你不能捕获所有的异常. 在ASP.NET里, 你可以在Global.asax.cs的Application_Error事件中捕获并处理所有之前没有被捕获的异常: http://stackoverflow.com/questions/747011/how-do-i-create-a-global-exception-handler-for-a-wcf-services 1: public class Global : HttpApplication 2: { 3: protected void Applicati 阅读全文

posted @ 2011-05-09 18:08 BFL 阅读(1052) 评论(1) 推荐(1)

2011年4月26日

Let 32 bit of .NET 4.0 Web Application run on 64 bit IIS 6.0(Win2003 x64)

摘要: I assume that you have installed both .Net Framework 2.0 and 4.0, and IIS 6.0 is running under 64 bit mode. Recently, I have to deploy a 32 bit .NET web application onto IIS 6.0 which is running under... 阅读全文

posted @ 2011-04-26 18:52 BFL 阅读(480) 评论(0) 推荐(0)

2006年7月13日

Forward:使用.NET 2.0读写App.config

摘要: Source URL: Read/ Write App.Config File with .NET 2.0If you cannot open this page , I'd already made an image of the page for you: Click here to download the image of the page. 阅读全文

posted @ 2006-07-13 09:13 BFL 阅读(123) 评论(0) 推荐(0)

2006年7月11日

在代码中调整Web.config设置

摘要: Pierre @ 2006-07-11--------------------------------------------------------------------------------------------本文演示了如何读写标准XML文档(Web.config)。关于Web.config的详细介绍请参阅:http://blog.csdn.net/lg_lin/archive/200... 阅读全文

posted @ 2006-07-11 19:30 BFL 阅读(155) 评论(0) 推荐(0)

在代码中调整Web.config设置

摘要: Pierre @ 2006-07-11--------------------------------------------------------------------------------------------本文演示了如何读写标准XML文档(Web.config)。关于Web.config的详细介绍请参阅:http://blog.csdn.net/lg_lin/archive/200... 阅读全文

posted @ 2006-07-11 19:30 BFL 阅读(211) 评论(0) 推荐(0)

在代码中调整Web.config设置

摘要: Pierre @ 2006-07-11--------------------------------------------------------------------------------------------本文演示了如何读写标准XML文档(Web.config)。关于Web.config的详细介绍请参阅:http://blog.csdn.net/lg_lin/archive/200... 阅读全文

posted @ 2006-07-11 19:30 BFL 阅读(204) 评论(0) 推荐(0)

2006年5月9日

简单的加密与解密示例

摘要: Pierre @ 2006-05-09-----------------------------------------------------------------------------对于只有简单加密与解密需要人来说,每次都查找相关技术资料未免麻烦,这里提供一个类,供参考。-----------------------------------------------------------... 阅读全文

posted @ 2006-05-09 05:56 BFL 阅读(147) 评论(0) 推荐(0)

简单的加密与解密示例

摘要: Pierre @ 2006-05-09-----------------------------------------------------------------------------对于只有简单加密与解密需要人来说,每次都查找相关技术资料未免麻烦,这里提供一个类,供参考。-----------------------------------------------------------... 阅读全文

posted @ 2006-05-09 05:56 BFL 阅读(160) 评论(0) 推荐(0)

简单的加密与解密示例

摘要: Pierre @ 2006-05-09-----------------------------------------------------------------------------对于只有简单加密与解密需要人来说,每次都查找相关技术资料未免麻烦,这里提供一个类,供参考。-----------------------------------------------------------... 阅读全文

posted @ 2006-05-09 05:56 BFL 阅读(247) 评论(0) 推荐(0)

2006年5月6日

DA From Proc

摘要: 1Dim conn As New Data.SqlClient.SqlConnection(ConnectionStr) 2 objCommand.CommandText = "Pr_Person_Get_BySearch" 3 objCommand.CommandType = CommandType.StoredProcedure 4 objComma... 阅读全文

posted @ 2006-05-06 19:55 BFL 阅读(106) 评论(0) 推荐(0)

导航