﻿<feed xml:lang="zh-cn" xmlns="http://www.w3.org/2005/Atom"><title type="text">Leven's Blog</title><id>urn:uuid:d508fd38-a5e0-4433-82fb-0bed73df3214</id><rights type="text">Copyright 2008-2010 © &lt;a href="http://leven.com.cn" target="_blank" title="Leven Studio"&gt;Leven Studio&lt;/a&gt;
&lt;script type="text/javascript" src="http://js.tongji.linezing.com/788903/tongji.js"&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a href="http://www.linezing.com"&gt;&lt;img src="http://img.tongji.linezing.com/788903/tongji.php"/&gt;&lt;/a&gt;&lt;/noscript&gt;</rights><updated>0001-01-01T00:00:00Z</updated><category term="作品发布" label="作品发布" scheme="原创作品" /><category term=".Net开发" label=".Net开发" scheme=".Net开发" /><category term="C/C++开发" label="C/C++开发" scheme="C/C++开发" /><category term="Linux开发" label="Linux开发" scheme="Linux开发专区" /><category term="PHP/Python" label="PHP/Python" scheme="PHP/Python" /><category term="界面风格" label="界面风格" scheme="界面风格" /><category term="个人札记" label="个人札记" scheme="个人札记信息" /><author><name>Leven</name><uri>http://leven.com.cn/</uri><email>levennet@163.com</email></author><link rel="alternate" href="http://leven.com.cn/" /><description type="text">五运之政 犹权衡也 高者抑之 下者举之 化者应之 变者复之</description><logo>http://leven.com.cnimages/logo.jpg</logo><entry xml:base="http://leven.com.cn/blog/view/91"><id>91</id><title type="text">LevenBlog2.0.10发布[20091202更新]</title><published>2009-12-01T03:11:32.5527946Z</published><updated>2010-03-05T14:40:43.609375Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/91</uri><email>leven</email></author><category term="作品发布" /><link rel="alternate" href="http://leven.com.cn/blog/view/91" /><link href="http://leven.com.cn/blog/view/91" /><content type="text">&lt;p&gt;
	本次更新主要是增加了安装界面,通过安装界面,可以使系统更加易于使用,同时,系统对几个关键缓存再次进行了优化,压力测试表面性能有了不小的提升.由于没有大的功能变更,本次系统升级只需覆盖文件即可,同时,从本版开始,系统将同时发布32位和64位的sqlite版本,用户可以根据自己的需求更好的进行选择,64位的系统将无需使用IIS的32位兼容模式运行.&lt;/p&gt;
