<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_撞破南墙_分类_.net</title><id>http://feed.cnblogs.com/blog/u/57131/category/194162/rss</id><updated>2012-06-01T19:27:48Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/category/194162.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/57131/category/194162/rss"/><entry><id>http://www.cnblogs.com/facingwaller/archive/2011/04/12/2014027.html</id><title type="text">ASP.NET WEBFORM和RAZOR的模板页的使用</title><summary type="text">下面是目录结构和主要的代码。。。。 因为比较简单就顺手录个视频不懂弄的问我要。文件下载地址http://files.cnblogs.com/facingwaller/Guest.rar</summary><published>2011-04-12T11:50:00Z</published><updated>2011-04-12T11:50:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2011/04/12/2014027.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2011/04/12/2014027.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2011/03/30/1999905.html</id><title type="text">ASP.NET MVC3 实战入门(3)--在分页中添加搜索功能</title><summary type="text">以我的security模块为例如何写搜索S1 :前台代码中写提交表单：\Areas\Security\Views\Role &lt;formaction="/security/role/list"method="post"&gt;模糊搜名字&lt;inputtype="text"name="searchwords"value="&lt;%:ViewData["searchwords"]%&gt;"/&gt; &lt;inputtype="submit"va</summary><published>2011-03-30T06:57:00Z</published><updated>2011-03-30T06:57:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2011/03/30/1999905.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2011/03/30/1999905.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/12/23/clr_via_csharp_methods_1.html</id><title type="text">c#进阶-methods上</title><summary type="text">构造函数的那些事 如果你不为类定义一个构造函数，他将在编译时候自动产生 public class SomeType { } public class SomeType { public SomeType() : base() { } } 两段代码的编译结果一样。 如果父类是一个抽象类，那么对父类构造函数的访问权限是 protected。 否则是public。如果父类没有提供一个无参构造函数...</summary><published>2010-12-23T04:47:00Z</published><updated>2010-12-23T04:47:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/12/23/clr_via_csharp_methods_1.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/12/23/clr_via_csharp_methods_1.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/12/04/CSharp_developer_step_in.html</id><title type="text">C#功能派的进阶--你该思考的一些事1</title><summary type="text">《c#进阶》系列是我想深入学习一些c#的东西而记下来的笔记和思考。1 我不能保证他是完全正确的，也不能保证他是最佳实践。2 存在跳跃性，不会提供完整的知识体系，但是很多个笔记点都是一个点，你可以扩展去思考和了解。3 希望能起到抛砖引玉的作用，唤起很多不深入思考的”功能“派一些思考。</summary><published>2010-12-04T14:53:00Z</published><updated>2010-12-04T14:53:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/12/04/CSharp_developer_step_in.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/12/04/CSharp_developer_step_in.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/11/27/MVC3RC_New_Features.html</id><title type="text">ASP.NETMVC3RC的一些新特性 (2010.11.9发布版）</title><summary type="text">1控制Controller的SESSION  2新的验证属性  3子action可以使用缓存 5 更小粒度的验证Granular Request Validation</summary><published>2010-11-27T13:02:00Z</published><updated>2010-11-27T13:02:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/11/27/MVC3RC_New_Features.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/11/27/MVC3RC_New_Features.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/11/06/1870608.html</id><title type="text">MVVMLight源码分析之消息机制和ViewModelBase</title><summary type="text">1 介绍 MVVMLight 2 代码分析方法3 具体剖析 3.1 消息机制的剖析 3.2 ViewModelBase</summary><published>2010-11-06T10:24:00Z</published><updated>2010-11-06T10:24:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/11/06/1870608.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/11/06/1870608.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/07/28/1787397.html</id><title type="text">Accelerated C#2008读书笔记3</title><summary type="text">对c#底层不太了解，可能认识有误或者浅薄，欢迎斧正。10 boxing 装箱@1被装箱的值是初始化值的一个副本。---常见的一个应用是传参。@2什么时候发生装箱：#1值类型转换成引用/System.ValueType/指向值类型实现的接口引用#2 枚举转换成System.Enum 引用为什么要装箱？ 从技术上说 直接获得一个值类型的引用是不可能的。因为值存放...</summary><published>2010-07-28T14:29:00Z</published><updated>2010-07-28T14:29:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/07/28/1787397.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/07/28/1787397.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747630.html</id><title type="text">接口+泛型强大的Repository</title><summary type="text"> 为了补全我的春秋痴梦效率CMS系列。把这篇也发了。虽然就一个链接，却是理解我那个系列的一个比较重要的东西。</summary><published>2010-05-30T13:35:00Z</published><updated>2010-05-30T13:35:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747630.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747630.html"/><content type="text"> 为了补全我的春秋痴梦效率CMS系列。把这篇也发了。虽然就一个链接，却是理解我那个系列的一个比较重要的东西。</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747572.html</id><title type="text">局部化页面和效率CMS实践系列总结</title><summary type="text">现在来梳理一下我整个的春秋痴梦：CMS提升开发效率的几个想法和实践。整个的目的是：提高开发效率，主要是后台的开发同类新需求的效率。实现的办法是：做一个通用的增删查改列的前台使用入口。让实现新业务需求的代码量降到我能达到的最低。几乎把重复的能封装重用的都省了。所有的要写的都是必须得写的，我叫做必要开销。真的是一次编写，所有的实体类通用。当然整个的功能不是很强，也没有考虑很多性能，安全。但是实现自己的想法也确实提高了效率。觉得真的很爽。一个月前规划了整个的优化的计划。一个星期实现一个基本达到了。到现在也没有什么新的想法。</summary><published>2010-05-30T12:23:00Z</published><updated>2010-05-30T12:23:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747572.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/05/30/1747572.html"/><content type="text">现在来梳理一下我整个的春秋痴梦：CMS提升开发效率的几个想法和实践。整个的目的是：提高开发效率，主要是后台的开发同类新需求的效率。实现的办法是：做一个通用的增删查改列的前台使用入口。让实现新业务需求的代码量降到我能达到的最低。几乎把重复的能封装重用的都省了。所有的要写的都是必须得写的，我叫做必要开销。真的是一次编写，所有的实体类通用。当然整个的功能不是很强，也没有考虑很多性能，安全。但是实现自己的想法也确实提高了效率。觉得真的很爽。一个月前规划了整个的优化的计划。一个星期实现一个基本达到了。到现在也没有什么新的想法。</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/05/23/1742055.html</id><title type="text">AutoController--通用自动增删查改</title><summary type="text">我的春秋痴梦第三步：让所有的增删查改自动化，不用每次都实例化一个controller然后郁闷的写增删查改的方法。用自己的方法解决了文件上传和属性指定转换等问题。让程序更加自动化！</summary><published>2010-05-23T07:05:00Z</published><updated>2010-05-23T07:05:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/05/23/1742055.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/05/23/1742055.html"/><content type="text">我的春秋痴梦第三步：让所有的增删查改自动化，不用每次都实例化一个controller然后郁闷的写增删查改的方法。用自己的方法解决了文件上传和属性指定转换等问题。让程序更加自动化！</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/05/16/1736634.html</id><title type="text">泛型通用动态查询(LinQ+Ajax)</title><summary type="text">我的春秋痴梦第二步：写一个 通用的 对象 列表 ，还 包含 搜索和 属性过滤。具体的效果是：当新 业务 添加一个 表的时候，只需要在 对象模型里的 添加一个 model后台几乎不需写代码。(我是后台：激动人心！)调用的对象，第几页，属性的 过滤 和搜索全是 前台的Ajax参数控制(我是前台：#$!@#$%$^#$%# )下面说说我的思路吧：1.前台发出请求 写明 调用的 modleName 和 一些属性 的过滤 如：Author like,1ModelName Article  搜索作者 包含 1  对象名 文章2.后台接受 处理传递的参数3.根据 对象名 调用 对象 并过滤4.根据 对象名 返回 对应 页面</summary><published>2010-05-16T13:49:00Z</published><updated>2010-05-16T13:49:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/05/16/1736634.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/05/16/1736634.html"/><content type="text">我的春秋痴梦第二步：写一个 通用的 对象 列表 ，还 包含 搜索和 属性过滤。具体的效果是：当新 业务 添加一个 表的时候，只需要在 对象模型里的 添加一个 model后台几乎不需写代码。(我是后台：激动人心！)调用的对象，第几页，属性的 过滤 和搜索全是 前台的Ajax参数控制(我是前台：#$!@#$%$^#$%# )下面说说我的思路吧：1.前台发出请求 写明 调用的 modleName 和 一些属性 的过滤 如：Author like,1ModelName Article  搜索作者 包含 1  对象名 文章2.后台接受 处理传递的参数3.根据 对象名 调用 对象 并过滤4.根据 对象名 返回 对应 页面</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/05/07/1729413.html</id><title type="text">读取WebConfig中的连接字符串</title><summary type="text">&lt;?xml version="1.0"?&gt;&lt;configuration&gt;&lt;appSettings&gt;&lt;!-- 数据库连接字符串 --&gt;&lt;add key="DBCoon" value="Data Source=QKF;Initial Catalog=shujukuming;Persist Security Info=True;User ID=sa;...</summary><published>2010-05-07T01:35:00Z</published><updated>2010-05-07T01:35:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/05/07/1729413.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/05/07/1729413.html"/><content type="text">&lt;?xml version="1.0"?&gt;&lt;configuration&gt;&lt;appSettings&gt;&lt;!-- 数据库连接字符串 --&gt;&lt;add key="DBCoon" value="Data Source=QKF;Initial Catalog=shujukuming;Persist Security Info=True;User ID=sa;...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/04/27/1722022.html</id><title type="text">ACCESS的一个相对好用的数据库连接字符串</title><summary type="text">数据库 链接 字符串：|DataDirectory| 的意思是 APP_DATA 文件夹。只需要是 把数据库放在该文件夹下即可。</summary><published>2010-04-27T06:28:00Z</published><updated>2010-04-27T06:28:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/04/27/1722022.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/04/27/1722022.html"/><content type="text">数据库 链接 字符串：|DataDirectory| 的意思是 APP_DATA 文件夹。只需要是 把数据库放在该文件夹下即可。</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/03/30/1700843.html</id><title type="text">ASP.NET 入门 博客园文章 索引篇</title><summary type="text">0什么是.NEThttp://zh.wikipedia.org/wiki/.NET什么是ASP.NEThttp://zh.wikipedia.org/zh-cn/ASP.NET1单页面 （控件流）田洪川http://www.cnblogs.com/thcjp/archive/2007/09/07/885475.html2 跨页面传值 （内置对象们）http://kb.cnblogs.com/pag...</summary><published>2010-03-30T11:24:00Z</published><updated>2010-03-30T11:24:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/03/30/1700843.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/03/30/1700843.html"/><content type="text">0什么是.NEThttp://zh.wikipedia.org/wiki/.NET什么是ASP.NEThttp://zh.wikipedia.org/zh-cn/ASP.NET1单页面 （控件流）田洪川http://www.cnblogs.com/thcjp/archive/2007/09/07/885475.html2 跨页面传值 （内置对象们）http://kb.cnblogs.com/pag...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/03/23/1692909.html</id><title type="text">SQL 2005 中的 &amp;quot;级联&amp;quot;</title><summary type="text">问题删除 KF_User 表中的 数据时候 。发生错误。DELETE 语句与 REFERENCE 约束"FK_KF_Document_KF_User"冲突。该冲突发生于数据库"CMS"，表"dbo.KF_Document", column 'UserID'。s1: 跑去 数据库 里 尝试删除 一条数据 试试。s2:查看关系 发现更新 规则 里 没有之前熟悉的 级联。以前 用SQL2000和ACCE...</summary><published>2010-03-23T13:16:00Z</published><updated>2010-03-23T13:16:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/03/23/1692909.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/03/23/1692909.html"/><content type="text">问题删除 KF_User 表中的 数据时候 。发生错误。DELETE 语句与 REFERENCE 约束"FK_KF_Document_KF_User"冲突。该冲突发生于数据库"CMS"，表"dbo.KF_Document", column 'UserID'。s1: 跑去 数据库 里 尝试删除 一条数据 试试。s2:查看关系 发现更新 规则 里 没有之前熟悉的 级联。以前 用SQL2000和ACCE...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2010/03/12/1684675.html</id><title type="text">DynamicLibrary动态查询需要的一个CS 文件下载</title><summary type="text">http://code.google.com/p/coolite-mvc/source/browse/trunk/Coolite.Toolkit.MVC/Code/DynamicLibrary.cs?spec=svn20&amp;r=20相关资料http://www.cnblogs.com/cxd4321/archive/2009/09/28/1575890.htmlhttp://www.cnbl...</summary><published>2010-03-12T11:06:00Z</published><updated>2010-03-12T11:06:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2010/03/12/1684675.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2010/03/12/1684675.html"/><content type="text">http://code.google.com/p/coolite-mvc/source/browse/trunk/Coolite.Toolkit.MVC/Code/DynamicLibrary.cs?spec=svn20&amp;r=20相关资料http://www.cnblogs.com/cxd4321/archive/2009/09/28/1575890.htmlhttp://www.cnbl...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2009/12/29/1634785.html</id><title type="text">c# 最小化到系统栏，时钟，随机语句，程序发布  读书笔记本 （三）</title><summary type="text">昨晚去被同学叫去吃火锅聊天玩了。。太辣了。吃到1点多才睡。。早上睡过头了。结果不用老师翘课课了哈哈。高兴ing补充之前的读书笔记本的功能。以后想起来也是蛮好玩的。虽然扩展性，灵活性，效率都不高。但是毕竟实现了一些功能。不要浪费了CPU和内存条嘛。。功能至上~ let's go~~先给大家看一下做成之后的效果图。==========================功能描述==============...</summary><published>2009-12-29T03:14:00Z</published><updated>2009-12-29T03:14:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2009/12/29/1634785.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2009/12/29/1634785.html"/><content type="text">昨晚去被同学叫去吃火锅聊天玩了。。太辣了。吃到1点多才睡。。早上睡过头了。结果不用老师翘课课了哈哈。高兴ing补充之前的读书笔记本的功能。以后想起来也是蛮好玩的。虽然扩展性，灵活性，效率都不高。但是毕竟实现了一些功能。不要浪费了CPU和内存条嘛。。功能至上~ let's go~~先给大家看一下做成之后的效果图。==========================功能描述==============...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2009/12/27/1633660.html</id><title type="text">自写的 c# 锚点，书签，行高 读书笔记本 （二）</title><summary type="text">话说，晚上又到了。。基地的门又快关了。。继续没记完的。//========3. 麻烦点的锚点(书签)4.前端显示功能和设置 行高//========书签我用的是自定义的一个数据结构方便以后扩展。TreeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;u...</summary><published>2009-12-27T15:01:00Z</published><updated>2009-12-27T15:01:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2009/12/27/1633660.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2009/12/27/1633660.html"/><content type="text">话说，晚上又到了。。基地的门又快关了。。继续没记完的。//========3. 麻烦点的锚点(书签)4.前端显示功能和设置 行高//========书签我用的是自定义的一个数据结构方便以后扩展。TreeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;u...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2009/12/26/1633045.html</id><title type="text">自写的 c# 锚点，前端显示  读书 记事本（一）</title><summary type="text">一般看视频教程。一边做做笔记是很惬意的事。。但是手上的 xp 自带的 记事本 一直用着不爽。我想起Java夜未眠. 那家伙说的，不爽的软件自己 开发一个。然后又终于 搞定了 手上的网站。学学WINFORM的开发。 高手可以闪了。。。。====================================================================解决方案===========...</summary><published>2009-12-26T14:52:00Z</published><updated>2009-12-26T14:52:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2009/12/26/1633045.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2009/12/26/1633045.html"/><content type="text">一般看视频教程。一边做做笔记是很惬意的事。。但是手上的 xp 自带的 记事本 一直用着不爽。我想起Java夜未眠. 那家伙说的，不爽的软件自己 开发一个。然后又终于 搞定了 手上的网站。学学WINFORM的开发。 高手可以闪了。。。。====================================================================解决方案===========...</content></entry><entry><id>http://www.cnblogs.com/facingwaller/archive/2009/12/04/1616847.html</id><title type="text">ASP.NET页面刷新和定时跳转</title><summary type="text">很多是摘网上的但是我整理了一下。以便以后查阅。刷新的实现方法：=========================================== .net//第1： /*-- 内置跳转 ----*/ Response.Redirect( Request.Url.ToString( ) ); //第2： /*----内置 html ----*/ Response.AddHeader( "Refr...</summary><published>2009-12-04T03:34:00Z</published><updated>2009-12-04T03:34:00Z</updated><author><name>撞破南墙</name><uri>http://www.cnblogs.com/facingwaller/</uri></author><link rel="alternate" href="http://www.cnblogs.com/facingwaller/archive/2009/12/04/1616847.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/facingwaller/archive/2009/12/04/1616847.html"/><content type="text">很多是摘网上的但是我整理了一下。以便以后查阅。刷新的实现方法：=========================================== .net//第1： /*-- 内置跳转 ----*/ Response.Redirect( Request.Url.ToString( ) ); //第2： /*----内置 html ----*/ Response.AddHeader( "Refr...</content></entry></feed>
