<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>旁观者 - 郑昀 - C#</title><link>http://blog.csdn.net/zhengyun_ustc/category/30536.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 21 Apr 2008 11:53:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>郑昀</dc:creator><title>[AsyncHandle]什么引发了ObjectDisposedException？</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2006/09/19/1246115.aspx</link><pubDate>Tue, 19 Sep 2006 15:19:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2006/09/19/1246115.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/1246115.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2006/09/19/1246115.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/1246115.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1246115</trackback:ping><description>继续阅读之前，我们假设您熟悉以下知识：
1.         用IDisposable接口释放dotNET资源
如果不熟悉这些知识点，可以看本文最后资源列表中的文章。
本文讨论了出现不可捕获的ObjectDisposedException异常崩溃，寻找可能的原因，并试图解决。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/1246115.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[SQLXML]FOR XML语法导出XML的易错之处</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/29/851182.aspx</link><pubDate>Thu, 29 Jun 2006 15:28:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/29/851182.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/851182.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/29/851182.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/851182.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=851182</trackback:ping><description>继续阅读之前，我们假设您熟悉以下知识：
  MS SQL Server 2000
  Sp_makewebtask
  FOR XML 子句

如果不熟悉这些知识点，可以看下面两小节[准备工作一：FOR XML]和[准备工作二：sp_makewebtask]；否则可以直接跳过。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/851182.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>跨域或者Internet访问Remoting[Remoting FAQ]</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/09/784086.aspx</link><pubDate>Fri, 09 Jun 2006 19:25:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/09/784086.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/784086.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2006/06/09/784086.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/784086.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=784086</trackback:ping><description>虽然说，Remoting一般都在同一个域内调用，但有时候，也需要跨域访问，甚至于跨Internet访问。毕竟，让第三方远程测试下Remoting方法，不能要求人家加入你的域。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/784086.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[EntLibFAQ]“不允许所请求的注册表访问权”的解释[0508Update]</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2006/05/03/706243.aspx</link><pubDate>Wed, 03 May 2006 01:23:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2006/05/03/706243.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/706243.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2006/05/03/706243.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/706243.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=706243</trackback:ping><description>首先，这种情况发生在第一次使用Microsoft Enterprise Library June 2005的库(不限定是哪一个库，可以是Caching，或者Security)时，并且你的应用是Web应用：
在Windows2000上，你也许会看到错误“拒绝对注册表项的访问”；
在Windows2003上，你将看到“System.Security.SecurityException: 不允许所请求的注册表访问权。”

此种情形，蝈蝈俊在他的《使用企业库在某些站点会报试图执行安全策略不允许的操作异常的解决方法。》中已经谈及了。我下面将试图详细说明原因。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/706243.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Remoting FAQ]传递Remoting参数时遇到的两种常见错误</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2006/04/25/676972.aspx</link><pubDate>Tue, 25 Apr 2006 16:11:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2006/04/25/676972.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/676972.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2006/04/25/676972.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/676972.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=676972</trackback:ping><description>1：class is not marked as serializable；
2:Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/676972.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[SMS&amp;WAP]实例讲解制作OTA短信来自动配置手机WAP书签[附源码] </title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx</link><pubDate>Mon, 05 Sep 2005 16:21:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/471765.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/471765.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=471765</trackback:ping><description>OTA，即Over The Air，国内翻译为空中下载。
OTA标准由爱立信和诺基亚共同制订。OTA涵盖了许多范围，比如Kjava中的应用程序下载也是通过OTA。我们这篇文章主要讲的是，通过短信方式空中下载配置信息，参考的文档是OTA_settings_general_7_0.pdf。
规范中定义了三种Setting：
	浏览器设置
	浏览器的书签设置
	SyncML设置
也就是说，你通过发送短信可以帮助用户手机配置这三种设置。

