<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>雾松萌石 &#187; C#</title>
	<atom:link href="http://mmlst.com/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://mmlst.com</link>
	<description>分享知识</description>
	<lastBuildDate>Fri, 07 Aug 2009 01:14:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Microsoft .NET Security Warning</title>
		<link>http://mmlst.com/2009/05/21/microsoft-net-security-warning/</link>
		<comments>http://mmlst.com/2009/05/21/microsoft-net-security-warning/#comments</comments>
		<pubDate>Thu, 21 May 2009 06:43:52 +0000</pubDate>
		<dc:creator>mmlst</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://mmlst.com/?p=128</guid>
		<description><![CDATA[用C#.NET创建的程序，放在局域网上在另外一台电脑上打开，会出现一个提示：


GOOGLE了一下，发现这是因为在本地电脑和局域网电脑上运行程序的安全许可不同而造成的。
这里有一篇2003年的文章详细介绍了MyComupter zone和LocalIntranet zone的不同，也列出了解决的三种办法。其中第三种修改policy来完全的信任LocalIntranet zone是不被推荐的，因为是一个非常大的安全漏洞。
上面的三种办法我都没有试，因为看到这个人的另外一个2008年的文章介绍了最新的解决办法，就是安装.NET Framework 3.5 SP1在客户端，起到Full trust LocalIntranet zone的作用，在客户端运行局域网上的软件就会没有任何问题。乍看起来是跟上面说的第三种一样，但其实是不一样的。3.5SP1会起到“沙盒”的作用，这样就能有效杜绝所引发的安全漏洞。
只是3.5SP1够大的。。231MB。。
  
]]></description>
		<wfw:commentRss>http://mmlst.com/2009/05/21/microsoft-net-security-warning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ContextSwitchDeadlock was detected</title>
		<link>http://mmlst.com/2009/05/07/contextswitchdeadlock-was-detected/</link>
		<comments>http://mmlst.com/2009/05/07/contextswitchdeadlock-was-detected/#comments</comments>
		<pubDate>Thu, 07 May 2009 03:54:27 +0000</pubDate>
		<dc:creator>mmlst</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://mmlst.com/?p=122</guid>
		<description><![CDATA[在运行C#程序的时候得到如下错误信息：
The CLR has been unable to transition from COM context 0&#215;197060 to COM context 0&#215;196ef0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may [...]]]></description>
		<wfw:commentRss>http://mmlst.com/2009/05/07/contextswitchdeadlock-was-detected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<html>
<head>
<title></title>
<meta name="verify-v1" content="g9TyLKV+Qw/waEbbIIFWqxWkvuCs7piVz1GOM0RuSuM=" />
</head>
<body>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5977749-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>