<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C04FRHc-eip7ImA9WhRUGUw.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091</id><updated>2012-01-30T00:25:15.952-08:00</updated><category term="Visual Studio" /><category term="jQuery" /><category term="Microsoft" /><category term="javascript" /><category term="CSS" /><category term="Email" /><category term="Cache" /><category term="EPPlus" /><category term="Excel Export" /><category term="Service Pack" /><category term="Advance" /><category term="Mouse Events" /><category term="XML" /><category term="Tips" /><category term="Session" /><category term="Thumbnail" /><category term="Ajax" /><category term="c#" /><category term="Code" /><category term="Database" /><category term="browser" /><category term="web service" /><category term="errors" /><category term="Cookies" /><category term="News" /><category term="Optimization" /><category term="ASP .Net" /><category term="Serialization" /><category term="Silverlight" /><title>Zeeshan Umar's .Net Blog</title><subtitle type="html">This Blog dedicated to Microsoft Technologies specially ASP .Net and C#.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://zeeshanumardotnet.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/cJlgn" /><feedburner:info uri="blogspot/cjlgn" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0YGQn48eSp7ImA9WhRWF0o.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-6297081992382445869</id><published>2011-12-05T02:43:00.000-08:00</published><updated>2012-01-05T06:52:03.071-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-05T06:52:03.071-08:00</app:edited><title>How to dynamically change connection string in web.config</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/6297081992382445869/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/12/how-to-dynamically-change-connection.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/6297081992382445869?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/6297081992382445869?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/-aWq1aNi9ZA/how-to-dynamically-change-connection.html" title="How to dynamically change connection string in web.config" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">Most of people wonder how they can dynamically change the contents of web.config file. To simplify things I have created couple of functions through which you can change the contents of web.config file. Here is the code to change the contents of web.config file:-
/// &amp;lt;summary&amp;gt;/// Updates the setting./// &amp;lt;/summary&amp;gt;/// &amp;lt;param name="key"&amp;gt;The key.&amp;lt;/param&amp;gt;/// &amp;lt;param name="value"&amp;gt;The value.&amp;lt;/param&amp;gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eupla20-6MnJY94u8UahfLw3YA8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eupla20-6MnJY94u8UahfLw3YA8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eupla20-6MnJY94u8UahfLw3YA8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eupla20-6MnJY94u8UahfLw3YA8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/-aWq1aNi9ZA" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/12/how-to-dynamically-change-connection.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYFSHc9fyp7ImA9WhRTE0U.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-8817432133965173081</id><published>2011-11-03T22:05:00.000-07:00</published><updated>2011-11-03T22:05:19.967-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-03T22:05:19.967-07:00</app:edited><title>Unable to find the requested .Net Framework Data Provider. It may not be installed</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/8817432133965173081/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/11/unable-to-find-requested-net-framework.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/8817432133965173081?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/8817432133965173081?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/x-tEQNEkI3Y/unable-to-find-requested-net-framework.html" title="Unable to find the requested .Net Framework Data Provider. It may not be installed" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-YpZkJPSR8gU/TrNvOveDGlI/AAAAAAAAATU/10lWx109j3g/s72-c/Activation%2BException%2B1.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">Hi guys, I was on my holidays and enjoying something different so I was away for some time. However right now I am back and working on a Sliver light project. In that project I found an interesting situation which I would like to share with you. I was using Enterprise Library 5.0 for my connection string and I was using Oracle.DataAccess for my connection.

Here was the line on which I was 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ps6tc2fpUSkK2refMPKpPM62WaM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ps6tc2fpUSkK2refMPKpPM62WaM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ps6tc2fpUSkK2refMPKpPM62WaM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ps6tc2fpUSkK2refMPKpPM62WaM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/x-tEQNEkI3Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/11/unable-to-find-requested-net-framework.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8BR34-fyp7ImA9WhdWE0Q.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-7005605115443977361</id><published>2011-09-07T04:10:00.000-07:00</published><updated>2011-09-07T04:10:56.057-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-07T04:10:56.057-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c#" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>How to create Tag Cloud, Word Cloud or Weighted List</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/7005605115443977361/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/09/how-to-create-tag-cloud-word-cloud-or.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7005605115443977361?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7005605115443977361?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/7V4ag_MZ0cY/how-to-create-tag-cloud-word-cloud-or.html" title="How to create Tag Cloud, Word Cloud or Weighted List" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Xu2v65076xg/TmdPoY1ZXKI/AAAAAAAAAS8/bY9vskMCJcQ/s72-c/Zeeshan+Umar+Tag+Cloud+1.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">Tag Cloud, Word Cloud or Weighted List is the visual representation of keywords/tags on websites that shows the importance of keyword/tag. I am sharing a simple code to generate a Tag Could. You can download whole code from this location.