原则上，你只要看了OTA_settings_general_7_0.pdf，并参照OTA_service_settings_example_v11.pdf，就可以轻松地制作出符合规范的OTA短信。
但是，本文档的目的就是让你简单粗暴地直奔主题，看完这篇文档后，就了解了OTA短信的概念，通过以下代码：
OTAMessage
OTAMessage message = new OTAMessage();
txtOTAResult.Text = message.GetSMSBytes(txtBookmarkName.Text, txtB&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/471765.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[C#]利用VSTO操作Office文档而无需安装Office</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/01/469522.aspx</link><pubDate>Thu, 01 Sep 2005 14:38:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/01/469522.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/469522.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/01/469522.aspx#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/469522.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=469522</trackback:ping><description>VSTO，就是Visual Studio Tools for the Microsoft Office System。 
不用安装Office即可使用。 
本文章演示了： 
1.2. Word.ApplicationClass打开文档 
1.3. Word.Range选定文档范围 
1.4. 销毁一切 
三个内容，来说明如何通过VSTO操作Office文档。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/469522.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap] 制作自定义WmlListAdapter来实现Mobile.List控件的各种效果</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx</link><pubDate>Sat, 20 Aug 2005 03:10:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/459385.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/459385.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=459385</trackback:ping><description>自定义的mobile.List的横排效果 
现有的mobile.List输出效果，每一个Item之间一定会换行，如果你看了WmlListAdapter的源代码就知道了，这是因为他们在输出每一个Item渲染时调用了RenderLink(writer, item.Value, null, false, false, item.Text, true);，最后一个参数就是是否在本Item渲染后输出换行标记。 
我们可以改变这种渲染方式，从而让mobile.List变成横排效果。 
自定义的mobile.List的图片效果 
现有的mobile.List输出效果，每一个Item前后无法插入一张image。 
我们可以改变这种渲染方式，从而让mobile.List变成可以自定义每一行的插入图片效果。 

下面，我们来介绍一下步骤：&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/459385.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[EntLib]UAB(Updater Application Block)下载 </title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/09/449059.aspx</link><pubDate>Tue, 09 Aug 2005 14:57:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/09/449059.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/449059.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/09/449059.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/449059.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=449059</trackback:ping><description>UAB(Updater Application Block)，你可以用它来从中心服务器上检测更新、下载并实施任何客户端应用更新的工具组件。

你可以保持你的智能客户端无需人为干预地与时俱进。

你还可以扩展UAB来下载文件。
&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/449059.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[C#]log4net写SQLServer数据库日志的配置方法</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/19/429290.aspx</link><pubDate>Tue, 19 Jul 2005 18:46:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/19/429290.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/429290.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/19/429290.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/429290.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=429290</trackback:ping><description>这部分是参考了cgq214 的Blog讲到的写法，同时根据实际效果作了点修正.&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/429290.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[EnterpriseLibrary]为什么拒绝ASPNET对性能数据进行访问</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/27/404286.aspx</link><pubDate>Mon, 27 Jun 2005 13:07:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/27/404286.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/404286.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/27/404286.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/404286.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=404286</trackback:ping><description>Windows 2000限制了只有Administrators组才可以访问WMI数据。而Microsoft Enterprise Library需要访问WMI记录的性能数据. 
如果是一个未授权的账号，比如ASPNET要访问WMI数据，就会得到这样的错误：“从 C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_wp.exe 对性能数据进行访问”。 

解决方法 
我们可以授权ASPNET账号以访问WMI API的权限，通过如下步骤：&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/404286.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[C#]服务为何会依赖于WMI Performance Adapter服务</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/13/393470.aspx</link><pubDate>Mon, 13 Jun 2005 13:58:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/13/393470.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/393470.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/13/393470.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/393470.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=393470</trackback:ping><description>现象
我们的C#编写的Windows Service“CommandListener”在Windows 2000上运行正常，但是在Windows 2003上却总是依赖于“WMI Performance Adapter”服务的启动。
而“WMI Performance Adapter”服务一般是手动启动的，这样就导致服务器重启之后，“CommandListener”服务没有能够自动启动。
但是却找不到是哪一个部分依赖于这个“WMI Performance Adapter”。
 
经过逐个排查，确定是添加了对“Microsoft Enterprise Library”的“Microsoft.Practices.EnterpriseLibrary.Caching.dll”的使用导致的。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/393470.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[WSE]Web Service与Windows Service通过WSE2.0建立订阅/发布关系[更新版本]</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx</link><pubDate>Wed, 01 Jun 2005 15:09:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/385741.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/385741.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=385741</trackback:ping><description>目的：

我们建立这种交互关系的目的是，在Web Service和Windows Service(或者其他Windows应用)之间建立起一种稳固的可扩展的不受地域限制的交互关系。
&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/385741.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Remoting]当client不复存在而RemoteObject并不知道时的处理办法</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376589.aspx</link><pubDate>Thu, 19 May 2005 22:34:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376589.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/376589.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376589.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/376589.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=376589</trackback:ping><description>“singleton服务中客户端意外退出或网络故障时，服务器端如何知道，并作相应的业务层处理”。
背后的故事：
对于这个问题，http://www.dotnetjunkies.com/Tutorial/BFB598D4-0CC8-4392-893D-30252E2B3283.dcik有一个描述&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/376589.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Remoting]dotNet Framework升级后Remoting信道使用的安全问题</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376583.aspx</link><pubDate>Thu, 19 May 2005 22:30:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376583.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/376583.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/05/19/376583.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/376583.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=376583</trackback:ping><description>.NET Framework升级之后，Remoting中的事件就需要对信道进行特别的设置，要自己创建BinaryServerFormatterSinkProvider类的实例，并且将其TypeFilterLevel设为TypeFilterLevel.Full，这是.NET 1.1中增强了安全设置后必须要做的事情。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/376583.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>