<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_用技术改变生活_分类_ASP.NET 2.0</title><id>http://feed.cnblogs.com/blog/u/7144/category/48075/rss</id><updated>2012-06-02T23:32:51Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/category/48075.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7144/category/48075/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/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/12/16/1355959.html</id><title type="text">Integrate jQuery with ASP.NET Data Controls</title><summary type="text">  Introduction 使用jQuery来实现Gridview, Repeater等服务器端数据展示控件的数据绑定和分页。本文的关注重点是数据如何实现数据绑定。 Content jQuery的强大和可用性使得其迅速的流行起来。微软也发布了一个补丁使得VS支持对jQuery的智能感应。由于Gridview，Repeater等控件的复杂性，使得几乎无法通过javascript在客...</summary><published>2008-12-16T06:19:00Z</published><updated>2008-12-16T06:19: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/12/16/1355959.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2008/12/16/1355959.html"/><content type="text">  Introduction 使用jQuery来实现Gridview, Repeater等服务器端数据展示控件的数据绑定和分页。本文的关注重点是数据如何实现数据绑定。 Content jQuery的强大和可用性使得其迅速的流行起来。微软也发布了一个补丁使得VS支持对jQuery的智能感应。由于Gridview，Repeater等控件的复杂性，使得几乎无法通过javascript在客...</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><entry><id>http://www.cnblogs.com/jun1st/archive/2007/09/18/897473.html</id><title type="text">Asp.Net Ajax用JavaScript调用服务器端代码</title><summary type="text">微软的Asp.Net Ajax框架使得实现AJAX功能变得非常的简单，但是在实际使用的过程中，还是可能会碰到很多的问题。今天，为了实现在用户焦点离开一个输入框的时候，能够从数据库查询相应的信息，并且填如相应的输入框中，就简单用了一下这个Ajax框架。碰到了不少问题，也Google了不少时间，才终于成功的运行起来了。首先，给输入框添加焦点失去的事件。我选择用OnBlur，不知道是不是最正确的，^_^...</summary><published>2007-09-18T09:19:00Z</published><updated>2007-09-18T09:19:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2007/09/18/897473.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2007/09/18/897473.html"/><content type="text">微软的Asp.Net Ajax框架使得实现AJAX功能变得非常的简单，但是在实际使用的过程中，还是可能会碰到很多的问题。今天，为了实现在用户焦点离开一个输入框的时候，能够从数据库查询相应的信息，并且填如相应的输入框中，就简单用了一下这个Ajax框架。碰到了不少问题，也Google了不少时间，才终于成功的运行起来了。首先，给输入框添加焦点失去的事件。我选择用OnBlur，不知道是不是最正确的，^_^...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2007/05/24/759067.html</id><title type="text">showModalDialog和Postback</title><summary type="text">今天碰到一个让我一开始觉得莫名其妙的问题, 用window.showModalDialog打开一个.aspx文件,然后点击这个页面上一个button, 把页面的数据存入数据库之后,居然又打开一个这个页面在google上搜索了不小一会之后,终于找到了原因了. 点击页面上button,会产生一个postback事件,等服务器处理完之后把更新的数据发送到客户端完成页面的刷新.但是由于页面是以modald...</summary><published>2007-05-24T14:30:00Z</published><updated>2007-05-24T14:30:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2007/05/24/759067.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2007/05/24/759067.html"/><content type="text">今天碰到一个让我一开始觉得莫名其妙的问题, 用window.showModalDialog打开一个.aspx文件,然后点击这个页面上一个button, 把页面的数据存入数据库之后,居然又打开一个这个页面在google上搜索了不小一会之后,终于找到了原因了. 点击页面上button,会产生一个postback事件,等服务器处理完之后把更新的数据发送到客户端完成页面的刷新.但是由于页面是以modald...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2007/05/03/734908.html</id><title type="text">理解Asp.Net Pages</title><summary type="text">1.动态编译当一个Asp.Net Page被创建时,实际上创建的是一个.net类, 一个System.Web.UI.Page的实例. 页面的所有内容,包括HTML代码和Script代码,都被编译进这个.net类中.当有一个Request请求这个页面时,Asp.Net Framework检查被请求页面的相应的类是否存在,如果不存在则把页面编译成.net类,并且把编译了的类(assembly)存放到T...</summary><published>2007-05-02T20:48:00Z</published><updated>2007-05-02T20:48:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2007/05/03/734908.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2007/05/03/734908.html"/><content type="text">1.动态编译当一个Asp.Net Page被创建时,实际上创建的是一个.net类, 一个System.Web.UI.Page的实例. 页面的所有内容,包括HTML代码和Script代码,都被编译进这个.net类中.当有一个Request请求这个页面时,Asp.Net Framework检查被请求页面的相应的类是否存在,如果不存在则把页面编译成.net类,并且把编译了的类(assembly)存放到T...</content></entry><entry><id>http://www.cnblogs.com/jun1st/archive/2007/05/02/734301.html</id><title type="text">解决"unable to connect to visual studio s localhost web server"</title><summary type="text">今天在用vs 2005工作的时候, 突然间出现这个错误"unable to connect to visual studio s localhost web server". 在网上搜索了好久,才找到解决方法. 原来很简单,把windows的防火墙关了,再运行一下程序,应该就好了.然后就可以把防火墙再打开了</summary><published>2007-05-01T17:12:00Z</published><updated>2007-05-01T17:12:00Z</updated><author><name>Jun1st</name><uri>http://www.cnblogs.com/jun1st/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jun1st/archive/2007/05/02/734301.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jun1st/archive/2007/05/02/734301.html"/><content type="text">今天在用vs 2005工作的时候, 突然间出现这个错误"unable to connect to visual studio s localhost web server". 在网上搜索了好久,才找到解决方法. 原来很简单,把windows的防火墙关了,再运行一下程序,应该就好了.然后就可以把防火墙再打开了</content></entry></feed>