First I have created list of Tags. You can use database to fetch the tags and pass them to this list:-
//Creating a list of TagsList&amp;lt;string&amp;gt; lst = new List&amp;lt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PlEwJTiqtWQxbYHrfljo3n-6MTY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PlEwJTiqtWQxbYHrfljo3n-6MTY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PlEwJTiqtWQxbYHrfljo3n-6MTY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PlEwJTiqtWQxbYHrfljo3n-6MTY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/7V4ag_MZ0cY" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/09/how-to-create-tag-cloud-word-cloud-or.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cCQ3Yyeip7ImA9WhdRGE0.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-7360127652660465433</id><published>2011-08-08T05:02:00.000-07:00</published><updated>2011-08-08T05:04:22.892-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-08T05:04:22.892-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Optimization" /><title>Improve ASP.Net Performance by effective utilitzation of String</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/7360127652660465433/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/08/improve-aspnet-performance-by-effective.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7360127652660465433?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7360127652660465433?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/HmcfeD1ydMM/improve-aspnet-performance-by-effective.html" title="Improve ASP.Net Performance by effective utilitzation of String" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">Many people ask me that how they can improve their website's performance? There are many ways through which you can improve the performance of your website but today, I will discuss the performance improvement with Strings. 
In my opinion String is the most frequently used data type compared to other data types available. But there is a big problem with string, it is immutable. An immutable 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xVm72hEK74vTYBZjdwVrDuAB7JI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xVm72hEK74vTYBZjdwVrDuAB7JI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xVm72hEK74vTYBZjdwVrDuAB7JI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xVm72hEK74vTYBZjdwVrDuAB7JI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/HmcfeD1ydMM" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/08/improve-aspnet-performance-by-effective.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4NRXoyfyp7ImA9WhdRGEo.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-7513453601778301999</id><published>2011-08-04T04:33:00.000-07:00</published><updated>2011-08-09T01:03:14.497-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T01:03:14.497-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mouse Events" /><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>Drag and Drop in Siliverlight using Mouse</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/7513453601778301999/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/08/drag-and-drop-in-siliverlight-and-mouse.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7513453601778301999?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/7513453601778301999?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/9b8X1g75yxk/drag-and-drop-in-siliverlight-and-mouse.html" title="Drag and Drop in Siliverlight using Mouse" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Ci9H6_wPEOY/Tjfp_u5bkNI/AAAAAAAAASs/zma_xrfMJwM/s72-c/Zeeshan+Umar+Silverlight+1.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">Recently I started working with Silverlight. It is really a wonderful tool from Microsoft and I am too excited about it. It gives developer the power to create impressive looking user interface. In this tutorial I will focus on drag and drop functionality in Silverlight using mouse. You can download complete source code from SilverLightMouseEvents.zip.

First create a new Silverlight Application 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FoJ-A38km73XyayI5gVMd4PtcBQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FoJ-A38km73XyayI5gVMd4PtcBQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FoJ-A38km73XyayI5gVMd4PtcBQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FoJ-A38km73XyayI5gVMd4PtcBQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/9b8X1g75yxk" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/08/drag-and-drop-in-siliverlight-and-mouse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcGQXk_eCp7ImA9WhdTFUQ.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-1273847266744278421</id><published>2011-07-12T08:11:00.000-07:00</published><updated>2011-07-13T16:00:20.740-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-13T16:00:20.740-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><title>How to print contents of Div only</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/1273847266744278421/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/07/how-to-print-contents-of-div-only.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/1273847266744278421?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/1273847266744278421?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/8jjOzy2M8jU/how-to-print-contents-of-div-only.html" title="How to print contents of Div only" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-OAsSGRYGwWY/ThxjRB27I5I/AAAAAAAAASY/pE6DrB55_kQ/s72-c/Zeeshan+Umar+Div+Print+1.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">Generally we do not want to create complex report and our clients are not interested in purchasing expensive reporting tools then we can generate simple HTML based reports for them. You just have to place your report inside a&amp;lt; div&amp;gt;... &amp;lt; / div&amp;gt; and you can easily print that. Here is a sample through which you can easily print contents of specified div only:-
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qv8NKXtG0WTfFIASbHbBxgeSGow/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qv8NKXtG0WTfFIASbHbBxgeSGow/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qv8NKXtG0WTfFIASbHbBxgeSGow/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qv8NKXtG0WTfFIASbHbBxgeSGow/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/8jjOzy2M8jU" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/07/how-to-print-contents-of-div-only.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYGQnkzfip7ImA9WhZaF0o.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-2091222514626704009</id><published>2011-07-04T03:42:00.000-07:00</published><updated>2011-07-04T03:42:03.786-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-04T03:42:03.786-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="News" /><title>Article of the Day, XML Serilization Tutorial</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/2091222514626704009/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/07/article-of-day-xml-serilization.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2091222514626704009?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2091222514626704009?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/i_XbAbxUIaM/article-of-day-xml-serilization.html" title="Article of the Day, XML Serilization Tutorial" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Z3sjj9KapeI/ThGYzH7wLII/AAAAAAAAASA/pxoqJmd7FKQ/s72-c/Article+of+the+Day2.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">On Saturday, Jul 02, 2011, my article on 'XML Serialization Tutorial' was selected as 'Article of the Day' at http://www.asp.net.



