<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-2868351280565290199</id><updated>2010-03-11T20:04:32.344-07:00</updated><title type='text'>Pavan Kondepudi's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-2903285918938942500</id><published>2008-06-25T14:31:00.002-06:00</published><updated>2008-06-25T14:33:48.744-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reponse.Redirect'/><title type='text'>Response.Redirect in new window</title><content type='html'>public class RedirectHelper&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// If you don't specify a target or you specify the target to be "_self",&lt;br /&gt;/// then it will redirect within the current window, so a regular Response.Redirect occurs.&lt;br /&gt;/// If you specify a different target, like "_blank", or if you specify window features,&lt;br /&gt;/// then you want to redirect to a new window, and we write out the appropriate script.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;/// &lt;param name="url"&gt;&lt;/param&gt;&lt;br /&gt;/// &lt;param name="target"&gt;&lt;/param&gt;&lt;br /&gt;/// &lt;param name="windowFeatures"&gt;&lt;/param&gt;&lt;br /&gt;public void Redirect(string url, string target, string windowFeatures)&lt;br /&gt;{&lt;br /&gt;HttpContext context = HttpContext.Current;&lt;br /&gt;if ((String.IsNullOrEmpty(target)&lt;br /&gt;target.Equals("_self", StringComparison.OrdinalIgnoreCase)) &amp;amp;&amp;amp;&lt;br /&gt;String.IsNullOrEmpty(windowFeatures))&lt;br /&gt;context.Response.Redirect(url);&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;Page page = (Page)HttpContext.Current.Handler;&lt;br /&gt;if (page == null)&lt;br /&gt;throw new InvalidOperationException("Cannot redirect to new window outside Page context.");&lt;br /&gt;url = page.ResolveClientUrl(url);&lt;br /&gt;string script;&lt;br /&gt;if (!String.IsNullOrEmpty(windowFeatures))&lt;br /&gt;script = @"window.open(""{0}"", ""{1}"", ""{2}"");";&lt;br /&gt;else&lt;br /&gt;script = @"window.open(""{0}"", ""{1}"");";&lt;br /&gt;script = String.Format(script, url, target, windowFeatures);&lt;br /&gt;ScriptManager.RegisterStartupScript(page, typeof(Page), "Redirect", script, true);&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-2903285918938942500?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/2903285918938942500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=2903285918938942500' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2903285918938942500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2903285918938942500'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/06/responseredirect-in-new-window.html' title='Response.Redirect in new window'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-2453606999642740580</id><published>2008-06-05T09:22:00.010-06:00</published><updated>2008-06-05T10:03:24.355-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Currency Crash'/><category scheme='http://www.blogger.com/atom/ns#' term='Currecny'/><category scheme='http://www.blogger.com/atom/ns#' term='Zimbabwe'/><title type='text'>Total Madness: 1 Billion Z$ is 1US$</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_mNrMgM3wPPU/SEgG1rAsvVI/AAAAAAAAAUI/iUaVUI41mL4/s1600-h/ap_zimbabwedollar_080305_mn.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5208420488202468690" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_mNrMgM3wPPU/SEgG1rAsvVI/AAAAAAAAAUI/iUaVUI41mL4/s400/ap_zimbabwedollar_080305_mn.jpg" border="0" /&gt;&lt;/a&gt; Todays news read Zimbabwe's currency crashed to a record low. 1Billion Zimbabwe dollars is equivalent to 1US dollar.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1,000,000,000 Zimababwe dollars is 1 US dollar.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The reason for the currency crash is , the country is suffering from internal politics and economy is really bad.&lt;br /&gt;&lt;br /&gt;Prices of some of the basic goods is so high, I mean , it is REALLY high.&lt;br /&gt;A loaf of bread is &lt;strong&gt;600million Z$. &lt;/strong&gt;Can you believe that?&lt;br /&gt;&lt;strong&gt;2 litre cooking oil 5millionZ$. &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;According to latest official poverty line data, an average family of five needs a monthly income $35 to survive while remaining living in poverty.&lt;br /&gt;&lt;br /&gt;Zim had 8 successive years of inflation. 4 out of 5 people are jobless. It is the world's fastest shrinking economy.&lt;br /&gt;&lt;br /&gt;I've read few articles about the places one can visit in Zim, looks like its one of the biggest tourist attractions and destination for many tourists.&lt;br /&gt;&lt;p&gt;I hope it comes out its inflation, currency could get better.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-2453606999642740580?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/2453606999642740580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=2453606999642740580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2453606999642740580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2453606999642740580'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/06/1-billion-z-is-1us-total-madness.html' title='Total Madness: 1 Billion Z$ is 1US$'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mNrMgM3wPPU/SEgG1rAsvVI/AAAAAAAAAUI/iUaVUI41mL4/s72-c/ap_zimbabwedollar_080305_mn.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-7094614053203033384</id><published>2008-06-01T11:24:00.006-06:00</published><updated>2008-06-02T11:18:50.089-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='indian standard time'/><category scheme='http://www.blogger.com/atom/ns#' term='job hunting'/><category scheme='http://www.blogger.com/atom/ns#' term='infosys'/><title type='text'>Interview with Infosys</title><content type='html'>&lt;script&gt;&lt;br /&gt;function utmx_section(){}function utmx(){}&lt;br /&gt;(function(){var k='3792502731',d=document,l=d.location,c=d.cookie;function f(n){&lt;br /&gt;if(c){var i=c.indexOf(n+'=');if(i&gt;-1){var j=c.indexOf(';',i);return c.substring(i+n.&lt;br /&gt;length+1,j&lt;0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;&lt;br /&gt;d.write('&lt;sc'+'ript src="'+&lt;br /&gt;'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'&lt;br /&gt;+'/siteopt.js?v=1&amp;utmxkey='+k+'&amp;utmx='+(x?x:'')+'&amp;utmxx='+(xx?xx:'')+'&amp;utmxtime='&lt;br /&gt;+new Date().valueOf()+(h?'&amp;utmxhash='+escape(h.substr(1)):'')+&lt;br /&gt;'" type="text/javascript" charset="utf-8"&gt;&lt;/sc'+'ript&gt;')})();&lt;br /&gt;&lt;/script&gt;&lt;script&gt;utmx("url",'A/B');&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Summer of 2006, this was when I completed my master's and was doing internship at&lt;a href="http://www.mayoclinic.com/"&gt; Mayo clinic&lt;/a&gt;&lt;br /&gt;They said they do not have any open full time positions, but can hire me in a contract to hire position.&lt;br /&gt;&lt;br /&gt;But in the mean time I was job hunting. That was when I got a call from &lt;a href="http://www.infosys.com/"&gt;Infosys&lt;/a&gt;, banglore, India.&lt;br /&gt;i want to share my experiences trying to get an interview call from Infosys. So, this is how it went.&lt;br /&gt;&lt;br /&gt;I remember it was a wednesday, a lady from Infosys, banglore called me and said they found my resume on some job hunting website and would like to interview me. The strangest part of my conversation was she said she wanted to interview me between 6pm-12pm CST(yes this was still wednesday).&lt;br /&gt;&lt;br /&gt;So, I came back from work @5PM. Tried to brush up all my basics and was sitting pretty to take the call. Remember, the recruiter told me that a developer would  give me a call anytime between 6pm-12pm CST.&lt;br /&gt;&lt;br /&gt;It was 6, clock started ticking, I waited, did not get a call, then it was 7, then it was 8. I waited for 2 hours, I wanted to call recruiter, call India , but I did not know her number, so I thought I would wait for some more time. Its 9 now, I was feeling really hungry, wanted to have some quick bite, but was too cautious. I did not want to munch if I get a call, so I skipped my meal. It was 10, then clock ticked to 11 and then 12. I gave up (oh yeah, I did send the recruiter an email ),no dinner, I was feeling really tired and I had to go to work next morning, so I slept.&lt;br /&gt;&lt;br /&gt;Next morning(thursday), I got a call again from the same recruiter, she said the developer who was supposed to interview me was Out of office, so could not conduct the interview(Dont they have any back up plans, we are talking about Infosys???). Then she said, they will for sure interview me today (Thursday evening), same time , which is 6pm-12pm, I was like, freaking ediots, dont they have a specific time, instead giving me a range, like 6pm-12pm, what do they expect, they want their candidates from a different country to just keep waiting and expect a call? Dorks...&lt;br /&gt;&lt;br /&gt;Well, anyway, I needed a job, so I waited like wednesday night, Deja Vu, I waited , waited, waited.....waited.............&lt;br /&gt;Today, I waited for an hour more, yeah It was 1 in the morning and Iam expecting a call from Infosys, weird....very very weird....&lt;br /&gt;Yes, I did not get any call .&lt;br /&gt;&lt;br /&gt;So, on friday morning, a lady from Infosys, US, called me, a bummer...........&lt;br /&gt;She said, they were not actually looking for college grads, but someone who is more experienced, so she said they can not go forward with the interview.&lt;br /&gt;&lt;br /&gt;As Iam writing this, it reminds me how much pissed I was on Infosys, a company I respected most, because of my Indian roots, and the way they were trying to conduct an interview just blew me off. Like what kind of BIG company is this??&lt;br /&gt;&lt;br /&gt;This might me my personal experience and I know there are people who respect Infy for whatever it is, but I think Indian Software companies need to take a leaf out of american companies and be more punctual and respect their candidate's time (remember I was waiting for 6 hrs for 2 days, and ended up without a phone interview).&lt;br /&gt;&lt;br /&gt;If anybody from Infy is reading this blog, dude....whats up with Indian standard time, infosys??&lt;br /&gt;&lt;script&gt;&lt;br /&gt;if(typeof(urchinTracker)!='function')document.write('&lt;sc'+'ript src="'+&lt;br /&gt;'http'+(document.location.protocol=='https:'?'s://ssl':'://www')+&lt;br /&gt;'.google-analytics.com/urchin.js'+'"&gt;&lt;/sc'+'ript&gt;')&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script&gt;&lt;br /&gt;_uacct = 'UA-4588202-2';&lt;br /&gt;urchinTracker("/3792502731/test");&lt;br /&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-7094614053203033384?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/7094614053203033384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=7094614053203033384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7094614053203033384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7094614053203033384'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/06/interview-with-infosys.html' title='Interview with Infosys'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-7680284528755779623</id><published>2008-05-30T13:40:00.017-06:00</published><updated>2008-05-30T14:38:39.716-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><title type='text'>Google Analytics</title><content type='html'>After adding google analytics to my blog, I was curious to know my site's analytics, I know , I know its too early to look at those numbers.&lt;br /&gt;&lt;br /&gt;I really liked the way google analytics gives you feed back about your site.&lt;br /&gt;&lt;br /&gt;G analytics generates a report about &lt;strong&gt;Visitor loyalty&lt;/strong&gt;. So, you see I've got 1 time visitors,2 time...4 time...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_mNrMgM3wPPU/SEBhN-tmNFI/AAAAAAAAATk/D730hAgtEPM/s1600-h/visitorloyalty.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206268062040732754" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 445px; CURSOR: hand; HEIGHT: 177px; TEXT-ALIGN: center" height="140" alt="" src="http://4.bp.blogspot.com/_mNrMgM3wPPU/SEBhN-tmNFI/AAAAAAAAATk/D730hAgtEPM/s400/visitorloyalty.png" width="400" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Looks like I have equal number of Firefox and IE users. 50% IE and 50% Firefox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_mNrMgM3wPPU/SEBhI-tmNEI/AAAAAAAAATc/I68zxcgirSM/s1600-h/operatingsystem.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206267976141386818" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 418px; CURSOR: hand; HEIGHT: 152px; TEXT-ALIGN: center" height="152" alt="" src="http://4.bp.blogspot.com/_mNrMgM3wPPU/SEBhI-tmNEI/AAAAAAAAATc/I68zxcgirSM/s400/operatingsystem.png" width="400" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_mNrMgM3wPPU/SEBhEutmNDI/AAAAAAAAATU/TINGfWBk-6Y/s1600-h/newvsreturning.png"&gt;&lt;/a&gt;&lt;br /&gt;What &lt;strong&gt;Flash Version &lt;/strong&gt;are my visitors using, 80% are using 9.0r115 and 20% are using 9.0447&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_mNrMgM3wPPU/SEBg_utmNCI/AAAAAAAAATM/0315nfyyqVE/s1600-h/flashversions.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206267817227596834" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_mNrMgM3wPPU/SEBg_utmNCI/AAAAAAAAATM/0315nfyyqVE/s400/flashversions.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Data about &lt;strong&gt;Page visits&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_mNrMgM3wPPU/SEBg4etmNAI/AAAAAAAAAS8/FHNt52fMFP4/s1600-h/content.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206267692673545218" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_mNrMgM3wPPU/SEBg4etmNAI/AAAAAAAAAS8/FHNt52fMFP4/s400/content.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Benchmark, this is in Beta stage, gives oyu data about #of Visits, %bounce rate, PageViews, Avg.Time spent on the site, etc....&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_mNrMgM3wPPU/SEBgputmM-I/AAAAAAAAASs/EncKfJHOob0/s1600-h/benchmark.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206267439270474722" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_mNrMgM3wPPU/SEBgputmM-I/AAAAAAAAASs/EncKfJHOob0/s400/benchmark.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Traffic Source: It tells you about how people reached your website. So, I've got 60% direct traffic and 40% from either referrer sites or from the search engines.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5206267310421455826" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_mNrMgM3wPPU/SEBgiOtmM9I/AAAAAAAAASk/9UQ-uFudvwU/s400/traffic.png" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;DashBoard, this is prettly cool. Its got this world map and countries painted in green, which means, those are the countries from where people visited my blog. And you can drill down to each country and then to each state.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_mNrMgM3wPPU/SEBfVOtmM7I/AAAAAAAAASU/LQzuYbca0Dc/s1600-h/mapverlay.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5206265987571528626" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 494px; CURSOR: hand; HEIGHT: 202px; TEXT-ALIGN: center" height="215" alt="" src="http://1.bp.blogspot.com/_mNrMgM3wPPU/SEBfVOtmM7I/AAAAAAAAASU/LQzuYbca0Dc/s320/mapverlay.png" width="381" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;These are just few of many features I could find in Google analytics. Its really amazing how google comes up with these new tools. Give it a shot, Iam sure you will appreciate these cool tools as well. &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-7680284528755779623?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/7680284528755779623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=7680284528755779623' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7680284528755779623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7680284528755779623'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/05/google-analytics.html' title='Google Analytics'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mNrMgM3wPPU/SEBhN-tmNFI/AAAAAAAAATk/D730hAgtEPM/s72-c/visitorloyalty.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-3574523609772446378</id><published>2008-05-30T11:22:00.007-06:00</published><updated>2008-05-30T11:44:29.914-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XP'/><category scheme='http://www.blogger.com/atom/ns#' term='Vista'/><title type='text'>Vista's Features on XP</title><content type='html'>I know many of us still dont find Vista navigation friendly, and I know many of my colleagues still prefer XP over vista. So, here is a link &lt;a href="http://lifehacker.com/389735/get-vistas-best-features-in-xp"&gt;http://lifehacker.com/389735/get-vistas-best-features-in-xp&lt;/a&gt;, which tells you how you can get the best of Vista features on your XP machine.&lt;br /&gt;&lt;br /&gt;I use Vista and I agree that there was a bit of learning curve to get used to the new vista, but I love it now, more than xp.&lt;br /&gt;&lt;br /&gt;Personally, I would try to get these features on my old XP laptop&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://zabkat.com/x2lite.htm"&gt;&lt;strong&gt;Better Explorer&lt;/strong&gt;&lt;/a&gt; , it is so much improved on vista&lt;/li&gt;&lt;li&gt;I love &lt;a href="http://tokyodownstairs.blogspot.com/2007/11/winflip.html"&gt;&lt;strong&gt;task switching&lt;/strong&gt; &lt;/a&gt;atl-tab, and its 3D&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.vistastartmenu.com/index.html"&gt;&lt;strong&gt;Integrated start menu search&lt;/strong&gt;&lt;/a&gt;, IT IS Intelligent, but Iam so used to using &lt;a href="http://www.bayden.com/SlickRun/"&gt;SlickRun&lt;/a&gt;, I barely use it, except when I dont bookmark them in slickrun, thats when Integrated search comes to play. &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.xentient.com/products/thumbnails/"&gt;&lt;strong&gt;Thumbnail previews&lt;/strong&gt;&lt;/a&gt;, its nice.&lt;/li&gt;&lt;li&gt;and last but not least, &lt;a href="http://lifehacker.com/355580/mimic-vistas-file-rename-feature-in-xp"&gt;&lt;strong&gt;Renaming of files&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;,&lt;/strong&gt; you hit F2,name the file , dont put the extension, it just gets it, cool huh!&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;so get those features on your XP Box.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-3574523609772446378?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/3574523609772446378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=3574523609772446378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/3574523609772446378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/3574523609772446378'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/05/vistas-features-on-xp.html' title='Vista&apos;s Features on XP'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-2762621398056788825</id><published>2008-05-23T11:23:00.000-06:00</published><updated>2008-05-27T17:31:00.929-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='page rank'/><category scheme='http://www.blogger.com/atom/ns#' term='SEO'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='301 redirect'/><title type='text'>301 Redirect</title><content type='html'>&lt;strong&gt;Why do we need a 301 redirect?&lt;/strong&gt;&lt;br /&gt;I would say, if you have redesigned your website (may be you redesigned using the new .Net 3.5), may be reskinned etc etc...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Will I lose my page ranking if i implement 301 redirect?&lt;/strong&gt;&lt;br /&gt;No, you wont lose you page rank, 301 is the best method to preserve you page rank while redirecting the traffic to the new webpage.It usually takes 2 weeks for 301's to pass page rank and all related information. It is a SEO friendly redirection&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to implement it? &lt;/strong&gt;&lt;br /&gt;response.StatusCode = 301;&lt;br /&gt;response.Status = "301 Moved Permanently";&lt;br /&gt;response.RedirectLocation = &lt;a href="http://www.newurl.com/"&gt;http://www.newurl.com/&lt;/a&gt;;&lt;br /&gt;response.End();&lt;br /&gt;&lt;br /&gt;done!&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--&lt;br /&gt;google_ad_client = "pub-5459446194510428";&lt;br /&gt;/* 160x600, created 5/27/08 */&lt;br /&gt;google_ad_slot = "2356049354";&lt;br /&gt;google_ad_width = 160;&lt;br /&gt;google_ad_height = 600;&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&lt;br /&gt;src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;br /&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-2762621398056788825?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/2762621398056788825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=2762621398056788825' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2762621398056788825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/2762621398056788825'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/05/301-redirect.html' title='301 Redirect'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-7217608332413816499</id><published>2008-05-22T09:35:00.001-06:00</published><updated>2008-05-23T11:42:39.924-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='frame busting'/><category scheme='http://www.blogger.com/atom/ns#' term='frame killer'/><category scheme='http://www.blogger.com/atom/ns#' term='adsense'/><category scheme='http://www.blogger.com/atom/ns#' term='frames'/><title type='text'>What is Frame-Busting /Frame-killer</title><content type='html'>&lt;strong&gt;What are Frames used for?&lt;br /&gt;&lt;/strong&gt;HTML frames (FRAMESETs and IFRAMEs) are a feature of all modern web browsers that enable content from multiple pages to be displayed within a single view. Historically, frames were primarily used to enable partial page updates, where page navigation was contained in one frame, and page content was contained in another. Over time, use of frames expanded to include advertising, mashup, and AJAX scenarios. Today, the majority of popular websites use IFRAMEs for various reasons.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is Frame Busting? &lt;/strong&gt;&lt;br /&gt;A framebusting page is a web page that will open your page within a frame from an "external" web page.&lt;br /&gt;What actually happens is your site is aggregated, which is ok, but there is more to it, they will start framing your website and will show "ads" , like they run google adsense beside the pages they stole from you,which is not good. So its your content, he stole your content and added google adsense and all the revenue will go to him.&lt;br /&gt;Besides, your website's pagerank may go down, and I imagine all the stats tagged to google analytics will drop. Also, I read somewhere that it is against the Adsense TOS (Terms of Service).&lt;br /&gt;So essentially they benefit from your content.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to bust them? &lt;/strong&gt;&lt;br /&gt;Solution is simple.&lt;br /&gt;Add Frame Busting code, add these three lines of code and it will fix it.&lt;br /&gt;the basic idea is :&lt;br /&gt;if (your site is in someone else's frameset)&lt;br /&gt;{ top frame location = your frameset/homepage}&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;if(top.location != location)&lt;br /&gt;{&lt;br /&gt;top.location.href = document.location.href;&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&amp;#60;script type="text/javascript"&amp;#62;&lt;br /&gt;if(top.location != location)&lt;br /&gt;{&lt;br /&gt; top.location.href = document.location.href;&lt;br /&gt;}&lt;br /&gt;&amp;#60;/script&amp;#62;&lt;br /&gt;&lt;br /&gt;So you have to find out if your site is framed, and if it is you should change the top frame location. Finding out if you're framed is easy, but changing the top frame location is not allowed in Safari, even though all other browsers support it.&lt;br /&gt;&lt;script language="JavaScript" type="text/javascript"&gt;&lt;br /&gt; &lt;!--    if (window != top) { top.location.href = location.href;  } //--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;That is all it takes to "bust" out of a frame and ensure your site is displayed on top.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-7217608332413816499?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/7217608332413816499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=7217608332413816499' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7217608332413816499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7217608332413816499'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/05/what-is-frame-busting-frame-killer.html' title='What is Frame-Busting /Frame-killer'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-6882984516754722951</id><published>2008-05-21T22:13:00.000-06:00</published><updated>2008-05-22T09:44:11.599-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shallow copy'/><category scheme='http://www.blogger.com/atom/ns#' term='deep Copy'/><title type='text'>C#: Shallow Copy</title><content type='html'>&lt;span style="font-family:Verdana;font-size:85%;"&gt;In C#, the shallow copy is also referred as memberwise copy.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;A shallow copy creates a new instance of the same type as the original object, and then copies the nonstatic fields of the original object. If the field is a value type, a bit-by-bit copy of the field is performed. If the field is a reference type, the reference is copied but the referred object is not; therefore, the reference in the original object and the reference in the clone point to the same object. In contrast, a deep copy of an object duplicates everything directly or indirectly referenced by the fields in the object.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Refer to this article for more details.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;a href="http://blogs.msdn.com/brada/archive/2004/05/03/125427.aspx"&gt;http://blogs.msdn.com/brada/archive/2004/05/03/125427.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-6882984516754722951?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/6882984516754722951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=6882984516754722951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/6882984516754722951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/6882984516754722951'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/05/c-shallow-copy.html' title='C#: Shallow Copy'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-4253315955238108802</id><published>2008-04-09T16:02:00.000-06:00</published><updated>2008-04-09T16:24:09.491-06:00</updated><title type='text'>ASP.Net / C# interview Question/Answer Bank</title><content type='html'>&lt;a href="http://www.cnblogs.com/fengzhimei/archive/2004/06/20/17206.aspx"&gt;http://www.cnblogs.com/fengzhimei/archive/2004/06/20/17206.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;May be this should be on top of my list&lt;br /&gt;&lt;a href="http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx"&gt;http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.emicrosoftinterview.com/Technical+Questions/SQL+Queries/default.aspx"&gt;http://www.emicrosoftinterview.com/Technical+Questions/SQL+Queries/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://halcyon.usc.edu/~kiran/msqs.html"&gt;http://halcyon.usc.edu/~kiran/msqs.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.4guysfromrolla.com/webtech/012700-1.shtml"&gt;http://www.4guysfromrolla.com/webtech/012700-1.shtml&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.geekinterview.com/Interview-Questions/Microsoft"&gt;http://www.geekinterview.com/Interview-Questions/Microsoft&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.coolinterview.com/type.asp?iType=3"&gt;http://www.coolinterview.com/type.asp?iType=3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.princeton.edu/~canturk/ETC/puzzles.html"&gt;http://www.princeton.edu/~canturk/ETC/puzzles.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will add few more good links, as I read them ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-4253315955238108802?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/4253315955238108802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=4253315955238108802' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/4253315955238108802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/4253315955238108802'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/04/aspnet-c-interview-questionanswer-bank.html' title='ASP.Net / C# interview Question/Answer Bank'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-168032194799453454</id><published>2008-04-08T10:20:00.000-06:00</published><updated>2008-04-08T10:33:08.891-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='array declaration in ASP'/><title type='text'>Array declaration in ASP</title><content type='html'>&lt;span style="font-size:85%;"&gt;I know&lt;/span&gt; &lt;span style="font-size:85%;"&gt;this sucks! I was assigned an ASP Project , we are converting our Website to .Net, actually we've been doing this conversion for last 2 years. We still have like 10% of site in classic ASP. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;I was working on this ASP Page where we had some user critical data and we are putting that in a query string, so my task was to create a session and remove all the critical data from the Query String and store in a session. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;In the process, I had to create a 2-dimensional array. I created an array the "Normal" way like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;dim arrayList [2][5]. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This worked perfectly!....no It did not. Little did I know that in ASP, when creating an array you dont use square brackets, instead we declare it this way.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;dim arrayList (2)(5). &lt;/span&gt;&lt;br /&gt;Now I know why everyone hate ASP (Classic right!).&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-168032194799453454?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/168032194799453454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=168032194799453454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/168032194799453454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/168032194799453454'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2008/04/array-declaration-in-asp.html' title='Array declaration in ASP'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-1800091392070254179</id><published>2007-08-07T23:21:00.000-06:00</published><updated>2008-05-21T23:07:08.259-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ICertificate Policy Interface'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Trust Relationship using ICertificatePolicy interface</title><content type='html'>I was working on a project which involved webservices, I needed to write some code on .aspx page to accept all certifcates.&lt;br /&gt;The reason I wanted to do this was I had a server (Say Server A) and was making a call to another web server (Say Server B).&lt;br /&gt;&lt;br /&gt;In my .aspx page I have this code snippet:&lt;br /&gt;&lt;em&gt;HttpWebRequest req = (HttpWebRequest)WebRequest.Create(Url);&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I am making this webrequest call to Server B, which has a valid SSL certificate installed on it. But this code works on my local box, because web service call was local. But when I mount this code to a test server like Server A it breaks right at that line where I make a webservice call to a different webserver, Url flips to null. Problem was my app did not accept certificates that the remote service sends in order to establish a connection.In simple words the webserver blocks you from accessing pages which start with https(SSL enabled).&lt;br /&gt;&lt;br /&gt;This is the error I recieved:&lt;br /&gt;&lt;em&gt;The underlying connection was closed: Could not establish trust relationship with remote server."&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;So, I wanted my code to implicitly accept all certificates whenever there is a certificate mismatch. After doing some research this is what I found.&lt;br /&gt;&lt;br /&gt;Solution :&lt;br /&gt;This is the code to accept all certicates.&lt;br /&gt;.Net Framwork has &lt;em&gt;System.Net&lt;/em&gt; namespace, and provides an interface&lt;em&gt; ICertificatePolicy&lt;/em&gt;, with a single method &lt;em&gt;CheckValidationResult.&lt;/em&gt;&lt;br /&gt;So I decided to write a class which implemets this interface Code is real simple.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;public class MyPolicy : ICertificatePolicy&lt;br /&gt;{&lt;br /&gt;public bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem)&lt;br /&gt;{&lt;br /&gt;//Return True to force the certificate to be accepted.&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;And just beforing establishing your connection (look code snippet above).&lt;br /&gt;Call&lt;br /&gt;&lt;br /&gt;&lt;em&gt;ServicePointManager.CertificatePolicy = new MyPolicy();&lt;br /&gt;&lt;/em&gt;and then establish your connection.&lt;br /&gt;&lt;em&gt;HttpWebRequest req = (HttpWebRequest)WebRequest.Create(Url);&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx"&gt;http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/system.net.icertificatepolicy%28vs.71%29.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.net.icertificatepolicy(vs.71).aspx&lt;/a&gt;&lt;br /&gt;In msdn, they talk to you about ICertificatePolicy giving custom security validation for an app, more info about this on MSDN.&lt;br /&gt;&lt;br /&gt;thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-1800091392070254179?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/1800091392070254179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=1800091392070254179' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/1800091392070254179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/1800091392070254179'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2007/08/trust-relationship-using.html' title='Trust Relationship using ICertificatePolicy interface'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-8867178879234980789</id><published>2007-07-11T11:21:00.000-06:00</published><updated>2008-05-21T23:06:39.226-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Localization'/><category scheme='http://www.blogger.com/atom/ns#' term='Globalization'/><title type='text'>More on Globalization and Localization</title><content type='html'>Hey-&lt;br /&gt;I found this blog worth reading &lt;a href="http://weblogs.asp.net/leftslipper/archive/2007/06/19/changing-the-request-culture-for-globalization-and-localization.aspx"&gt;http://weblogs.asp.net/leftslipper/archive/2007/06/19/changing-the-request-culture-for-globalization-and-localization.aspx&lt;/a&gt;,&lt;br /&gt;this is releated to my previous blog on Managing different cultures.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-8867178879234980789?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/8867178879234980789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=8867178879234980789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/8867178879234980789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/8867178879234980789'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2007/07/more-on-globalization-and-localization.html' title='More on Globalization and Localization'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-7444408775312572791</id><published>2007-07-09T09:06:00.000-06:00</published><updated>2008-05-21T23:06:06.082-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Culture'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>Creating a WebPage with multiple cultures.</title><content type='html'>&lt;div align="justify"&gt;With .Net 2.0, it is so easy to create a webpage that supports multiple cultures. &lt;/div&gt;&lt;div align="justify"&gt;Here are 10 simple steps that creates a webpage that supports English and Spanish.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Open a new ASP .Net Website in VS2005.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Lets make this a very simple app, so drag and drop a label and Dropdownbox from Toolbox. We use label to greet the user with a different language, depending on his/her selection from the dropdown list.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Remember there are no resx files on 2.0, so goto tools and click Generate local resource.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;goto Solution Explorer: double click default.aspx.resx. For Label1Resource1.Text, type Hello, and for PageResource1.Title type English. Save it. Now copy default.aspx.resx, paste in the same folder App_LocalResources. Rename it to default.aspx.es.resx. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now copy default.aspx.resx, paste in the same folder App_LocalResources. Rename it to default.aspx.es.resx. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Double Click it. For Label1Resource1.Text type Hola, for PageResource1.Title type Espanol. Now Save this.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now, goto Internet Explorer, tool, Languages, Add Language Spanish(Mexico) and Move up. Click ok.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Thats it you are almost done. There are just 2 more things you need to do. In the Page_load event, write code to populate the DropDownList with the list of cultures. You can use Cultureinfo Object to populate.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;And the Last step is to override the InitializeCulture method to base the page's culture on the item selected from dropdownlist. Use UICulture Object for that. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Press Ctrl + F5, you notice, when we select English from dropdownlist label changes to "Hello", and when you select Espanol, label changes to "Hola".&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p align="justify"&gt;With 2.0, removes the overhead of writing several if-else statements to update text of all controls, which is so much time consuming and a complex task.&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-7444408775312572791?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/7444408775312572791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=7444408775312572791' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7444408775312572791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/7444408775312572791'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2007/07/creating-webpage-with-multiple-cultures.html' title='Creating a WebPage with multiple cultures.'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2868351280565290199.post-459589714444409166</id><published>2007-07-05T22:07:00.000-06:00</published><updated>2007-07-09T09:45:38.508-06:00</updated><title type='text'>Just Started Learning .Net</title><content type='html'>Hey i just started learning .Net. I will keep posting stuff, as I keep learning more about 2.0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2868351280565290199-459589714444409166?l=www.pavankondepudi.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pavankondepudi.com/feeds/459589714444409166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=2868351280565290199&amp;postID=459589714444409166' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/459589714444409166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2868351280565290199/posts/default/459589714444409166'/><link rel='alternate' type='text/html' href='http://www.pavankondepudi.com/2007/07/just-started-learning-net.html' title='Just Started Learning .Net'/><author><name>Pavan</name><uri>http://www.blogger.com/profile/17979730179699804570</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05337228074431299049'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry></feed>