<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Nana的荔枝园_分类_.NetFX</title><id>http://feed.cnblogs.com/blog/u/63191/category/219693/rss</id><updated>2012-05-28T07:04:06Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/category/219693.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/63191/category/219693/rss"/><entry><id>http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html</id><title type="text">另一种在字节数组和十六进制字符串之间转换的手段</title><summary type="text">几年前我使用国外的一个流行的Blog服务来撰写博文，但是因为一些众所周知的原因我打不开自己的博客了，于是才刚刚开始写博的我就不得不中断这种行为了，直到后来在园子重新开博。前几天我弄到了条VPN，一时兴起就翻出原来的博客来看，结果在上面找到了以前的一些小研究，其中之一便是标题所指的东西。用途什么的就不再废话了，总之在.NET编程中通常来说从字节数组到十六进制的转换是要用BitConverter.ToString，返回的字符串会包含减号/横线作为每个字节所对应的十六进制数之间的分隔符，不想看到的话就只能再Replace掉，而且BitConverter类名不能省略，用起来不怎么方便；从十六进制到字节</summary><published>2012-05-24T09:42:00Z</published><updated>2012-05-24T09:42:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html</id><title type="text">分享 Visual Studio 2010 扩展制作的心得：基本功能篇</title><summary type="text">在制作为 Visual Studio 2010 添加背景的扩展时遭遇了很多问题，现在我把这些问题以及解决的办法分享出来，希望能帮到同样对 Visual Studio 扩展感兴趣的同学。这一篇先说说“添加背景”这一基本功能的实现。</summary><published>2011-01-21T03:09:00Z</published><updated>2011-01-21T03:09:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/21/asp-net-mvc-3-chs-released.html</id><title type="text">ASP.NET MVC 3 中文版正式释出上线</title><summary type="text">微软下载中心已经提供了中文版的 ASP.NET MVC 3 下载，之前公布的免费 Web 平台产品已经有六款放出了中文版本。而 Visual Studio Service Pack 1 还要等上一段时间才会发布。</summary><published>2011-01-21T00:57:00Z</published><updated>2011-01-21T00:57:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/asp-net-mvc-3-chs-released.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/asp-net-mvc-3-chs-released.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html</id><title type="text">悄悄地进村，打枪的不要——KyuuBackground(原 ItaBackgroundKyuu)改造完成</title><summary type="text">增加 OptionPage 支持花了不少时间，只有 OptionPage 是不行的，还得改变装饰物的实现好随时响应设置的变化。改造的过程中又发现一个之前没注意到的问题，改变缩放比例会导致背景图案错位……为了修正这个问题也花了好几个小时去研究，最后用了一些算不上太漂亮的办法让它勉勉强强看不出来。我把它扔到了 Visual Studio 资源库上，下载页面的链接是http://visualstudiogallery.msdn.microsoft.com/zh-cn/2d4f653f-262a-4d3a-b42c-c6f8e35e777e。技术细节什么的等精神好的时候再补吧。</summary><published>2011-01-18T18:24:00Z</published><updated>2011-01-18T18:24:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/17/microsoft-web-platform-products-chs-released.html</id><title type="text">微软免费 Web 平台产品线中文版已部分上线</title><summary type="text">虽然 ASP.NET MVC 3 的中文版还没有发布，但是上次公布的 Web 平台产品中已经有五款发布了中文版本，现在大家就可以使用它们了！</summary><published>2011-01-17T03:39:00Z</published><updated>2011-01-17T03:39:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/17/microsoft-web-platform-products-chs-released.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/17/microsoft-web-platform-products-chs-released.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/06/1926960.html</id><title type="text">Enum.Has 续：public static class GenericEnumExtensions</title><summary type="text">.assembly GenericEnumExtensions{ .custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) = ( 01 00 29 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B // ..).NETFramew...</summary><published>2011-01-05T18:34:00Z</published><updated>2011-01-05T18:34:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/06/1926960.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/06/1926960.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/05/write-a-generic-extension-method-for-enums.html</id><title type="text">使用 MSIL 为 Enum.HasFlag 封装一个泛型的扩展方法</title><summary type="text">C# 不让把 System.Enum 用在泛型约束里面，可这能难倒咱们么？</summary><published>2011-01-05T13:40:00Z</published><updated>2011-01-05T13:40:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/05/write-a-generic-extension-method-for-enums.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/05/write-a-generic-extension-method-for-enums.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/05/why-we-use-the-built-in-types-and-not-writing-our-own-implements.html</id><title type="text">.NET框架：为什么我们要尽量使用框架内建的功能，而不是重新发明</title><summary type="text">有的时候我们可能会感到奇怪，为什么有些明明是很简单的功能却要封装成一个方法、一个类型？又或者是某一种熟练得闭着眼睛都能写出来的设计模式，也有必要在 .NET 框架里提供一个官方实现吗？我们到底应该使用框架中提供的，还是应该使用自己实现的呢？本文会通过几个例子来解答这些问题。</summary><published>2011-01-05T07:08:00Z</published><updated>2011-01-05T07:08:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/05/why-we-use-the-built-in-types-and-not-writing-our-own-implements.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/05/why-we-use-the-built-in-types-and-not-writing-our-own-implements.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/04/web-deploy-advanced-set-acl-automatic.html</id><title type="text">Web Deploy 高级应用：自动设置 ACL</title><summary type="text">上一次文章讲了使用 Web Deploy 一键发布的时候怎么样避免已经设置好的 ACL 被覆盖，这一次则是讲解怎么样在一键发布时自动设置网站根目录的 ACL。</summary><published>2011-01-04T11:39:00Z</published><updated>2011-01-04T11:39:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/04/web-deploy-advanced-set-acl-automatic.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/04/web-deploy-advanced-set-acl-automatic.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/01/use-web-deploy-and-leave-acl-alone.html</id><title type="text">Web Deploy：在一键发布时保留已设置的 ACL</title><summary type="text">通过 Microsoft Web Deploy 技术可以在远程服务器上自动部署网站应用程序，本文介绍配合 Visual Studio (Express) 来使用 Web Deploy 的一些简单做法，保留远程服务器上的 ACL 设置。</summary><published>2010-12-31T18:39:00Z</published><updated>2010-12-31T18:39:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/01/use-web-deploy-and-leave-acl-alone.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/01/use-web-deploy-and-leave-acl-alone.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923054.html</id><title type="text">纲要：使用WebDeploy实现全自动远程发布</title><summary type="text">通过利用WebDeploy的功能来达到站点发布一键完成的目的，简化发布流程、减少手工部署造成失误的可能。涉及的知识点：WebDeploy的安装和简单用法。WebDeploy的setAcl行为。MSBuild处理Web应用程序的方式。WebDeploy的参数化机能。自定义Web应用程序的MSBuild任务。高级MSBuild技巧。文章预计分为三部分。</summary><published>2010-12-31T05:36:00Z</published><updated>2010-12-31T05:36:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923054.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923054.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923041.html</id><title type="text">纲要：使用ASP.NET实现简单的SSI</title><summary type="text">内容：通过使用ASP.NET实现的简单SSI来解决普通的SSI处理器不能正确处理BOM和区分文档编码的问题。涉及到的知识点：简单的handler原理StreamReader的编码识别功能利用正则表达式处理字符串简单的反射表达式树的构造和编译Runtime缓存和缓存策略惰性构造（初始化）暂定划分为4部分，由于涉及到的编程知识稍微有些多，可能每部分的字数都很多。</summary><published>2010-12-31T05:30:00Z</published><updated>2010-12-31T05:30:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923041.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/31/1923041.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/27/1918113.html</id><title type="text">【牢骚】这都什么鸟人啊，净吓唬菜鸟玩</title><summary type="text">前几个月我才抱怨过什么乱七八糟的东西都上园子首页，什么感悟你妹啊什么原创你妹啊什么发现你妹啊什么东拼西凑你妹啊什么什么你妹的刚才我想起来删一行多余的代码，然后就往首页上瞄了一眼，结果看到有篇文说什么“不为人知的秘密”点进去一看这啥玩意啊，不就个普通溢出么？明明人家C#就不推荐你随便碰指针，你还把指针找出来鼓捣个溢出说什么“不为人知的秘密”——去你妹的不为人知，你他妈这是哗众取宠吧你？呸上首页喷人就算不被撤下来也不太好看，所以只有我的朋友看到就行了。</summary><published>2010-12-27T09:16:00Z</published><updated>2010-12-27T09:16:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/27/1918113.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/27/1918113.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/01/something-some-people-will-never-try.html</id><title type="text">SAI的拙劣仿制：很多人永远也不会尝试的东西</title><summary type="text">利用一些（其实早就不算能是）新技术可以轻松地做出有趣的东西</summary><published>2010-12-01T03:09:00Z</published><updated>2010-12-01T03:09:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/01/something-some-people-will-never-try.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/01/something-some-people-will-never-try.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/10/12/an-ita-background-extension-for-visual-studio-2010-code-editor.html</id><title type="text">【玩具】给Visual Studio 2010增加背景图片的扩展</title><summary type="text">前些日子心血来潮去Visual Studio扩展库上淘了一圈，发现了这样一个扩展：http://visualstudiogallery.msdn.microsoft.com/zh-cn/0e6f9037-b753-469e-86d4-bfba78c74cf6但是这个扩展用起来还有一些不方便的地方，例如会锁定背景图片文件、缩放编辑器的时候背景图片会因为滚动条的定位而飘到上方、透明度和背景图像的位置不能改变等等。而这个扩展最后一次更新是5月5日，到现在已经过了五个月了。所以我决定仿照它的原理自己写一个。使用起来效果大概是这样：其实这个东西也是比较容易做的，只要安装了Visual Studio 20</summary><published>2010-10-12T15:38:00Z</published><updated>2010-10-12T15:38:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/10/12/an-ita-background-extension-for-visual-studio-2010-code-editor.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/10/12/an-ita-background-extension-for-visual-studio-2010-code-editor.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/10/01/aspnet-4-silent-add-extension-mapping-for-razor.html</id><title type="text">你可能不知道的秘密：ASP.NET 4.0悄悄添加的扩展名映射</title><summary type="text">在探索ASP.NET默认配置的时候意外发现安装.NET框架4.0的时候会为还没有出正式版的Razor引擎预留映射。</summary><published>2010-10-01T06:49:00Z</published><updated>2010-10-01T06:49:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/10/01/aspnet-4-silent-add-extension-mapping-for-razor.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/10/01/aspnet-4-silent-add-extension-mapping-for-razor.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/09/07/yet-another-page-number-helper-tweaked-with-js-version.html</id><title type="text">某页码显示的helper——少量调整，另附js版</title><summary type="text">有一天我突然发现写程序来筛选显示哪些页码、怎么显示是件很抽搐的事情，就归纳出了这么个玩意。</summary><published>2010-09-07T07:28:00Z</published><updated>2010-09-07T07:28:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/09/07/yet-another-page-number-helper-tweaked-with-js-version.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/09/07/yet-another-page-number-helper-tweaked-with-js-version.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/08/01/javascript-limited-razor-processor.html</id><title type="text">Limited Razor，在JavaScript中使用Razor式的模板</title><summary type="text">和WebMatrix一起公布的Razor视图引擎着实让我震惊了一次（算上WebMatrix和IIS Express加起来一共震惊了三次）——震惊之余，我开始动脑筋了，能不能把这个东西用在JavaScript里面呢？</summary><published>2010-08-01T12:46:00Z</published><updated>2010-08-01T12:46:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/javascript-limited-razor-processor.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/javascript-limited-razor-processor.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-using-webbrowser.html</id><title type="text">在ASP.NET服务器端过程中使用WebBrowser的注意事项</title><summary type="text">在ASP.NET程序中使用WebBrowser（WinForms）控件代替WebClient时发现的一些问题，如果你也在使用WebBrowser的过程中遇到了困难的话，不妨来看看。</summary><published>2010-08-01T05:21:00Z</published><updated>2010-08-01T05:21:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-using-webbrowser.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-using-webbrowser.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-create-eventlog.html</id><title type="text">在ASP.NET程序中使用事件日志的条件——关于注册表的访问控制表</title><summary type="text">当运行ASP.NET程序时，写入创建和写入事件日志是一个有点麻烦的问题。经过一些探索以后，我找出了创建事件日志的必要条件。</summary><published>2010-08-01T03:52:00Z</published><updated>2010-08-01T03:52:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-create-eventlog.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/08/01/aspnet-create-eventlog.html"/><content type="html"/></entry></feed>