I also recommend to all of readers to do share useful articles on http://www.asp.net/community. Whenever you found an article which is interesting and can be useful for others.


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mmErcte7oahtOlsZxjeVRZuVEvQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mmErcte7oahtOlsZxjeVRZuVEvQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mmErcte7oahtOlsZxjeVRZuVEvQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mmErcte7oahtOlsZxjeVRZuVEvQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/i_XbAbxUIaM" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/07/article-of-day-xml-serilization.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YMRXY4fyp7ImA9WhZaEEk.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-6011005815246219850</id><published>2011-06-25T15:31:00.000-07:00</published><updated>2011-06-25T15:33:04.837-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-25T15:33:04.837-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="c#" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>How to get the week number of date</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/6011005815246219850/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/06/how-to-get-week-number-of-date.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/6011005815246219850?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/6011005815246219850?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/89So1JQ1STI/how-to-get-week-number-of-date.html" title="How to get the week number of date" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">Recently I faced a problem in my project that I have 52 images and I have to display images based on the week of year. So as a solution I created images with image name like image1.jpg,image2.jpg and so on. And created a small function which returns the week of year. Here is the code through which I calculated the week of year after searching it on net for a while:-
/// &amp;lt;summary&amp;gt;/// Gets the week
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Bs_vfvZwtQ1xxYhQdZ8HBXLFpyA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Bs_vfvZwtQ1xxYhQdZ8HBXLFpyA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Bs_vfvZwtQ1xxYhQdZ8HBXLFpyA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Bs_vfvZwtQ1xxYhQdZ8HBXLFpyA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/89So1JQ1STI" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/06/how-to-get-week-number-of-date.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAGSH8-eSp7ImA9WhZaEEk.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-463708158808618836</id><published>2011-06-23T08:35:00.000-07:00</published><updated>2011-06-25T16:32:09.151-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-25T16:32:09.151-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c#" /><category scheme="http://www.blogger.com/atom/ns#" term="EPPlus" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel Export" /><title>Creating Reports in Excel 2007 using EPPlus (Header, Footer, Comments, Image, Formatting, Shape and Formula)</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/463708158808618836/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/06/creating-reports-in-excel-2007-using.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/463708158808618836?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/463708158808618836?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/fE9r2rk4Rgw/creating-reports-in-excel-2007-using.html" title="Creating Reports in Excel 2007 using EPPlus (Header, Footer, Comments, Image, Formatting, Shape and Formula)" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-MqyIrgfLTuY/TgZvv7CyvkI/AAAAAAAAAR8/SsrxKa-tSis/s72-c/Zeeshan+Umar+Excel+Formula+Image+Formatting.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">IntroductionEPPlus is really a powerful tool to generate excel based reports on server side and it is becoming my favorite tool as I am getting more experienced with it. Previously I wrote a post about Creating advanced Excel 2007 Reports on Server. This post is update on the last post and I am sharing more advanced feature of EP Plus.

