<?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' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-649647732731794190</id><updated>2011-10-02T06:48:59.154-07:00</updated><category term='Calculator'/><category term='Siverlight'/><category term='Zip'/><category term='lower case'/><category term='iis'/><category term='java'/><category term='Embeded resource'/><category term='upper case'/><category term='RAM'/><category term='Error Handling'/><category term='ASP.NET'/><category term='c#'/><category term='winrar'/><category term='force www'/><category term='Custom Control'/><category term='PowerShell'/><category term='FTP'/><category term='ROM'/><category term='host header'/><category term='app'/><category term='Memory'/><category term='.net'/><category term='User Control'/><category term='code'/><category term='Expense tracker'/><category term='C Visual Studio'/><title type='text'>rajasekhar's blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-4818601942983698283</id><published>2011-06-21T18:55:00.000-07:00</published><updated>2011-06-21T18:57:14.960-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='app'/><title type='text'>www.cinegyan.net</title><content type='html'>Checkout my new app &lt;a href="http://www.cinegyan.net"&gt;http://www.cinegyan.net&lt;/a&gt; which aggregates movie reviews using twitter&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-4818601942983698283?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/4818601942983698283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=4818601942983698283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4818601942983698283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4818601942983698283'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2011/06/wwwcinegyannet.html' title='www.cinegyan.net'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-5947005153748002770</id><published>2010-01-21T03:30:00.001-08:00</published><updated>2010-01-21T03:30:58.315-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><title type='text'>Writing a string into text file - java</title><content type='html'>PrintWriter out = new PrintWriter(new FileWriter(outFile));&lt;br /&gt;     out.print(txt);&lt;br /&gt;     out.close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-5947005153748002770?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/5947005153748002770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=5947005153748002770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/5947005153748002770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/5947005153748002770'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2010/01/writing-string-into-text-file-java.html' title='Writing a string into text file - java'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-4531763838878617637</id><published>2009-12-28T19:06:00.000-08:00</published><updated>2009-12-28T19:11:34.922-08:00</updated><title type='text'>Eclipse run configuration for appengine python project</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_77j3y33PQtU/SzlzSTMQjaI/AAAAAAAAADA/sqh7DFsGcmE/s1600-h/2.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 316px;" src="http://1.bp.blogspot.com/_77j3y33PQtU/SzlzSTMQjaI/AAAAAAAAADA/sqh7DFsGcmE/s400/2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5420490384743632290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_77j3y33PQtU/SzlzSP7Z8qI/AAAAAAAAAC4/mbDC2mCWDV4/s1600-h/1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 316px;" src="http://1.bp.blogspot.com/_77j3y33PQtU/SzlzSP7Z8qI/AAAAAAAAAC4/mbDC2mCWDV4/s400/1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5420490383867638434" /&gt;&lt;/a&gt;&lt;br /&gt;Main Module: C:\Program Files\Google\google_appengine\dev_appserver.py&lt;br /&gt;Arguments: "${project_loc}/src"&lt;br /&gt;--port=8080&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-4531763838878617637?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/4531763838878617637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=4531763838878617637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4531763838878617637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4531763838878617637'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/12/eclipse-run-configuration-for-appengine.html' title='Eclipse run configuration for appengine python project'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_77j3y33PQtU/SzlzSTMQjaI/AAAAAAAAADA/sqh7DFsGcmE/s72-c/2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-9004028817572082249</id><published>2009-07-11T01:08:00.000-07:00</published><updated>2009-07-11T01:11:28.747-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Expense tracker'/><title type='text'>dailyexpenses.info</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_77j3y33PQtU/SlhJGVRLyqI/AAAAAAAAACw/P7QPoP-rxcg/s1600-h/logo.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 270px; height: 47px;" src="http://3.bp.blogspot.com/_77j3y33PQtU/SlhJGVRLyqI/AAAAAAAAACw/P7QPoP-rxcg/s400/logo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5357112129894468258" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dailyexpenses.info/"&gt;http://dailyexpenses.info/&lt;/a&gt; helps you to track when, where and why you have spent your money.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-9004028817572082249?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/9004028817572082249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=9004028817572082249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/9004028817572082249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/9004028817572082249'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/07/dailyexpensesinfo.html' title='dailyexpenses.info'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_77j3y33PQtU/SlhJGVRLyqI/AAAAAAAAACw/P7QPoP-rxcg/s72-c/logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-3035389869524318682</id><published>2009-06-25T05:41:00.000-07:00</published><updated>2009-06-25T05:47:09.676-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lower case'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='upper case'/><title type='text'>Using PowerShell to convert upper case string to lower case</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_77j3y33PQtU/SkNxxGwsAGI/AAAAAAAAACo/mjKeuodVhJI/s1600-h/powershell.PNG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 74px;" src="http://2.bp.blogspot.com/_77j3y33PQtU/SkNxxGwsAGI/AAAAAAAAACo/mjKeuodVhJI/s400/powershell.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5351245870688632930" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-3035389869524318682?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/3035389869524318682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=3035389869524318682' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/3035389869524318682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/3035389869524318682'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/06/using-powershell-to-convert-upper-case.html' title='Using PowerShell to convert upper case string to lower case'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_77j3y33PQtU/SkNxxGwsAGI/AAAAAAAAACo/mjKeuodVhJI/s72-c/powershell.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-4367012579099749502</id><published>2009-06-13T05:52:00.000-07:00</published><updated>2009-06-13T19:03:40.084-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>FTP User Isolation in IIS 6.0</title><content type='html'>&lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b63de8ef-e3c5-456d-a8ca-7af4198819d4.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b63de8ef-e3c5-456d-a8ca-7af4198819d4.mspx?mfr=true&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-4367012579099749502?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/4367012579099749502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=4367012579099749502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4367012579099749502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4367012579099749502'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/06/ftp-user-isolation-in-iis-60.html' title='FTP User Isolation in IIS 6.0'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-2528355275583492816</id><published>2009-06-13T04:18:00.000-07:00</published><updated>2009-06-19T20:29:56.831-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='winrar'/><category scheme='http://www.blogger.com/atom/ns#' term='Zip'/><title type='text'>Zipping large file with winrar</title><content type='html'>It took around 6 hours to zip 21.5 GB file and resulting rar file size is 4GB. It took around 18 minutes to extract zipped file. The file is a SQL server database backup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-2528355275583492816?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/2528355275583492816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=2528355275583492816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/2528355275583492816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/2528355275583492816'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/06/zipping-large-file-with-winrar.html' title='Zipping large file with winrar'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-279059852185315998</id><published>2009-05-07T03:11:00.000-07:00</published><updated>2009-05-07T03:13:22.925-07:00</updated><title type='text'>Test Webservice with GUI</title><content type='html'>http://www.soapUI.org.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-279059852185315998?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/279059852185315998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=279059852185315998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/279059852185315998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/279059852185315998'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/05/test-webservice-with-gui.html' title='Test Webservice with GUI'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-1825410174627896782</id><published>2009-02-19T22:08:00.000-08:00</published><updated>2009-02-19T22:39:27.313-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Converting file length into User friendly format (GB, MB, KB, Bytes)</title><content type='html'>Use following function to convert file length in bytes to user friendly format&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt; private string FormatByteSize(long length)&lt;br /&gt;        {&lt;br /&gt;            const int KB = 1024;&lt;br /&gt;            const int MB = 1024 * KB;&lt;br /&gt;            const int GB = 1024 * MB;&lt;br /&gt;            if (length &gt; GB)&lt;br /&gt;            {&lt;br /&gt;                return (length / GB).ToString("0.00") + " GB";&lt;br /&gt;            }&lt;br /&gt;            else if (length &gt; MB)&lt;br /&gt;            {&lt;br /&gt;                return (length / MB).ToString("0.00") + " MB";&lt;br /&gt;            }&lt;br /&gt;            else if (length &gt; KB)&lt;br /&gt;            {&lt;br /&gt;                return (length / KB).ToString("0.00") + " KB";&lt;br /&gt;            }&lt;br /&gt;            return length.ToString()+" Bytes";&lt;br /&gt;        }&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-1825410174627896782?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/1825410174627896782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=1825410174627896782' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/1825410174627896782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/1825410174627896782'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/02/converting-file-length-into-user.html' title='Converting file length into User friendly format (GB, MB, KB, Bytes)'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-8327041363027668159</id><published>2009-02-12T23:46:00.000-08:00</published><updated>2009-02-12T23:49:00.097-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Calculator'/><category scheme='http://www.blogger.com/atom/ns#' term='Siverlight'/><title type='text'>Silverlight Calculator</title><content type='html'>Calculator built using silverlight&lt;br /&gt;&lt;br /&gt;&lt;iframe style="WIDTH: 300px; HEIGHT: 300px" src="http://silverlight.services.live.com/invoke/91464/Calculator/iframe.html" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;Source Code can be found &lt;a href="http://www.fileden.com/files/2009/2/12/2318098/Calculator.zip"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-8327041363027668159?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/8327041363027668159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=8327041363027668159' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/8327041363027668159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/8327041363027668159'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/02/silverlight-calculator.html' title='Silverlight Calculator'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-4565450677251267560</id><published>2009-02-12T21:53:00.000-08:00</published><updated>2009-02-13T01:02:37.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error Handling'/><category scheme='http://www.blogger.com/atom/ns#' term='Siverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='User Control'/><title type='text'>Silverlight Error handling at user control level</title><content type='html'>When you are developing user control in Silverlight you might want to handle all errors for that user control at one place. For handling all errors at one place you have to subscribe to event&lt;br /&gt;UnhandledException of the App class&lt;br /&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;  public partial class Page : UserControl&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        public Page()&lt;br /&gt;&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            InitializeComponent();&lt;br /&gt;&lt;br /&gt;            App.Current.UnhandledException += new EventHandler&lt;applicationunhandledexceptioneventargs&gt;(Current_UnhandledException);&lt;br /&gt;&lt;br /&gt;           &lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        void Current_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)&lt;br /&gt;&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;           //handle exception here. like showing a message box&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-4565450677251267560?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/4565450677251267560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=4565450677251267560' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4565450677251267560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/4565450677251267560'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/02/silverlight-error-handling-at-user.html' title='Silverlight Error handling at user control level'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-1410796359622039560</id><published>2009-01-20T02:22:00.000-08:00</published><updated>2009-01-20T02:24:39.527-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ROM'/><category scheme='http://www.blogger.com/atom/ns#' term='Memory'/><category scheme='http://www.blogger.com/atom/ns#' term='RAM'/><title type='text'>RAM vs ROM</title><content type='html'>A good article explaining difference between RAM &amp;amp; ROM &lt;a href="http://blogs.msdn.com/windowsmobile/archive/2005/08/19/453784.aspx"&gt;http://blogs.msdn.com/windowsmobile/archive/2005/08/19/453784.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Main differences are (taken from article)&lt;br /&gt;RAM: very fast, but burns a lot of power.&lt;br /&gt;ROM: much slower, but burns very little power.&lt;br /&gt;Importantly, RAM needs a constant supply of power for it to remember its data.  ROM doesn't.  In other words, if your batteries die, you'll lose the stuff in RAM, but the stuff in ROM will still be there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-1410796359622039560?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/1410796359622039560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=1410796359622039560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/1410796359622039560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/1410796359622039560'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2009/01/ram-vs-rom.html' title='RAM vs ROM'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-8614631997830686794</id><published>2008-12-22T02:28:00.000-08:00</published><updated>2008-12-22T02:30:58.264-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C Visual Studio'/><title type='text'>Write C Program using Visual Studio .net</title><content type='html'>Please see below link to write a Hello World application in C using visual studio&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/829488"&gt;http://support.microsoft.com/kb/829488&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-8614631997830686794?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/8614631997830686794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=8614631997830686794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/8614631997830686794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/8614631997830686794'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2008/12/write-c-program-using-visual-studio-net.html' title='Write C Program using Visual Studio .net'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-6150144270308363502</id><published>2008-10-31T00:51:00.000-07:00</published><updated>2008-10-31T03:25:51.994-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='force www'/><category scheme='http://www.blogger.com/atom/ns#' term='host header'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>Force a website to use WWW using IIS</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_77j3y33PQtU/SQq8BiocieI/AAAAAAAAABU/GRoTsSJiKpU/s1600-h/iis.PNG"&gt;&lt;/a&gt;Some times you need to redirect all request to &lt;a href="http://example.com/"&gt;http://example.com/&lt;/a&gt; to &lt;a href="http://www.example.com/"&gt;http://www.example.com/&lt;/a&gt; . To achieve this you can write code to see if request is for &lt;a href="http://example.com/"&gt;http://example.com/&lt;/a&gt; and redirect to &lt;a href="http://www.example.com/"&gt;http://www.example.com/&lt;/a&gt; . We can also achieve this using just IIS (i think it will be faster than Code base solution) taking advantage of host headers. Add hostheader &lt;a href="http://www.example.com/"&gt;http://www.example.com/&lt;/a&gt; to your website (see how to this in this link &lt;a href="http://www.visualwin.com/host-header/"&gt;http://www.visualwin.com/host-header/&lt;/a&gt; ) . Now create another new website with exact same settings as your first website exept host header value it should be example.com. Now right click your new website in IIS select properites and goto Home directory tab. select "A redirection to URL" radio button, in the "Redirect to" text box enter &lt;a href="http://www.example.com/"&gt;http://www.example.com/&lt;/a&gt; . See the screen shot below for more details&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_77j3y33PQtU/SQq8OQVbu5I/AAAAAAAAABc/LcHkzHjXgts/s1600-h/iis.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5263226067624901522" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 310px" alt="" src="http://1.bp.blogspot.com/_77j3y33PQtU/SQq8OQVbu5I/AAAAAAAAABc/LcHkzHjXgts/s320/iis.PNG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-6150144270308363502?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/6150144270308363502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=6150144270308363502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/6150144270308363502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/6150144270308363502'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2008/10/force-website-to-use-www-using-iis.html' title='Force a website to use WWW using IIS'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_77j3y33PQtU/SQq8OQVbu5I/AAAAAAAAABc/LcHkzHjXgts/s72-c/iis.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-649647732731794190.post-2704499624909379534</id><published>2008-09-29T07:05:00.000-07:00</published><updated>2009-02-13T19:36:22.806-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Embeded resource'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Custom Control'/><title type='text'>Embedding Javascript file in custom control</title><content type='html'>&lt;ol&gt;&lt;li&gt;Add javascript file to your project&lt;/li&gt;&lt;li&gt;Set Build Action of this file Embeded Resource &lt;/li&gt;&lt;li&gt;Add the following entry into your AssemblyInfo.cs &lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;[assembly: WebResource("YourNameSpace.Filename.js", "text/javascript")]&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Add following code in your OnInit event &lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt;string webresourceURL = Page.ClientScript.GetWebResourceUrl(this.GetType(), "YourNameSpace.Filename.js"); &lt;br /&gt;this.Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "cctextbox",webresourceURL);&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Please remember YourNameSpace is base name space in your project&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/649647732731794190-2704499624909379534?l=ynrajasekhar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ynrajasekhar.blogspot.com/feeds/2704499624909379534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=649647732731794190&amp;postID=2704499624909379534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/2704499624909379534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/649647732731794190/posts/default/2704499624909379534'/><link rel='alternate' type='text/html' href='http://ynrajasekhar.blogspot.com/2008/09/embedding-javascript-file-in-custom.html' title='Embedding Javascript file in custom control'/><author><name>yn rajasekhar</name><uri>http://www.blogger.com/profile/15846772178420556142</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
