<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_我的程序岁月_分类_asp.net</title><id>http://feed.cnblogs.com/blog/u/32927/category/123259/rss</id><updated>2012-06-04T00:18:34Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/category/123259.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/32927/category/123259/rss"/><entry><id>http://www.cnblogs.com/madengwei/archive/2012/04/09/2439732.html</id><title type="text">ASP.NET自定义输出缓存提供程序</title><summary type="text">我们知道，自从ASP.NET 发布以来，页输出缓存使开发人员能够把由网页、控件及HTTP响应等生成的输出内容存储到内存中。这样一来，在后面的Web请求时，系统能够从内存检索这些生成的输出内容而不是从头开始重新生成输出，从而使ASP.NET可以更迅速地提供内容，在性能上得到了很大的提高。但是，这种方法确有一个限制：即生成的内容一定要存储在内存中。这样一来，服务器将承受巨大流量带来的压力，输出缓存消耗的内存与来自Web应用程序的其他部分的内存需求之间导致严重冲突。 针对上述情况，ASP.NET 4针对输出缓存增加了一个扩展点，它能够使你可以配置一个或多个自定义输出缓存提供程序。输出缓存提供程序可.</summary><published>2012-04-09T15:02:00Z</published><updated>2012-04-09T15:02:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2012/04/09/2439732.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2012/04/09/2439732.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2012/04/08/2438100.html</id><title type="text">ASP.NET缓存依赖--自定义缓存依赖</title><summary type="text">在ASP.NET中，它允许你继承CacheDependency类创建自定义的缓存依赖，这和上一节所讲的SqlCacheDependency类所做的差不多。设计一个自定义的CacheDependency类很简单，你要做的只是启动一个异步任务，它检查依赖项目何时发生变化。依赖项目发生变化时，将调用基方法CacheDependency.NotifyDependencyChanged。作为回应，基类更新HasChanged与UTclastModified属性值，并且ASP.NET自动从缓存中移除所有相关项目。我们知道，现在的许多网站都提供了RSS功能，从而方便我们去订阅。因此，在我们的应用程序里订阅.</summary><published>2012-04-08T14:09:00Z</published><updated>2012-04-08T14:09:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2012/04/08/2438100.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2012/04/08/2438100.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2012/04/08/2438077.html</id><title type="text">ASP.NET缓存依赖--SQL Server 2005与SQL Server 2008缓存依赖</title><summary type="text">其实，在某些方案中，使用带有 SQL 依赖项的缓存可显著提高你的应用程序的性能。例如，假定你正在构建一个从数据库显示产品信息的电子商务应用程序。如果不进行缓存，则每当用户要查看产品时，应用程序都必须从数据库请求数据，执行相关的数据库连接、查询等命令。如果查询访问量很大时，这对于服务器与数据库来讲其耗费的资源是不可估量的。要解决这样的问题，你可以根据需要在某一时刻将产品信息缓存一天或者一段时间，由于产品信息已经在内存中，因此可确保较快的响应时间，从而也减少了数据库的访问量。 但是，当数据库的产品信息发生变化时，缓存的产品信息就会失去与数据库中的产品信息的同步，且不同步的时间最长可达你设置的缓存.</summary><published>2012-04-08T13:57:00Z</published><updated>2012-04-08T13:57:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2012/04/08/2438077.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2012/04/08/2438077.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2010/11/09/1873137.html</id><title type="text">QueryExtender控件之CustomExpression</title><summary type="text">QueryExtender 控件是ASP.NET 4 新增加的一个数据筛选控件，它用于为从数据源检索的数据创建筛选器，并且在数据源中不使用显式 Where 子句。你可以将它添加到 EntityDataSource 控件或 LinqDataSource 控件以筛选这些控件返回的数据。它依赖于 LINQ，但你无需了解如何编写 LINQ 查询即可使用该查询扩展程序。利用它，你可以简单地通过声明性语法筛选网页标记中的数据。除此之外，它还支持 ASP.NET 动态数据专用的表达式。QueryExtender 控件支持多种可用于筛选数据的选项，即支持搜索字符串、搜索指定范围内的值、将表中的属性值与指定的值进行比较、排序和自定义查询等。下面，我们就来详细阐述如何使用它进行数据筛选。</summary><published>2010-11-09T14:20:00Z</published><updated>2010-11-09T14:20:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873137.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873137.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2010/11/09/1873126.html</id><title type="text">QueryExtender控件之OrderByExpression</title><summary type="text">QueryExtender 控件是ASP.NET 4 新增加的一个数据筛选控件，它用于为从数据源检索的数据创建筛选器，并且在数据源中不使用显式 Where 子句。你可以将它添加到 EntityDataSource 控件或 LinqDataSource 控件以筛选这些控件返回的数据。它依赖于 LINQ，但你无需了解如何编写 LINQ 查询即可使用该查询扩展程序。利用它，你可以简单地通过声明性语法筛选网页标记中的数据。除此之外，它还支持 ASP.NET 动态数据专用的表达式。QueryExtender 控件支持多种可用于筛选数据的选项，即支持搜索字符串、搜索指定范围内的值、将表中的属性值与指定的值进行比较、排序和自定义查询等。下面，我们就来详细阐述如何使用它进行数据筛选。</summary><published>2010-11-09T14:13:00Z</published><updated>2010-11-09T14:13:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873126.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873126.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2010/11/09/1873090.html</id><title type="text">QueryExtender控件之PropertyExpression</title><summary type="text">QueryExtender 控件是ASP.NET 4 新增加的一个数据筛选控件，它用于为从数据源检索的数据创建筛选器，并且在数据源中不使用显式 Where 子句。你可以将它添加到 EntityDataSource 控件或 LinqDataSource 控件以筛选这些控件返回的数据。它依赖于 LINQ，但你无需了解如何编写 LINQ 查询即可使用该查询扩展程序。利用它，你可以简单地通过声明性语法筛选网页标记中的数据。除此之外，它还支持 ASP.NET 动态数据专用的表达式。QueryExtender 控件支持多种可用于筛选数据的选项，即支持搜索字符串、搜索指定范围内的值、将表中的属性值与指定的值进行比较、排序和自定义查询等。下面，我们就来详细阐述如何使用它进行数据筛选。</summary><published>2010-11-09T13:30:00Z</published><updated>2010-11-09T13:30:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873090.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873090.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2010/11/09/1873031.html</id><title type="text">QueryExtender控件之RangeExpression</title><summary type="text">QueryExtender 控件是ASP.NET 4 新增加的一个数据筛选控件，它用于为从数据源检索的数据创建筛选器，并且在数据源中不使用显式 Where 子句。你可以将它添加到 EntityDataSource 控件或 LinqDataSource 控件以筛选这些控件返回的数据。它依赖于 LINQ，但你无需了解如何编写 LINQ 查询即可使用该查询扩展程序。利用它，你可以简单地通过声明性语法筛选网页标记中的数据。除此之外，它还支持 ASP.NET 动态数据专用的表达式。QueryExtender 控件支持多种可用于筛选数据的选项，即支持搜索字符串、搜索指定范围内的值、将表中的属性值与指定的值进行比较、排序和自定义查询等。下面，我们就来详细阐述如何使用它进行数据筛选。</summary><published>2010-11-09T12:18:00Z</published><updated>2010-11-09T12:18:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873031.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873031.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2010/11/09/1873025.html</id><title type="text">QueryExtender控件之SearchExpession</title><summary type="text">QueryExtender 控件是ASP.NET 4 新增加的一个数据筛选控件，它用于为从数据源检索的数据创建筛选器，并且在数据源中不使用显式 Where 子句。你可以将它添加到 EntityDataSource 控件或 LinqDataSource 控件以筛选这些控件返回的数据。它依赖于 LINQ，但你无需了解如何编写 LINQ 查询即可使用该查询扩展程序。利用它，你可以简单地通过声明性语法筛选网页标记中的数据。除此之外，它还支持 ASP.NET 动态数据专用的表达式。QueryExtender 控件支持多种可用于筛选数据的选项，即支持搜索字符串、搜索指定范围内的值、将表中的属性值与指定的值进行比较、排序和自定义查询等。下面，我们就来详细阐述如何使用它进行数据筛选。</summary><published>2010-11-09T12:12:00Z</published><updated>2010-11-09T12:12:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873025.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2010/11/09/1873025.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2009/10/13/1582869.html</id><title type="text">&amp;lt;&amp;lt;易学C#&amp;gt;&amp;gt;全书目录</title><summary type="text">经过一年之久的创作,我的新书&gt;终于出版了,目录如下:预备课：学习从这里开始11．软件=程序+文档12．程序起什么作用23．为何要面向对象24．什么是UML35．.NET与C#4谈微软公司的.NET战略4C#的产生与特点5C#与.NET的关系66．开启C#的钥匙——兴趣与正确的学习方法77．习题练习8..........................................</summary><published>2009-10-13T15:44:00Z</published><updated>2009-10-13T15:44:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2009/10/13/1582869.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2009/10/13/1582869.html"/><content type="text">经过一年之久的创作,我的新书&gt;终于出版了,目录如下:预备课：学习从这里开始11．软件=程序+文档12．程序起什么作用23．为何要面向对象24．什么是UML35．.NET与C#4谈微软公司的.NET战略4C#的产生与特点5C#与.NET的关系66．开启C#的钥匙——兴趣与正确的学习方法77．习题练习8..........................................</content></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2009/03/25/1421795.html</id><title type="text">荣获2009年“微软最有影响力开发者”</title><summary type="text">今天无意中收到微软“最有影响力开发者”礼包，这比起博客园的其他兄弟虽然不算什么，但这毕竟是我第一次得到微软的称号，还是值得纪念一下。 “最有影响力的开发者”，您好很高兴能够通过“最有影响力的开发者”这个项目将微软最新的技术资源与您一同分享。第一期技术资源我们已经随此次“最有影响力的开发者欢迎礼包”一同邮...</summary><published>2009-03-25T12:49:00Z</published><updated>2009-03-25T12:49:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2009/03/25/1421795.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2009/03/25/1421795.html"/><content type="text">今天无意中收到微软“最有影响力开发者”礼包，这比起博客园的其他兄弟虽然不算什么，但这毕竟是我第一次得到微软的称号，还是值得纪念一下。 “最有影响力的开发者”，您好很高兴能够通过“最有影响力的开发者”这个项目将微软最新的技术资源与您一同分享。第一期技术资源我们已经随此次“最有影响力的开发者欢迎礼包”一同邮...</content></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2009/03/07/1405418.html</id><title type="text">[讨论]程序之路在何方？</title><summary type="text">曾经何时，在那个DOS与Windows的年代，汇编与C/C++横行天下，无人可比！与此同时，汇编与C/C++程序员无疑成为新的IT时代的弄潮儿，呼风唤雨。 在这之间，也不怎么的，突然有一天，有一个叫Linus的家伙静悄悄地搞出个Linux来，经过几年的开源的发展，终成气候，誓与Windows争霸天下。当然，因为它的开源性，不知不觉冒出了许多版本的Linux来。这时候Windows/Linux/Un...</summary><published>2009-03-07T04:04:00Z</published><updated>2009-03-07T04:04:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2009/03/07/1405418.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2009/03/07/1405418.html"/><content type="text">曾经何时，在那个DOS与Windows的年代，汇编与C/C++横行天下，无人可比！与此同时，汇编与C/C++程序员无疑成为新的IT时代的弄潮儿，呼风唤雨。 在这之间，也不怎么的，突然有一天，有一个叫Linus的家伙静悄悄地搞出个Linux来，经过几年的开源的发展，终成气候，誓与Windows争霸天下。当然，因为它的开源性，不知不觉冒出了许多版本的Linux来。这时候Windows/Linux/Un...</content></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2008/07/08/1238193.html</id><title type="text">用C#解决Oracle9i和Oracle10g字符集不兼容的问题</title><summary type="text"/><published>2008-07-08T06:59:00Z</published><updated>2008-07-08T06:59:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2008/07/08/1238193.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2008/07/08/1238193.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2008/07/03/1234539.html</id><title type="text">Oracle 查询语句截取字符串</title><summary type="text"/><published>2008-07-03T02:12:00Z</published><updated>2008-07-03T02:12:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2008/07/03/1234539.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2008/07/03/1234539.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/madengwei/archive/2008/07/01/1233534.html</id><title type="text">一个C#操作Oracle的通用类</title><summary type="text">前段时间，因为开发一个项目需要Oracle10g数据库，所以就快速写了一个Oracle的通用类，希望各位网友参考！</summary><published>2008-07-01T12:39:00Z</published><updated>2008-07-01T12:39:00Z</updated><author><name>马伟</name><uri>http://www.cnblogs.com/madengwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/madengwei/archive/2008/07/01/1233534.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/madengwei/archive/2008/07/01/1233534.html"/><content type="text">前段时间，因为开发一个项目需要Oracle10g数据库，所以就快速写了一个Oracle的通用类，希望各位网友参考！</content></entry></feed>