Code which I used in this post can be downloaded from this 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/o0WGG5bd3UpP6B0PV4VzXiMZISc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/o0WGG5bd3UpP6B0PV4VzXiMZISc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/o0WGG5bd3UpP6B0PV4VzXiMZISc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/o0WGG5bd3UpP6B0PV4VzXiMZISc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/fE9r2rk4Rgw" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/06/creating-reports-in-excel-2007-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUFRXw-eip7ImA9WhdTE0o.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-4489298959535990720</id><published>2011-05-31T02:57:00.000-07:00</published><updated>2011-07-11T01:33:34.252-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-11T01:33:34.252-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Cache" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="CSS" /><title>How to prevent cache issue with Images, CSS and Java scripts, a better aproach</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/4489298959535990720/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/05/how-to-prevent-cache-issue-with-images.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4489298959535990720?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4489298959535990720?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/FT_X6DL_4ww/how-to-prevent-cache-issue-with-images.html" title="How to prevent cache issue with Images, CSS and Java scripts, a better aproach" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>1</thr:total><content type="html">Generally when we update images, CSS or java script (.js) files on server, browser still shows old files. This is because in first request, browser download all images, CSS and .js files. But on subsequent requests, browser load images, CSS and .js files from its cache. Here is the solution which you might found on most of blogs i.e. add a DateTime.Now.Ticks as parameter after file name like this
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QbUag8fhulKsdiQmwarSB_T8NTo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QbUag8fhulKsdiQmwarSB_T8NTo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QbUag8fhulKsdiQmwarSB_T8NTo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QbUag8fhulKsdiQmwarSB_T8NTo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/FT_X6DL_4ww" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/05/how-to-prevent-cache-issue-with-images.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcHQn85eyp7ImA9WhZVE04.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-5911461930956401903</id><published>2011-05-25T07:32:00.000-07:00</published><updated>2011-05-25T07:33:53.123-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T07:33:53.123-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Serialization" /><category scheme="http://www.blogger.com/atom/ns#" term="XML" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>XML Serilization Tutorial</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/5911461930956401903/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/05/xml-serilization-tutorial.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/5911461930956401903?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/5911461930956401903?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/8RXLVVKyaU0/xml-serilization-tutorial.html" title="XML Serilization Tutorial" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-5L3lkHLef3o/Td0BCqqo7lI/AAAAAAAAARw/dil7f64HJDw/s72-c/Zeeshan+Umar+Serialization+Tutorial+1.png" height="72" width="72" /><thr:total>4</thr:total><content type="html">Introduction

Many people ask that how XML serialization work, how can we serialize our data to permanent storage. My objective is to save and load data in XML and avoid the complexity of DOM (Document Object Model). Also I want to drive a generalized mechanism which can be used in multiple projects without modification.
  
In this tutorial I am considering a case of Simple Invoice System. I will
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7Lr7KE-To2S3m5LjB5HdcH5ZLl0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7Lr7KE-To2S3m5LjB5HdcH5ZLl0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7Lr7KE-To2S3m5LjB5HdcH5ZLl0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7Lr7KE-To2S3m5LjB5HdcH5ZLl0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/8RXLVVKyaU0" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/05/xml-serilization-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEINQXczfCp7ImA9WhZVE08.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-1830316586531680458</id><published>2011-05-25T04:23:00.000-07:00</published><updated>2011-05-25T04:23:10.984-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T04:23:10.984-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CSS" /><title>How to create a single border table with help of CSS</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/1830316586531680458/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/05/how-to-create-single-border-table-with.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/1830316586531680458?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/1830316586531680458?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/hc2r8mFJpe8/how-to-create-single-border-table-with.html" title="How to create a single border table with help of CSS" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-NA1UxZ3UL10/TdzmK4uKFFI/AAAAAAAAARc/LUxFQI_iWuM/s72-c/Zeeshan%2BUmar%2BTable%2BBorder.png" height="72" width="72" /><thr:total>1</thr:total><content type="html">When I was new with CSS, I found it very difficult to create a single bordered excel like tables. Most of the time my tables look like this:-



So I learned a trick through which I can get a smooth 1px border quite easily. Here is the CSS which I use to create good looking tables.

&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
    &amp;lt;style type="text/css"&amp;gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xFrOjDu4qn5UrM1ABpF4dEbF0es/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xFrOjDu4qn5UrM1ABpF4dEbF0es/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xFrOjDu4qn5UrM1ABpF4dEbF0es/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xFrOjDu4qn5UrM1ABpF4dEbF0es/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/hc2r8mFJpe8" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/05/how-to-create-single-border-table-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMAQH0_fip7ImA9WhZQF04.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-3419349721719853568</id><published>2011-04-25T05:09:00.000-07:00</published><updated>2011-04-25T05:10:41.346-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-25T05:10:41.346-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><title>Lots of Free Images and Icons with Visual Studio 2008 Image Library</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/3419349721719853568/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/04/lots-of-free-images-and-icons-with.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3419349721719853568?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3419349721719853568?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/fEpvgCOX9dI/lots-of-free-images-and-icons-with.html" title="Lots of Free Images and Icons with Visual Studio 2008 Image Library" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-7M04SyOrmvo/TbVkGou0sgI/AAAAAAAAARM/VHnX5g3al0Q/s72-c/Visual+Studio+2008+Icon+folder.png" height="72" width="72" /><thr:total>1</thr:total><content type="html">Microsoft has shipped a great image and icon library with Visual Studio 2008. This library is available at following location:-