</content></entry><entry xml:base="http://leven.com.cn/blog/view/50"><id>50</id><title type="text">LevenBlog应用站点列表,期待您的加入[Update20091018]</title><published>2008-10-13T11:30:10.015625Z</published><updated>2009-11-19T08:26:08.953125Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/50</uri><email>leven</email></author><category term="个人札记" /><link rel="alternate" href="http://leven.com.cn/blog/view/50" /><link href="http://leven.com.cn/blog/view/50" /><content type="text">&lt;p&gt;目前已知使用LevenBlog程序的站点,期待您的加入...&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/98"><id>98</id><title type="text">管理linux服务器的一些tips</title><published>2010-02-25T00:41:12.606743Z</published><updated>2010-02-25T00:41:12.606741Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/98</uri><email>leven</email></author><category term="Linux开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/98" /><link href="http://leven.com.cn/blog/view/98" /><content type="text">&lt;p&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; 前几天将本站&lt;a href="javascript:void(0)/*313*/"&gt;迁往了linux服务器&lt;/a&gt;上,测试的情况看来,除了由于线路原因刷新速度略显慢之外倒没有其他可挑剔的地方.在管理linux服务器的时候个人整理了一些tips.&lt;/p&gt;
</content></entry><entry xml:base="http://leven.com.cn/blog/view/97"><id>97</id><title type="text">本站迁往linux平台进行测试</title><published>2010-02-08T00:57:08.8232519Z</published><updated>2010-02-08T01:56:32.704794Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/97</uri><email>leven</email></author><category term="个人札记" /><link rel="alternate" href="http://leven.com.cn/blog/view/97" /><link href="http://leven.com.cn/blog/view/97" /><content type="text">&lt;p&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; 前一阵子研究了在mono环境下部署levenblog的可能性,经过这段时间的个人测试和改进,本站正式迁往linux平台进行实际测试.&lt;/p&gt;
</content></entry><entry xml:base="http://leven.com.cn/blog/view/96"><id>96</id><title type="text">以levenblog为例,尝试在linux+mono平台上部署asp.net mvc程序</title><published>2010-01-13T15:48:23.28125Z</published><updated>2010-01-13T15:58:29.59375Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/96</uri><email>leven</email></author><category term="作品发布" /><link rel="alternate" href="http://leven.com.cn/blog/view/96" /><link href="http://leven.com.cn/blog/view/96" /><content type="text">&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 一直以来都十分关注&lt;a target="_blank" href="http://www.mono-project.com"&gt;mono&lt;/a&gt;的发展,在不久之前,mono正式发布了2.6.1版本,该版本已经是一个比较完善的版本了,不仅完整支持了.net2.0的全部内容,以及大部分.net3.5甚至还支持了.net4.0的内容(可选),在mono官方已经包含了asp.net mvc1.0版本,因此,部署levenblog到mono的条件完全成熟,不过由于linux和windows的差异,因此,也并不是所有程序都可以直接部署的,本次将完整记录levenblog部署到mono2.6.1的过程.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/95"><id>95</id><title type="text">新年第一天</title><published>2010-01-01T10:16:47.0896485Z</published><updated>2010-01-01T10:16:47.0896485Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/95</uri><email>leven</email></author><category term="个人札记" /><link rel="alternate" href="http://leven.com.cn/blog/view/95" /><link href="http://leven.com.cn/blog/view/95" /><content type="text">&lt;p&gt;在2009到2010的交汇处,小小的发表一些感想...&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/94"><id>94</id><title type="text">轻量级AOP框架-移植python的装饰器(Decorator)到C#(编码篇) </title><published>2009-12-28T11:24:09.717875Z</published><updated>2009-12-28T11:25:08.9835Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/94</uri><email>leven</email></author><category term=".Net开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/94" /><link href="http://leven.com.cn/blog/view/94" /><content type="text">&lt;p&gt;在《轻量级AOP框架-移植python的装饰器(Decorator)到C#(思考篇)》中，文章分析了Python中Decorator的原理以及C#移植的可行性，在本篇中，文章将继续探讨如何将这个想法实实在在的表现出来，因此本篇的目标是：一个初级但是可用的Decorator实现。 如果您对本文的基本思路存在疑惑，请先阅读思考篇。&amp;nbsp;&amp;nbsp;&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/93"><id>93</id><title type="text">轻量级AOP框架-移植python的装饰器(Decorator)到C#(思考篇) </title><published>2009-12-28T11:11:16.624125Z</published><updated>2009-12-28T11:11:16.624125Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/93</uri><email>leven</email></author><category term=".Net开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/93" /><link href="http://leven.com.cn/blog/view/93" /><content type="text">&lt;p&gt;今天我们展示的是Python中一个很有用特性：&amp;ldquo;Decorator&amp;rdquo;，中文可以译作&amp;ldquo;装饰器&amp;rdquo;，它是一个对函数的封装，它可以让你不改变函数本身的情况下对函数的执行进行干预，比如在执行前进行权限认证，日志记录，甚至修改传入参数，或者在执行后对返回结果进行预处理，甚至可以截断函数的执行等等,没错，本质上来说，它就是我们常说的面向方面编程（Aspect-Oriented Programming），简称AOP，本文将尝试将这一特性移植到c#平台.&amp;nbsp;&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/92"><id>92</id><title type="text">探究.net对象的创建,质疑《再谈Activator.CreateInstance(Type type)方法创建对象和Expression Tree创建对象性能的比较》 </title><published>2009-12-08T04:52:28.1301753Z</published><updated>2009-12-08T04:52:28.1301753Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/92</uri><email>leven</email></author><category term=".Net开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/92" /><link href="http://leven.com.cn/blog/view/92" /><content type="text">&lt;p&gt;今日, Will Meng发布了一篇名为《再谈Activator.CreateInstance(Type type)方法创建对象和Expression Tree创建对象性能的比较》的博文,文中通过一系列的对比测试,得到了一个结论:&amp;rdquo; 结果方法Activator.CreateInstance()比表达式树要快了。&amp;rdquo;,但是在我个人的使用中,感觉并非如此,因此特别进行了测试.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/90"><id>90</id><title type="text">LevenBlog官方博客开放注册</title><published>2009-11-27T04:54:27.0599796Z</published><updated>2009-11-27T04:56:02.407433Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/90</uri><email>leven</email></author><category term="个人札记" /><link rel="alternate" href="http://leven.com.cn/blog/view/90" /><link href="http://leven.com.cn/blog/view/90" /><content type="text">&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 为了更好的和levenblog用户进行沟通,本站新开放了用户注册功能.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; levenblog程序不断的改进,用户也越来越多,大家也提出了很多在安装和使用中也经常遇到一些问题和困难,或者对本程序有一些很好的意见和建议,由于个人的一些原因,有的时候问题没能得到及时的响应,同时,响应之后也无法通知到提问方.因此,本站特别开放了新用户注册功能.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/89"><id>89</id><title type="text">LevenBlog2.0.9成功运行在WinServer2008 R2 X64上</title><published>2009-11-23T11:56:32.4577268Z</published><updated>2009-11-23T12:32:15.7513162Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/89</uri><email>leven</email></author><category term=".Net开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/89" /><link href="http://leven.com.cn/blog/view/89" /><content type="text">&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 前几天maple提出目前的&lt;a target="_blank" href="http://leven.com.cn/blog/view/83#commcontent_353"&gt;levenblog无法运行在x64的系统上&lt;/a&gt;,由于当时自己没有64位的系统,因此也没有办法测试,后来朋友风信子装了64位的操作系统,因此特别帮忙给我编译了一个64bit的sqlite3.dll,然而当时时间和条件有限,也没有对其进行测试.今天个人的小站又一次搬家,新的服务器环境为Win2008R2 X64,因此,有了条件,赶紧将编译的dll测试测试,因为在levenblog2.0.9.1开始,程序使用了不包含本地代码的System.Data.Sqlite.dll文件,因此可以方便的更换native dll来进行测试.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/88"><id>88</id><title type="text">在IIS7中应用Application Request Routing配置反向代理</title><published>2009-11-11T05:35:38.234375Z</published><updated>2009-11-11T05:35:38.234375Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/88</uri><email>leven</email></author><category term="个人札记" /><link rel="alternate" href="http://leven.com.cn/blog/view/88" /><link href="http://leven.com.cn/blog/view/88" /><content type="text">&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在配置web服务器的时候,我们经常遇到这样的问题,由于某些原因,该服务器只能拥有一个公网IP,但是可能需要提供其他机器或者本机上其他webserver的服务器给访问者,同时又不希望使用其他端口,如果在linux下,常见的解决方案是使用nginx作为前端server,通过反向代理间接访问其他webserver.在IIS7之前,在windows上要实现该功能却不是一件容易的事情,但是在IIS7上,通过Application Request Routing模块,我们可以轻松实现反向代理.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/87"><id>87</id><title type="text">C# 4.0 Beta2改进之全新的dynamic </title><published>2009-10-24T02:49:12.81025Z</published><updated>2009-10-24T02:53:58.575875Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/87</uri><email>leven</email></author><category term=".Net开发" /><link rel="alternate" href="http://leven.com.cn/blog/view/87" /><link href="http://leven.com.cn/blog/view/87" /><content type="text">&lt;p&gt;在C#4.0 b1中,dynamic的出现得到了很多人的关注,该关键字的出现能大幅改进某些情况下的开发效率,但是,通过大家对比测试,该方式同时也会带来很大的性能损失,方法的执行不过是对反射执行的封装,远不如使用Emit或者Expression编译委托来得快.但是在最新的C# 4.0 beta中,dynamic的实现的得到了很大的改变.&amp;nbsp;&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/86"><id>86</id><title type="text">[风格发布]仍然简约蓝色风格-reeckdesign_a3</title><published>2009-10-16T07:57:06.234375Z</published><updated>2009-10-16T07:57:06.234375Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/86</uri><email>leven</email></author><category term="界面风格" /><link rel="alternate" href="http://leven.com.cn/blog/view/86" /><link href="http://leven.com.cn/blog/view/86" /><content type="text">&lt;p&gt;LevenBlog第三方移植风格:reeckdesign_a3&lt;/p&gt;
&lt;p&gt;适合版本:&lt;span style="color: #ff6600"&gt;LevenBlog2.0.9(其他版本请升级至2.0.9后使用)&lt;/span&gt;&lt;br /&gt;
安装方法:将风格解压后放置在&amp;quot;skins&amp;quot;目录,然后进入后台&amp;quot;系统模板管理&amp;quot;选项卡选择&amp;quot;reeckdesign_a3&amp;quot;风格即可.&lt;/p&gt;</content></entry><entry xml:base="http://leven.com.cn/blog/view/85"><id>85</id><title type="text">[风格发布]简单蓝色风格-Clean Blue[中秋特制]</title><published>2009-10-16T07:40:02.1875Z</published><updated>2009-10-16T07:51:19.109375Z</updated><author><name>leven</name><uri>http://leven.com.cn/blog/view/85</uri><email>leven</email></author><category term="界面风格" /><link rel="alternate" href="http://leven.com.cn/blog/view/85" /><link href="http://leven.com.cn/blog/view/85" /><content type="text">&lt;p&gt;LevenBlog第三方移植风格:Clean-Blue&lt;/p&gt;
&lt;p&gt;适合版本:LevenBlog2.0.9(其他版本请升级至2.0.9后使用)&lt;br /&gt;
安装方法:将风格解压后放置在&amp;quot;skins&amp;quot;目录,然后进入后台&amp;quot;系统模板管理&amp;quot;选项卡选择&amp;quot;Clean-Blue&amp;quot;风格即可.&lt;/p&gt;</content></entry></feed>