<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_用技术改变生活_分类_ASP.NET 3.5</title><id>http://feed.cnblogs.com/blog/u/7144/category/124507/rss</id><updated>2012-06-02T23:32:10Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/category/124507.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7144/category/124507/rss"/><entry><id>http://www.cnblogs.com/jun1st/archive/2010/03/01/1676061.html</id><title type="text">Application之间共享Master Page</title><summary type="text">  Master Page使得我们能够在不同的页面之间，共享一个页面框架。但是在如果我们需要在不同的application之间共享同一个master页面呢？在实际应用中，我们可能会碰到这样的情况。公司有一个类似与Portal这样的门户，用户首先访问这个网站，再通过链接进入各个子网站，但是Portal和子网站之间要保持风格上的一致。 但是ASP.NET 并没有提供我们一种简单的方式，来使...</summary><published>2010-03-01T13:51:00Z</published><updated>2010-03-01T13:51:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2010/03/01/1676061.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2010/03/01/1676061.html"/><content type="text">  Master Page使得我们能够在不同的页面之间，共享一个页面框架。但是在如果我们需要在不同的application之间共享同一个master页面呢？在实际应用中，我们可能会碰到这样的情况。公司有一个类似与Portal这样的门户，用户首先访问这个网站，再通过链接进入各个子网站，但是Portal和子网站之间要保持风格上的一致。 但是ASP.NET 并没有提供我们一种简单的方式，来使...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2009/08/25/1553929.html</id><title type="text">使用Extension Methods来使IDataReader更加方便</title><summary type="text">今天在逛老赵的Blog的时候，看到了他的常用辅助方法收集一文，想到了自己之前看到的并应用在项目中的一个方法，响应老赵的号召，拿出来晒晒。   在使用DataReader读取数据时，通常会遇到数据可能为Null, 但是又需要转换为如int等其它类型的数据，因此就通常会写这样的代码： int count = reader["count"] == null ? 0 :...</summary><published>2009-08-25T14:09:00Z</published><updated>2009-08-25T14:09:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2009/08/25/1553929.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2009/08/25/1553929.html"/><content type="text">今天在逛老赵的Blog的时候，看到了他的常用辅助方法收集一文，想到了自己之前看到的并应用在项目中的一个方法，响应老赵的号召，拿出来晒晒。   在使用DataReader读取数据时，通常会遇到数据可能为Null, 但是又需要转换为如int等其它类型的数据，因此就通常会写这样的代码： int count = reader["count"] == null ? 0 :...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2009/07/18/WCF_Configuration_File.html</id><title type="text">Custom WCF Configuration File</title><summary type="text">在写WCF的各种Service时，通常我们都会选择通过使用App.config或者Web.config来配置我们的Service。但是，当我们的程序要在不同的环境上测试或运行的时候，而作为开发人员的你在某些环境上并没有管理的权限时，通过唯一的App.config或者Web.config来配置Service就会造成一定程度上的麻烦。本文介绍了如何将这些config信息写在自定义的文件中，并且本文侧重于使用IIS作为host方式运行的Service。</summary><published>2009-07-18T05:51:00Z</published><updated>2009-07-18T05:51:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2009/07/18/WCF_Configuration_File.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2009/07/18/WCF_Configuration_File.html"/><content type="text">在写WCF的各种Service时，通常我们都会选择通过使用App.config或者Web.config来配置我们的Service。但是，当我们的程序要在不同的环境上测试或运行的时候，而作为开发人员的你在某些环境上并没有管理的权限时，通过唯一的App.config或者Web.config来配置Service就会造成一定程度上的麻烦。本文介绍了如何将这些config信息写在自定义的文件中，并且本文侧重于使用IIS作为host方式运行的Service。</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2009/05/13/1455980.html</id><title type="text">USE HttpRuntime.Cache OVER HttpContext.Current.Cache</title><summary type="text">  缓存是在ASP.NET开发中经常需要用到在技术，在使用过程中，通常会用到HttpRuntime.Cache和HttpContext.Current.Cache。而且在使用过程中，通常会觉得这两个似乎用哪一个都行，都能达到缓存数据的目的。那么这两个Cache到底有什么不同呢？在什么时候用哪一个比较好呢？这里谈谈我的一些了解和看法吧。 两者的异同 先来看看msdn的解释 HttpC...</summary><published>2009-05-13T07:51:00Z</published><updated>2009-05-13T07:51:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2009/05/13/1455980.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2009/05/13/1455980.html"/><content type="text">  缓存是在ASP.NET开发中经常需要用到在技术，在使用过程中，通常会用到HttpRuntime.Cache和HttpContext.Current.Cache。而且在使用过程中，通常会觉得这两个似乎用哪一个都行，都能达到缓存数据的目的。那么这两个Cache到底有什么不同呢？在什么时候用哪一个比较好呢？这里谈谈我的一些了解和看法吧。 两者的异同 先来看看msdn的解释 HttpC...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2009/04/06/1430263.html</id><title type="text">Make Asynchronous Calls from Page</title><summary type="text">  对于ASP.NET pages的请求需要有HTTP handler来处理，比如Page的instance。当有一个request来请求某个.aspx页面时，ASP.NET runtime会从ASP.NET thread pool中选一个thread来处理这个request, 并且在这个请求处理完成时释放这个thread。因此，如果这个 request请求的页面中的某一个...</summary><published>2009-04-06T06:22:00Z</published><updated>2009-04-06T06:22:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2009/04/06/1430263.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2009/04/06/1430263.html"/><content type="text">  对于ASP.NET pages的请求需要有HTTP handler来处理，比如Page的instance。当有一个request来请求某个.aspx页面时，ASP.NET runtime会从ASP.NET thread pool中选一个thread来处理这个request, 并且在这个请求处理完成时释放这个thread。因此，如果这个 request请求的页面中的某一个...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2009/04/01/1427606.html</id><title type="text">IIS and VS Embedded Local Web Server</title><summary type="text">IIS and VS Embedded Local Web Server</summary><published>2009-04-01T15:16:00Z</published><updated>2009-04-01T15:16:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2009/04/01/1427606.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2009/04/01/1427606.html"/><content type="text">IIS and VS Embedded Local Web Server</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2008/08/06/1261564.html</id><title type="text">LINQ and Pipeline Pattern</title><summary type="text">LINQ and Pipeline Pattern</summary><published>2008-08-05T16:06:00Z</published><updated>2008-08-05T16:06:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2008/08/06/1261564.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/08/06/1261564.html"/><content type="text">LINQ and Pipeline Pattern</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2008/05/30/1210387.html</id><title type="text">Asp.Net MVC---Walkthrough</title><summary type="text">Asp.Net MVC---Walkthrough在上一篇关于Asp.Net MVC的文章中，对Asp.Net MVC作了一个High level的介绍，有兴趣的园友可以看一下这里。概念性的东西讲完了，现在该是动手写点Code的时候了，用原版技术书上的话说就是：Time to get your hands dirty。（文章写到一半，Asp.Net MVC Preview3发布了，所以，本文的的P...</summary><published>2008-05-29T17:05:00Z</published><updated>2008-05-29T17:05:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2008/05/30/1210387.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/05/30/1210387.html"/><content type="text">Asp.Net MVC---Walkthrough在上一篇关于Asp.Net MVC的文章中，对Asp.Net MVC作了一个High level的介绍，有兴趣的园友可以看一下这里。概念性的东西讲完了，现在该是动手写点Code的时候了，用原版技术书上的话说就是：Time to get your hands dirty。（文章写到一半，Asp.Net MVC Preview3发布了，所以，本文的的P...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2008/05/24/1206204.html</id><title type="text">Asp.Net MVC 入门篇——Overview</title><summary type="text">Introduction MVC应该算是一个古老的Design Pattern了，无论是在win form程序还是web程序中，它的应用都是比较广泛的。MVC也是我在学校中学习到的第一个设计模式。终于，可以在Asp.Net中应用了。本文的例子所用的是ASP.NET MVC Preview 2，可以在这里下载。 Create a new MVC project 菜单File-&gt;New Proj...</summary><published>2008-05-23T16:35:00Z</published><updated>2008-05-23T16:35:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2008/05/24/1206204.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/05/24/1206204.html"/><content type="text">Introduction MVC应该算是一个古老的Design Pattern了，无论是在win form程序还是web程序中，它的应用都是比较广泛的。MVC也是我在学校中学习到的第一个设计模式。终于，可以在Asp.Net中应用了。本文的例子所用的是ASP.NET MVC Preview 2，可以在这里下载。 Create a new MVC project 菜单File-&gt;New Proj...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2008/03/14/1104786.html</id><title type="text">Asp.Net 2.0之SqlCacheDependency</title><summary type="text">Introduction ASP.NET 2.0提供了一些新的用于提升程序性能的技术特性，其中，缓存技术是非常重要的一个特性，它提供了一种非常好的本地数据缓存机制，可以非常容易的定制属于数据缓从，从而有效的提高数据访问的性能。本文将介绍一下SqlCacheDenendency. 1. Page&amp;Source Code 为了简单起见，示例就是用Sql Server的Sample数据库。新建一...</summary><published>2008-03-13T17:09:00Z</published><updated>2008-03-13T17:09:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2008/03/14/1104786.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/03/14/1104786.html"/><content type="text">Introduction ASP.NET 2.0提供了一些新的用于提升程序性能的技术特性，其中，缓存技术是非常重要的一个特性，它提供了一种非常好的本地数据缓存机制，可以非常容易的定制属于数据缓从，从而有效的提高数据访问的性能。本文将介绍一下SqlCacheDenendency. 1. Page&amp;Source Code 为了简单起见，示例就是用Sql Server的Sample数据库。新建一...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2008/03/01/1087507.html</id><title type="text">Security Basics and ASP.NET Support（翻译）</title><summary type="text">论坛、电子商务网站、eMail网站、Portal和各种社区网站专注的方面和提供的服务不同。但是，他们都需要提供一个用户管理的功能。新访问者能够创建新的用户，并能用这个用户登陆。而Web服务器需要能够根据登陆的用户的信息，来判断当前用户所能访问的资源和不能的信息。本文是Asp.Net Web Form验证、授权、和用户管理这一系列文章中的第一篇。这一系列文章将会介绍如下的信息： 用户的识别和登陆 使...</summary><published>2008-03-01T13:18:00Z</published><updated>2008-03-01T13:18:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2008/03/01/1087507.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/03/01/1087507.html"/><content type="text">论坛、电子商务网站、eMail网站、Portal和各种社区网站专注的方面和提供的服务不同。但是，他们都需要提供一个用户管理的功能。新访问者能够创建新的用户，并能用这个用户登陆。而Web服务器需要能够根据登陆的用户的信息，来判断当前用户所能访问的资源和不能的信息。本文是Asp.Net Web Form验证、授权、和用户管理这一系列文章中的第一篇。这一系列文章将会介绍如下的信息： 用户的识别和登陆 使...</content></entry></feed>