C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip

Here is what is inside that zip file:-
You can use that icon free of cost in any of your projects. But there is one note which I found in extracted folder. Here is the 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YsaLxMNtl8Qh40d5dCkRQmInlTQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YsaLxMNtl8Qh40d5dCkRQmInlTQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YsaLxMNtl8Qh40d5dCkRQmInlTQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YsaLxMNtl8Qh40d5dCkRQmInlTQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/fEpvgCOX9dI" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/04/lots-of-free-images-and-icons-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYARH84cSp7ImA9WhZQEkw.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-3606607507982034179</id><published>2011-04-19T05:26:00.000-07:00</published><updated>2011-04-19T05:29:05.139-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-19T05:29:05.139-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><category scheme="http://www.blogger.com/atom/ns#" term="Code" /><title>How to restart your web application</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/3606607507982034179/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/04/how-to-restart-your-web-application.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3606607507982034179?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3606607507982034179?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/W42gPPC_P00/how-to-restart-your-web-application.html" title="How to restart your web application" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">Generally we all use cache to improve our website's performance. Caching is really useful when we are frequently displaying data which rarely requires changes. But, sometime client request an immediate change in cache entries and we have no option to manually run IISReset or change the contents of web.config file to clear all the cache. 

In below code, I am sharing different approaches which can
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b-iEIEUBH6iWuOXG6mkjb9nurC0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b-iEIEUBH6iWuOXG6mkjb9nurC0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b-iEIEUBH6iWuOXG6mkjb9nurC0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b-iEIEUBH6iWuOXG6mkjb9nurC0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/W42gPPC_P00" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/04/how-to-restart-your-web-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MHR349eyp7ImA9WhZTE04.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-2600782135601538251</id><published>2011-03-16T00:55:00.000-07:00</published><updated>2011-03-16T21:17:16.063-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-16T21:17:16.063-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Service Pack" /><category scheme="http://www.blogger.com/atom/ns#" term="News" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft" /><title>Microsoft has released Visual Studio 2010 Service Pack 1 (SP1)</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/2600782135601538251/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/03/microsoft-has-released-visual-studio.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2600782135601538251?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2600782135601538251?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/Jc-0Z1yoego/microsoft-has-released-visual-studio.html" title="Microsoft has released Visual Studio 2010 Service Pack 1 (SP1)" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>2</thr:total><content type="html">Microsoft has released long awaited service pack 1 for Visual Studio 2010. You can download this from here.

This Service Pack includes number of feature enhancements along with the bug fixes. Major enhancement for me is the HTML 5 support and IntelliTrace (formally known as Historical Debugger) for SharePoint.

Here are some of the major enhancements:-
General
Many Bug Fixes
Help Viewer 1.1

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m_vH19oJIr5ljj7YKrZK4Fdd5Yc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m_vH19oJIr5ljj7YKrZK4Fdd5Yc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m_vH19oJIr5ljj7YKrZK4Fdd5Yc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m_vH19oJIr5ljj7YKrZK4Fdd5Yc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/Jc-0Z1yoego" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/03/microsoft-has-released-visual-studio.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AGQnszfCp7ImA9WhZSE0Q.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-294276511463757324</id><published>2011-03-11T05:00:00.000-08:00</published><updated>2011-03-29T03:48:43.584-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-29T03:48:43.584-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Cookies" /><category scheme="http://www.blogger.com/atom/ns#" term="Session" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>How to implement Cookieless Session in ASP. Net</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/294276511463757324/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/03/how-to-implement-cookieless-session-in.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/294276511463757324?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/294276511463757324?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/6bmh3uPnkyg/how-to-implement-cookieless-session-in.html" title="How to implement Cookieless Session in ASP. Net" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/-Kqbv3B85dm4/TXocfts53BI/AAAAAAAAAQ8/S7Pp-vrXSys/s72-c/Zeeshan+Umar+Session+Cookieless+1.png" height="72" width="72" /><thr:total>1</thr:total><content type="html">By default ASP.Net relies on cookies to store session id. Cookies are actually a text data which is stored in browser. Generally cookies are not considered a safe way to store information. Also there is a chance that browser have disabled the cookies and in that case our application wont work on that browser. 

To avoid such situation, we can use Cookieless session. To implement that you just 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1zQPz0uJlRMwlLUGO7roVGu__kI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1zQPz0uJlRMwlLUGO7roVGu__kI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1zQPz0uJlRMwlLUGO7roVGu__kI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1zQPz0uJlRMwlLUGO7roVGu__kI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/6bmh3uPnkyg" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/03/how-to-implement-cookieless-session-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4BSHoycCp7ImA9Wx9aF0k.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-4381980887765183119</id><published>2011-03-10T01:22:00.000-08:00</published><updated>2011-03-10T01:22:39.498-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-10T01:22:39.498-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Cache" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>How to Clear all elements from Cache</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/4381980887765183119/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/03/how-to-clear-all-elements-from-cache.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4381980887765183119?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4381980887765183119?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/kIdwrnpkldg/how-to-clear-all-elements-from-cache.html" title="How to Clear all elements from Cache" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">There are many situations when we want to clear contents of the cache in our ASP. Net application. Here is a quick and dirty way to remove all the contents from our cache.

        /// &amp;lt;summary&amp;gt;        /// Clears all the data from Cache        /// &amp;lt;/summary&amp;gt;        public void ClearCache()        {            try            {                List&amp;lt;string&amp;gt; keyList = new List&amp;lt;string&amp;gt;();
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PeLxwo1QZLbW_N6Cg_sI3IfAMjA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PeLxwo1QZLbW_N6Cg_sI3IfAMjA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PeLxwo1QZLbW_N6Cg_sI3IfAMjA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PeLxwo1QZLbW_N6Cg_sI3IfAMjA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/kIdwrnpkldg" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/03/how-to-clear-all-elements-from-cache.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4CSX04fSp7ImA9WhZTE0k.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-4877651866844026360</id><published>2011-03-04T14:43:00.000-08:00</published><updated>2011-03-17T00:29:28.335-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T00:29:28.335-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Cache" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>Understanding Asp.net Cache Sliding Expiration and Absolute Expiration</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/4877651866844026360/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/03/understanding-aspnet-cache-sliding.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4877651866844026360?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4877651866844026360?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/JpqoC9fKY7w/understanding-aspnet-cache-sliding.html" title="Understanding Asp.net Cache Sliding Expiration and Absolute Expiration" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>1</thr:total><content type="html">Asp .Net provides two different ways to expire the cache on the basis of time. Here are two aproaches:-
Sliding Expiration
Absolute Expiration 
1. Absolute Expiration 
Absolute expiration means that your data will be removed from cache after fixed amount of time either it is accessed or not. Generally we use it when we are displaying data which is changing but we can afford to display outdated 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Lat9o9SMFithI-Q-3cluoU_bHsg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lat9o9SMFithI-Q-3cluoU_bHsg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Lat9o9SMFithI-Q-3cluoU_bHsg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lat9o9SMFithI-Q-3cluoU_bHsg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/JpqoC9fKY7w" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/03/understanding-aspnet-cache-sliding.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UFR386fSp7ImA9Wx9bFkw.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-2253417037794656203</id><published>2011-02-24T23:31:00.000-08:00</published><updated>2011-02-24T23:33:36.115-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-24T23:33:36.115-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="News" /><title>Article of the Day, PageMethod - An Easier and Faster Approach for ASP.NET Ajax</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/2253417037794656203/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/02/article-of-day-pagemethod-easier-and.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2253417037794656203?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2253417037794656203?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/7o4gQQ9341U/article-of-day-pagemethod-easier-and.html" title="Article of the Day, PageMethod - An Easier and Faster Approach for ASP.NET Ajax" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-NDqLJ2Zija0/TWdYjnvigbI/AAAAAAAAAQ4/Iemc40AWl_w/s72-c/Article+of+the+Day.png" height="72" width="72" /><thr:total>2</thr:total><content type="html">On Sunday, Feb 20, 2011, my article 'PageMethod - An Easier and Faster Approach for ASP.NET Ajax' was selected as 'Article of the Day' at http://www.asp.net.


I also recommend to all of readers to do share useful articles on http://www.asp.net/community. Whenever you found an article which is interesting and can be useful for others.


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xwia7RwEmoOkiEUc9BednLdH_uc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwia7RwEmoOkiEUc9BednLdH_uc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xwia7RwEmoOkiEUc9BednLdH_uc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xwia7RwEmoOkiEUc9BednLdH_uc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/7o4gQQ9341U" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/02/article-of-day-pagemethod-easier-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMMRng-fCp7ImA9Wx9aEUs.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-2084624899354027593</id><published>2011-02-24T07:58:00.000-08:00</published><updated>2011-03-03T07:01:27.654-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-03T07:01:27.654-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="c#" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>How to Pass value from ASP.Net to Javascript</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/2084624899354027593/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/02/how-to-pass-value-from-aspnet-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2084624899354027593?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/2084624899354027593?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/Bi0h-aFd08o/how-to-pass-value-from-aspnet-to.html" title="How to Pass value from ASP.Net to Javascript" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-1XsRVVzCpbs/TWZ5yvezv3I/AAAAAAAAAQo/eCl_H_i5rCc/s72-c/MessageZeeshan.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">Many times we have to pass a value from server side (ASP.Net) to client side (java script) and many peoples ask this question that how we can accomplish this task. Here I am sharing some examples in which I will tell different approaches to send values from ASP.Net to javascript.

1- &amp;lt;%=%&amp;gt; Construct
You can simply use a &amp;lt;%=%&amp;gt; construct to pass server side variable to client side. Here is how you 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UlXk7yPxsbnwZj2zm2OqkQSPr8g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UlXk7yPxsbnwZj2zm2OqkQSPr8g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UlXk7yPxsbnwZj2zm2OqkQSPr8g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UlXk7yPxsbnwZj2zm2OqkQSPr8g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/Bi0h-aFd08o" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/02/how-to-pass-value-from-aspnet-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkECR3o9eip7ImA9Wx9aEUs.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-3628661586333608788</id><published>2011-01-13T04:21:00.000-08:00</published><updated>2011-03-03T07:04:26.462-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-03T07:04:26.462-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Session" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><category scheme="http://www.blogger.com/atom/ns#" term="browser" /><title>How to end session when browser is closed</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/3628661586333608788/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2011/01/how-to-end-session-when-browser-is.html#comment-form" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3628661586333608788?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3628661586333608788?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/0aZzfu5DGqI/how-to-end-session-when-browser-is.html" title="How to end session when browser is closed" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>7</thr:total><content type="html">In high traffic sites sessions are very costly and they use lots of server's memory. Generally session timeout is 20 min (by default) and even if user closes the browser. Values in session still exist until session get expired after timeout. We can save lots of server memory if we destroy session as user closes the browser.

Here is how you can do it:-

1)First create a page AutoLogOut.aspx and 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XfWSVDw8EwabcHo6TwSWO6j5fPk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XfWSVDw8EwabcHo6TwSWO6j5fPk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XfWSVDw8EwabcHo6TwSWO6j5fPk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XfWSVDw8EwabcHo6TwSWO6j5fPk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/0aZzfu5DGqI" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2011/01/how-to-end-session-when-browser-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQAQng9eCp7ImA9Wx9SGEQ.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-4116554042575884437</id><published>2010-12-08T02:46:00.000-08:00</published><updated>2010-12-09T03:32:23.660-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-09T03:32:23.660-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c#" /><category scheme="http://www.blogger.com/atom/ns#" term="Code" /><title>Real World Scenario: Object Writer</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/4116554042575884437/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2010/12/real-world-scenario-object-writer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4116554042575884437?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4116554042575884437?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/Om2Ad9R3I90/real-world-scenario-object-writer.html" title="Real World Scenario: Object Writer" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_RSbmDuCSaic/TP9hpxF-1jI/AAAAAAAAAQY/OSrBa4wi4gI/s72-c/ObjectWriter.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">Recently in a project I was facing a bug which was very difficult to reproduce. So, I decided to log object with complete properties in a text file. This code can be really useful for those who want to solve bugs which only occurs very rarely.

Here is the code of my class which converts object into a string:-

public class ObjectWriter{    public static string GetObjectString(object obj)    {
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d_lE77ASCfY3ZZz-worpdntQBI8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d_lE77ASCfY3ZZz-worpdntQBI8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d_lE77ASCfY3ZZz-worpdntQBI8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d_lE77ASCfY3ZZz-worpdntQBI8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/Om2Ad9R3I90" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2010/12/real-world-scenario-object-writer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQCQHs8fSp7ImA9Wx9TFE8.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-4239849128321399756</id><published>2010-11-22T04:18:00.000-08:00</published><updated>2010-11-22T04:19:21.575-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-22T04:19:21.575-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="web service" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><category scheme="http://www.blogger.com/atom/ns#" term="jQuery" /><title>How to keep session alive in ASP.Net using Webservice and jQuery</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/4239849128321399756/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2010/11/how-to-keep-session-alive-in-aspnet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4239849128321399756?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/4239849128321399756?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/IN4a8nkxHLA/how-to-keep-session-alive-in-aspnet.html" title="How to keep session alive in ASP.Net using Webservice and jQuery" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>0</thr:total><content type="html">Most of the time when we develop intranet web applications, our clients request us that they only have to log in in the morning when they reach office. It seems very easy to implement i.e. increase session timeout to 10+ hours and we are done.

But there is a drawback of this approach. Even if user close the browser, session's data will occupy server's memory till 10+ hours and our site's 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PcF8HYkrkA6XwYOWo_q9BMVhhr4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PcF8HYkrkA6XwYOWo_q9BMVhhr4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PcF8HYkrkA6XwYOWo_q9BMVhhr4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PcF8HYkrkA6XwYOWo_q9BMVhhr4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/IN4a8nkxHLA" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2010/11/how-to-keep-session-alive-in-aspnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIESXsycCp7ImA9Wx9XGU8.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-8303270808317827476</id><published>2010-11-16T02:39:00.000-08:00</published><updated>2011-01-13T04:41:48.598-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-13T04:41:48.598-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Ajax" /><title>PageMethod an easier and faster approach for Asp.Net AJAX</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/8303270808317827476/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2010/11/pagemethod-easier-and-faster-approach.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/8303270808317827476?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/8303270808317827476?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/CYOKXNNl1MU/pagemethod-easier-and-faster-approach.html" title="PageMethod an easier and faster approach for Asp.Net AJAX" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_RSbmDuCSaic/TOJa2QXBRKI/AAAAAAAAAPk/CPY4g4LZ4UA/s72-c/PageMethod.jpg" height="72" width="72" /><thr:total>4</thr:total><content type="html">We can easily improve user experience and performance of web applications by unleashing the power of AJAX. One of the best things which I like in AJAX is PageMethod. 

PageMethod is a way through which we can expose server side page's method in java script. This brings so many opportunities we can perform lots of operations without using slow and annoying post backs.

In this post I am showing 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s3i5hvqvah0QSyeJc5eSM3bqxDM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s3i5hvqvah0QSyeJc5eSM3bqxDM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s3i5hvqvah0QSyeJc5eSM3bqxDM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s3i5hvqvah0QSyeJc5eSM3bqxDM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/CYOKXNNl1MU" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2010/11/pagemethod-easier-and-faster-approach.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04DQns-fyp7ImA9Wx9WFUQ.&quot;"><id>tag:blogger.com,1999:blog-6927957479105321091.post-3734707235069728577</id><published>2010-09-15T05:21:00.000-07:00</published><updated>2011-01-20T22:39:33.557-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-20T22:39:33.557-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Session" /><category scheme="http://www.blogger.com/atom/ns#" term="ASP .Net" /><title>ASP.Net State Server</title><link rel="replies" type="application/atom+xml" href="http://zeeshanumardotnet.blogspot.com/feeds/3734707235069728577/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://zeeshanumardotnet.blogspot.com/2010/09/aspnet-state-server.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3734707235069728577?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6927957479105321091/posts/default/3734707235069728577?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/cJlgn/~3/4SkJLKOFDLU/aspnet-state-server.html" title="ASP.Net State Server" /><author><name>Zeeshan Umar</name><uri>http://www.blogger.com/profile/01125467646308887769</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="30" src="http://4.bp.blogspot.com/_RSbmDuCSaic/Sr1gSMqYPaI/AAAAAAAAAOA/QK9R6ilIt1U/S220/Evator.jpg" /></author><thr:total>3</thr:total><content type="html">Introduction

In the world of web applications Sessions are commonly used to keep key information about users. Before going into the details of State Server lets have a quick look over different session management solutions provided by ASP.Net. Here are the different modes for storing session in ASP.net:-

InProc
This is the default mode. In this session data is stored in web server's (IIS) 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/biK_rLxFiCuL0r6U1I9oeP6Uzv0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/biK_rLxFiCuL0r6U1I9oeP6Uzv0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/biK_rLxFiCuL0r6U1I9oeP6Uzv0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/biK_rLxFiCuL0r6U1I9oeP6Uzv0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/cJlgn/~4/4SkJLKOFDLU" height="1" width="1"/&gt;</content><feedburner:origLink>http://zeeshanumardotnet.blogspot.com/2010/09/aspnet-state-server.html</feedburner:origLink></entry></feed>

