<?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/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' gd:etag='W/&quot;CEQNQ34zeCp7ImA9WhRVEUQ.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489</id><updated>2012-01-10T16:16:32.080+05:30</updated><category term='ASP.NET 4.0'/><category term='Visual Studio'/><category term='Directory'/><category term='Silverlight 4.0'/><category term='ASP.NET 2.0'/><category term='Visual SourceSafe'/><category term='Performance'/><category term='Export'/><category term='Download'/><category term='IE9'/><category term='Outlook'/><category term='VS 2010'/><category term='Google Pack'/><category term='Samples'/><category term='Windows'/><category term='Masterpages'/><category term='ATLAS'/><category term='Skype'/><category term='assemblyBinding'/><category term='ASP.NET'/><category term='Validators'/><category term='HTTP'/><category term='Administration'/><category term='Testing'/><category term='Windows Phone 6.5'/><category term='WF'/><category term='Visual Studio 2008'/><category term='Flash'/><category term='Internet Information Services'/><category term='IIS 6.0'/><category term='Beta'/><category term='SketchUp'/><category term='Mac'/><category term='Dell'/><category term='Single Sign-On'/><category term='Enterprise Library 5.0'/><category term='Virtual Machines'/><category term='Encoding and Decoding'/><category term='Windows Service'/><category term='Antivirus'/><category term='Compare Validator'/><category term='MS Office'/><category term='News'/><category term='Examples'/><category term='Third Party'/><category term='.NET Framework 3.0'/><category term='Threading'/><category term='VS 2008'/><category term='LINQ'/><category term='Web Server'/><category term='Nagasai'/><category term='Windows Vista'/><category term='CSS'/><category term='Hot Fix'/><category term='Javascript'/><category term='File Extensions'/><category term='Cross Browser'/><category term='Firebug Extensions'/><category term='Open sources'/><category term='IO'/><category term='Silverlight 5 Beta'/><category term='GridView'/><category term='Web Services'/><category term='SQL Server 2005'/><category term='WCF 4.0'/><category term='Converters'/><category term='Web.config'/><category term='XML'/><category term='.NET Framework'/><category term='IIS'/><category term='IE 6'/><category term='Operating system'/><category term='Regex'/><category term='Windows Phone 7'/><category term='DateTime'/><category term='Firefox'/><category term='Telerik'/><category term='Bugs'/><category term='Transformations'/><category term='HTML'/><category term='Outlook 2007'/><category term='ActiveSync'/><category term='Target Framework'/><category term='Internet Explorer'/><category term='Windows 7 SP1'/><category term='T-SQL'/><category term='Silverlight Integration Pack'/><category term='.NET'/><category term='Serialization'/><category term='Excel'/><category term='Ria Services'/><category term='Unix'/><category term='Tuning'/><category term='ASCII Codes'/><category term='Help'/><category term='Microsoft'/><category term='MVC'/><category term='MOSS 2007'/><category term='Creditcard Validations'/><category term='Error Codes'/><category term='Visual Studio 2005'/><category term='SQL Server'/><category term='Cricket'/><category term='Deployment'/><category term='AJAX'/><category term='Codes'/><category term='ASP.NET 4'/><category term='IE 8'/><category term='Security'/><category term='SOA'/><category term='Windows update'/><category term='Addons'/><category term='Visual Studio 2010'/><category term='Libraries'/><category term='App Config'/><category term='Picasa'/><category term='Browsers'/><category term='HttpApplication'/><category term='VM'/><category term='Throttling'/><category term='SMTP'/><category term='General'/><category term='Chrome'/><category term='Mozilla'/><category term='FileInfo'/><category term='SQL Azure'/><category term='Windows Azure'/><category term='Windows 2008'/><category term='Web applications'/><category term='Custom Actions'/><category term='Freeware'/><category term='Facebook'/><category term='GetFiles'/><category term='Cloud'/><category term='Windows 2003 Server'/><category term='Social Networking'/><category term='Windows 7'/><category term='Mobile'/><category term='MIME'/><category term='Client Profile'/><category term='Patterns and Practices'/><category term='Internet'/><category term='Updates'/><category term='SQL Server 2008'/><category term='REST'/><category term='Cloud Computing'/><category term='RadGridView'/><category term='Outlook 2010'/><category term='MP3'/><category term='Validation Summary'/><category term='RadComboBox'/><category term='ASP'/><category term='Shortcuts'/><category term='Web 2.0'/><category term='API'/><category term='Google'/><category term='ADO.NET'/><category term='SOAP'/><category term='C#'/><category term='MVC 3'/><category term='Auto Generate'/><category term='WCF'/><category term='Releases'/><category term='Enterprise Library'/><category term='Global.asax'/><category term='Sharepoint'/><category term='HTML Status codes'/><category term='Tools'/><category term='Validations'/><category term='Mobile Device Center'/><category term='Regular Expression'/><category term='WPF'/><category term='Tips and Tricks'/><category term='Silverlight'/><category term='Utilities'/><title>N a g a s a i</title><subtitle type='html'>Software Engineer, Blogger, Gadgets, Sports, Circket, Movies and Gamer.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>237</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;CEQNQ34yeyp7ImA9WhRVEUQ.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-6874693367374506567</id><published>2012-01-10T16:13:00.000+05:30</published><updated>2012-01-10T16:16:32.093+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-10T16:16:32.093+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Server'/><category scheme='http://www.blogger.com/atom/ns#' term='MIME'/><category scheme='http://www.blogger.com/atom/ns#' term='File Extensions'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet Information Services'/><title>What is a MIME type?</title><content type='html'>&lt;p&gt;There are times when you would want the IIS web server to serve a file that has an extension that it does not recognize. That is, a file whose MIME type has not been defined. In such a case, IIS would return http error code, 404.3 as shown below.  &lt;p&gt;&lt;strong&gt;HTTP Error 404.3 – Not Found&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;Description:&lt;/strong&gt; The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and therefore is not allowed.  &lt;p&gt;MIME stands for Multi-purpose Internet Mail Extensions. MIME types form a standard way of classifying file types on the Internet. Internet programs such as Web servers and browsers all have a list of MIME types, so that they can transfer files of the same type in the same way, no matter what operating system they are working in.  &lt;p&gt;A MIME type has two parts: a type and a subtype. They are separated by a slash (&lt;b&gt;/&lt;/b&gt;). For example, the MIME type for Microsoft Word files is &lt;b&gt;application&lt;/b&gt; and the subtype is &lt;b&gt;msword&lt;/b&gt;. Together, the complete MIME type is &lt;b&gt;application/msword&lt;/b&gt;.  &lt;p&gt;Here is the &lt;a href="http://naagasai.blogspot.com/2012/01/list-of-mime-types-with-content-types.html"&gt;list of available MIME types&lt;/a&gt; that you can add and configure on IIS&lt;/p&gt; &lt;p&gt;Hope this is useful.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-6874693367374506567?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/6874693367374506567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2012/01/what-is-mime-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/6874693367374506567?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/6874693367374506567?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2012/01/what-is-mime-type.html' title='What is a MIME type?'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEcFQn4zeip7ImA9WhRVEUQ.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4734172564566525927</id><published>2012-01-10T16:09:00.000+05:30</published><updated>2012-01-10T16:10:13.082+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-10T16:10:13.082+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Server'/><category scheme='http://www.blogger.com/atom/ns#' term='MIME'/><category scheme='http://www.blogger.com/atom/ns#' term='File Extensions'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet Information Services'/><title>List of MIME Types with Content types</title><content type='html'>&lt;p&gt;There are times when you would want the IIS web server to serve a file that has an extension that it does not recognize. That is, a file whose mime type has not been defined. In such a case, IIS would return http error code, 404.3. For the web server to serve the file with that new extension, you need to create a mapping between that extension and the MIME type.&lt;/p&gt; &lt;p&gt;The following MIME types are some MIME types with its File Extension and Content type. &lt;/p&gt; &lt;table border="1" cellspacing="0" cellpadding="1" width="400"&gt; &lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;table cellspacing="0" cellpadding="0"&gt; &lt;colgroup&gt; &lt;col width="143"&gt; &lt;col width="216"&gt;&lt;/colgroup&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td height="17" width="114"&gt;&lt;strong&gt;File Extension&lt;/strong&gt;&lt;/td&gt; &lt;td width="248"&gt;&lt;strong&gt;Content type (MIME)&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td height="17" width="114"&gt;.323&lt;/td&gt; &lt;td width="248"&gt;text/h323&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.aaf&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.aca&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.acx&lt;/td&gt; &lt;td&gt;application/internet-property-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.afm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ai&lt;/td&gt; &lt;td&gt;application/postscript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.aif&lt;/td&gt; &lt;td&gt;audio/x-aiff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.aifc&lt;/td&gt; &lt;td&gt;audio/aiff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.aiff&lt;/td&gt; &lt;td&gt;audio/aiff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.applicati&lt;/td&gt; &lt;td&gt;application/x-ms-application&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.art&lt;/td&gt; &lt;td&gt;image/x-jg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asd&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asf&lt;/td&gt; &lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asi&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asm&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asr&lt;/td&gt; &lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.asx&lt;/td&gt; &lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.au&lt;/td&gt; &lt;td&gt;audio/basic&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.avi&lt;/td&gt; &lt;td&gt;video/x-msvideo&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.axs&lt;/td&gt; &lt;td&gt;application/olescript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.bas&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.bcpio&lt;/td&gt; &lt;td&gt;application/x-bcpio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.bin&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.bmp&lt;/td&gt; &lt;td&gt;image/bmp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.c&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cab&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cat&lt;/td&gt; &lt;td&gt;application/vnd.ms-pki.seccat&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cdf&lt;/td&gt; &lt;td&gt;application/x-cdf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.chm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.class&lt;/td&gt; &lt;td&gt;application/x-java-applet&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.clp&lt;/td&gt; &lt;td&gt;application/x-msclip&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cmx&lt;/td&gt; &lt;td&gt;image/x-cmx&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cnf&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cod&lt;/td&gt; &lt;td&gt;image/cis-cod&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cpio&lt;/td&gt; &lt;td&gt;application/x-cpio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cpp&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.crd&lt;/td&gt; &lt;td&gt;application/x-mscardfile&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.crl&lt;/td&gt; &lt;td&gt;application/pkix-crl&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.crt&lt;/td&gt; &lt;td&gt;application/x-x509-ca-cert&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.csh&lt;/td&gt; &lt;td&gt;application/x-csh&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.css&lt;/td&gt; &lt;td&gt;text/css&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.csv&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.cur&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dcr&lt;/td&gt; &lt;td&gt;application/x-director&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.deploy&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.der&lt;/td&gt; &lt;td&gt;application/x-x509-ca-cert&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dib&lt;/td&gt; &lt;td&gt;image/bmp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dir&lt;/td&gt; &lt;td&gt;application/x-director&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.disco&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dll&lt;/td&gt; &lt;td&gt;application/x-msdownload&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dlm&lt;/td&gt; &lt;td&gt;text/dlm&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dnl&lt;/td&gt; &lt;td&gt;application/x-msdownload&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.doc&lt;/td&gt; &lt;td&gt;application/msword&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dot&lt;/td&gt; &lt;td&gt;application/msword&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dsp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dtd&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dvi&lt;/td&gt; &lt;td&gt;application/x-dvi&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dwf&lt;/td&gt; &lt;td&gt;drawing/x-dwf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dwp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.dxr&lt;/td&gt; &lt;td&gt;application/x-director&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.easm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.eml&lt;/td&gt; &lt;td&gt;message/rfc822&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.emz&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.eot&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.eps&lt;/td&gt; &lt;td&gt;application/postscript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.etx&lt;/td&gt; &lt;td&gt;text/x-setext&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.evy&lt;/td&gt; &lt;td&gt;application/envoy&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ex_&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.exe&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.fdf&lt;/td&gt; &lt;td&gt;application/vnd.fdf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.fif&lt;/td&gt; &lt;td&gt;application/fractals&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.fla&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.flr&lt;/td&gt; &lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.flv&lt;/td&gt; &lt;td&gt;video/x-flv&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.gif&lt;/td&gt; &lt;td&gt;image/gif&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.gtar&lt;/td&gt; &lt;td&gt;application/x-gtar&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.gz&lt;/td&gt; &lt;td&gt;application/x-gzip&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.h&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hdf&lt;/td&gt; &lt;td&gt;application/x-hdf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hdml&lt;/td&gt; &lt;td&gt;text/x-hdml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hhc&lt;/td&gt; &lt;td&gt;application/x-oleobject&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hhk&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hhp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hlp&lt;/td&gt; &lt;td&gt;application/winhlp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hqx&lt;/td&gt; &lt;td&gt;application/mac-binhex40&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hsf&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hta&lt;/td&gt; &lt;td&gt;application/hta&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.htc&lt;/td&gt; &lt;td&gt;text/x-component&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.htm&lt;/td&gt; &lt;td&gt;text/html&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.html&lt;/td&gt; &lt;td&gt;text/html&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.htt&lt;/td&gt; &lt;td&gt;text/webviewhtml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.hxt&lt;/td&gt; &lt;td&gt;text/html&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ica&lt;/td&gt; &lt;td&gt;application/x-ica&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ico&lt;/td&gt; &lt;td&gt;image/x-icon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ics&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ief&lt;/td&gt; &lt;td&gt;image/ief&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.inf&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ins&lt;/td&gt; &lt;td&gt;application/x-internet-signup&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.isp&lt;/td&gt; &lt;td&gt;application/x-internet-signup&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.IVF&lt;/td&gt; &lt;td&gt;video/x-ivf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jar&lt;/td&gt; &lt;td&gt;application/java-archive&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.java (Disabled in IIS 7)&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jck&lt;/td&gt; &lt;td&gt;application/liquidmotion&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jcz&lt;/td&gt; &lt;td&gt;application/liquidmotion&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jfif&lt;/td&gt; &lt;td&gt;image/pjpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jpb&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jpe&lt;/td&gt; &lt;td&gt;image/jpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jpeg&lt;/td&gt; &lt;td&gt;image/jpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.jpg&lt;/td&gt; &lt;td&gt;image/jpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.js&lt;/td&gt; &lt;td&gt;application/x-javascript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.latex&lt;/td&gt; &lt;td&gt;application/x-latex&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.lit&lt;/td&gt; &lt;td&gt;application/x-ms-reader&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.lpk&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.lsf&lt;/td&gt; &lt;td&gt;video/x-la-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.lsx&lt;/td&gt; &lt;td&gt;video/x-la-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.lzh&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.m13&lt;/td&gt; &lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.m14&lt;/td&gt; &lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.m1v&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.m3u&lt;/td&gt; &lt;td&gt;audio/x-mpegurl&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.man&lt;/td&gt; &lt;td&gt;application/x-troff-man&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.manifest&lt;/td&gt; &lt;td&gt;application/x-ms-manifest&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.map&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mdb&lt;/td&gt; &lt;td&gt;application/x-msaccess&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mdp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.me&lt;/td&gt; &lt;td&gt;application/x-troff-me&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mht&lt;/td&gt; &lt;td&gt;message/rfc822&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mhtml&lt;/td&gt; &lt;td&gt;message/rfc822&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mid&lt;/td&gt; &lt;td&gt;audio/mid&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.midi&lt;/td&gt; &lt;td&gt;audio/mid&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mix&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mmf&lt;/td&gt; &lt;td&gt;application/x-smaf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mno&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mny&lt;/td&gt; &lt;td&gt;application/x-msmoney&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mov&lt;/td&gt; &lt;td&gt;video/quicktime&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.movie&lt;/td&gt; &lt;td&gt;video/x-sgi-movie&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mp2&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mp3&lt;/td&gt; &lt;td&gt;audio/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mp4&lt;/td&gt; &lt;td&gt;audio/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpa&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpe&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpeg&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpg&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpp&lt;/td&gt; &lt;td&gt;application/vnd.ms-project&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mpv2&lt;/td&gt; &lt;td&gt;video/mpeg&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ms&lt;/td&gt; &lt;td&gt;application/x-troff-ms&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.msi&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.mvb&lt;/td&gt; &lt;td&gt;application/x-msmediaview&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.nc&lt;/td&gt; &lt;td&gt;application/x-netcdf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.nsc&lt;/td&gt; &lt;td&gt;video/x-ms-asf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.nws&lt;/td&gt; &lt;td&gt;message/rfc822&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ocx&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.oda&lt;/td&gt; &lt;td&gt;application/oda&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ods&lt;/td&gt; &lt;td&gt;application/oleobject&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p10&lt;/td&gt; &lt;td&gt;application/pkcs10&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p12&lt;/td&gt; &lt;td&gt;application/x-pkcs12&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p7b&lt;/td&gt; &lt;td&gt;application/x-pkcs7-certificates&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p7c&lt;/td&gt; &lt;td&gt;application/pkcs7-mime&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p7m&lt;/td&gt; &lt;td&gt;application/pkcs7-mime&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p7r&lt;/td&gt; &lt;td&gt;application/x-pkcs7-certreqresp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.p7s&lt;/td&gt; &lt;td&gt;application/pkcs7-signature&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pbm&lt;/td&gt; &lt;td&gt;image/x-portable-bitmap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pcx&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pcz&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pdf&lt;/td&gt; &lt;td&gt;application/pdf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pfb&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pfm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pfx&lt;/td&gt; &lt;td&gt;application/x-pkcs12&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pgm&lt;/td&gt; &lt;td&gt;image/x-portable-graymap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pko&lt;/td&gt; &lt;td&gt;application/vnd.ms-pki.pko&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pma&lt;/td&gt; &lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pmc&lt;/td&gt; &lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pml&lt;/td&gt; &lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pmr&lt;/td&gt; &lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pmw&lt;/td&gt; &lt;td&gt;application/x-perfmon&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.png&lt;/td&gt; &lt;td&gt;image/png&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pnm&lt;/td&gt; &lt;td&gt;image/x-portable-anymap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pnz&lt;/td&gt; &lt;td&gt;image/png&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pot&lt;/td&gt; &lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ppm&lt;/td&gt; &lt;td&gt;image/x-portable-pixmap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pps&lt;/td&gt; &lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ppt&lt;/td&gt; &lt;td&gt;application/vnd.ms-powerpoint&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.prf&lt;/td&gt; &lt;td&gt;application/pics-rules&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.prm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.prx&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ps&lt;/td&gt; &lt;td&gt;application/postscript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.psd&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.psm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.psp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.pub&lt;/td&gt; &lt;td&gt;application/x-mspublisher&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.qt&lt;/td&gt; &lt;td&gt;video/quicktime&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.qtl&lt;/td&gt; &lt;td&gt;application/x-quicktimeplayer&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.qxd&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ra&lt;/td&gt; &lt;td&gt;audio/x-pn-realaudio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ram&lt;/td&gt; &lt;td&gt;audio/x-pn-realaudio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rar&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ras&lt;/td&gt; &lt;td&gt;image/x-cmu-raster&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rdf&lt;/td&gt; &lt;td&gt;application/rdf+xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rf&lt;/td&gt; &lt;td&gt;image/vnd.rn-realflash&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rgb&lt;/td&gt; &lt;td&gt;image/x-rgb&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rm&lt;/td&gt; &lt;td&gt;application/vnd.rn-realmedia&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rmi&lt;/td&gt; &lt;td&gt;audio/mid&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.roff&lt;/td&gt; &lt;td&gt;application/x-troff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rpm&lt;/td&gt; &lt;td&gt;audio/x-pn-realaudio-plugin&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rtf&lt;/td&gt; &lt;td&gt;application/rtf&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.rtx&lt;/td&gt; &lt;td&gt;text/richtext&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.scd&lt;/td&gt; &lt;td&gt;application/x-msschedule&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sct&lt;/td&gt; &lt;td&gt;text/scriptlet&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sea&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.setpay&lt;/td&gt; &lt;td&gt;application/set-payment-initiation&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.setreg&lt;/td&gt; &lt;td&gt;application/set-registration-initiation&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sgml&lt;/td&gt; &lt;td&gt;text/sgml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sh&lt;/td&gt; &lt;td&gt;application/x-sh&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.shar&lt;/td&gt; &lt;td&gt;application/x-shar&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sit&lt;/td&gt; &lt;td&gt;application/x-stuffit&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sldasm&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sldprt&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.smd&lt;/td&gt; &lt;td&gt;audio/x-smd&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.smi&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.smx&lt;/td&gt; &lt;td&gt;audio/x-smd&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.smz&lt;/td&gt; &lt;td&gt;audio/x-smd&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.snd&lt;/td&gt; &lt;td&gt;audio/basic&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.snp&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.spc&lt;/td&gt; &lt;td&gt;application/x-pkcs7-certificates&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.spl&lt;/td&gt; &lt;td&gt;application/futuresplash&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.src&lt;/td&gt; &lt;td&gt;application/x-wais-source&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ssm&lt;/td&gt; &lt;td&gt;application/streamingmedia&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sst&lt;/td&gt; &lt;td&gt;application/vnd.ms-pki.certstore&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.stl&lt;/td&gt; &lt;td&gt;application/vnd.ms-pki.stl&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sv4cpio&lt;/td&gt; &lt;td&gt;application/x-sv4cpio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.sv4crc&lt;/td&gt; &lt;td&gt;application/x-sv4crc&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.svg&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.swf&lt;/td&gt; &lt;td&gt;application/x-shockwave-flash&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.t&lt;/td&gt; &lt;td&gt;application/x-troff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tar&lt;/td&gt; &lt;td&gt;application/x-tar&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tcl&lt;/td&gt; &lt;td&gt;application/x-tcl&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tex&lt;/td&gt; &lt;td&gt;application/x-tex&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.texi&lt;/td&gt; &lt;td&gt;application/x-texinfo&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.texinfo&lt;/td&gt; &lt;td&gt;application/x-texinfo&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tgz&lt;/td&gt; &lt;td&gt;application/x-compressed&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.thn&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tif&lt;/td&gt; &lt;td&gt;image/tiff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tiff&lt;/td&gt; &lt;td&gt;image/tiff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.toc&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tr&lt;/td&gt; &lt;td&gt;application/x-troff&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.trm&lt;/td&gt; &lt;td&gt;application/x-msterminal&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.tsv&lt;/td&gt; &lt;td&gt;text/tab-separated-values&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ttf&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.txt&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.u32&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.uls&lt;/td&gt; &lt;td&gt;text/iuls&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.ustar&lt;/td&gt; &lt;td&gt;application/x-ustar&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vbs&lt;/td&gt; &lt;td&gt;text/vbscript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vcf&lt;/td&gt; &lt;td&gt;text/x-vcard&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vcs&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vdx&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vml&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vsd&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vss&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vst&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vsw&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vsx&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.vtx&lt;/td&gt; &lt;td&gt;application/vnd.visio&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wav&lt;/td&gt; &lt;td&gt;audio/wav&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wax&lt;/td&gt; &lt;td&gt;audio/x-ms-wax&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wbmp&lt;/td&gt; &lt;td&gt;image/vnd.wap.wbmp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wcm&lt;/td&gt; &lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wdb&lt;/td&gt; &lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wks&lt;/td&gt; &lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wm&lt;/td&gt; &lt;td&gt;video/x-ms-wm&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wma&lt;/td&gt; &lt;td&gt;audio/x-ms-wma&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmd&lt;/td&gt; &lt;td&gt;application/x-ms-wmd&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmf&lt;/td&gt; &lt;td&gt;application/x-msmetafile&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wml&lt;/td&gt; &lt;td&gt;text/vnd.wap.wml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmlc&lt;/td&gt; &lt;td&gt;application/vnd.wap.wmlc&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmls&lt;/td&gt; &lt;td&gt;text/vnd.wap.wmlscript&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmlsc&lt;/td&gt; &lt;td&gt;application/vnd.wap.wmlscriptc&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmp&lt;/td&gt; &lt;td&gt;video/x-ms-wmp&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmv&lt;/td&gt; &lt;td&gt;video/x-ms-wmv&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmx&lt;/td&gt; &lt;td&gt;video/x-ms-wmx&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wmz&lt;/td&gt; &lt;td&gt;application/x-ms-wmz&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.world&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wps&lt;/td&gt; &lt;td&gt;application/vnd.ms-works&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wri&lt;/td&gt; &lt;td&gt;application/x-mswrite&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wrl&lt;/td&gt; &lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wrz&lt;/td&gt; &lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wsdl&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.wvx&lt;/td&gt; &lt;td&gt;video/x-ms-wvx&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.x&lt;/td&gt; &lt;td&gt;application/directx&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xaf&lt;/td&gt; &lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xbm&lt;/td&gt; &lt;td&gt;image/x-xbitmap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xdr&lt;/td&gt; &lt;td&gt;text/plain&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xla&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xlc&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xlm&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xls&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xlt&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xlw&lt;/td&gt; &lt;td&gt;application/vnd.ms-excel&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xml&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xof&lt;/td&gt; &lt;td&gt;x-world/x-vrml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xpm&lt;/td&gt; &lt;td&gt;image/x-xpixmap&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xsd&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xsf&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xsl&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xslt&lt;/td&gt; &lt;td&gt;text/xml&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xsn&lt;/td&gt; &lt;td&gt;application/octet-stream&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.xwd&lt;/td&gt; &lt;td&gt;image/x-xwindowdump&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.z&lt;/td&gt; &lt;td&gt;application/x-compress&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;.zip&lt;/td&gt; &lt;td&gt;application/x-zip-compressed&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4734172564566525927?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4734172564566525927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2012/01/list-of-mime-types-with-content-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4734172564566525927?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4734172564566525927?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2012/01/list-of-mime-types-with-content-types.html' title='List of MIME Types with Content types'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0ANQHo8fSp7ImA9WhRWGEo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-1481734792408756194</id><published>2012-01-07T00:19:00.001+05:30</published><updated>2012-01-07T00:19:51.475+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-07T00:19:51.475+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Addons'/><category scheme='http://www.blogger.com/atom/ns#' term='Mozilla'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title>Add-on: User Agent Switcher</title><content type='html'>&lt;p&gt;The User Agent Switcher extension adds a menu to Mozilla browser and a toolbar button to switch the user agent of a browser. It is a wonderful tool for developers and designers to view different types of user agents in same browser. You can set a default user agent and can switch between different agents like Internet Explorer, Mozilla, IPhone and other Search robots. See the below image how you can switch between user agents.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-OkD_Vl1Slpg/TwdCONJSktI/AAAAAAAAA-w/8qPDGjZLqzY/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-QbwZbEbw_oI/TwdCQMkEryI/AAAAAAAAA-4/2sNurh9Fc3c/image_thumb%25255B1%25255D.png?imgmax=800" width="438" height="156"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You can edit the User agent options by editing user agents from toolbar menu. See this image to see available user agents.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-1FDaE1-_m0I/TwdCRxOWnFI/AAAAAAAAA_A/UawIFHXBkHE/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-QUwsYmNYrfY/TwdCTEPwMAI/AAAAAAAAA_I/XBbBA016M3w/image_thumb%25255B3%25255D.png?imgmax=800" width="308" height="286"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You can &lt;a href="https://addons.mozilla.org/firefox/downloads/latest/59/addon-59-latest.xpi?src=cb-dl-mostpopular"&gt;download&lt;/a&gt; this add on for Mozilla &lt;a href="https://addons.mozilla.org/firefox/downloads/latest/59/addon-59-latest.xpi?src=cb-dl-mostpopular"&gt;here&lt;/a&gt; or you can search for this &lt;a href="https://addons.mozilla.org/en-US/firefox/"&gt;add on&lt;/a&gt; at Mozilla.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-1481734792408756194?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/1481734792408756194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2012/01/add-on-user-agent-switcher.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1481734792408756194?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1481734792408756194?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2012/01/add-on-user-agent-switcher.html' title='Add-on: User Agent Switcher'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-QbwZbEbw_oI/TwdCQMkEryI/AAAAAAAAA-4/2sNurh9Fc3c/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D04GRnYzcCp7ImA9WhRWFks.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-7958798309008370725</id><published>2012-01-04T14:02:00.001+05:30</published><updated>2012-01-04T14:02:07.888+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-01-04T14:02:07.888+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='News'/><category scheme='http://www.blogger.com/atom/ns#' term='Outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><category scheme='http://www.blogger.com/atom/ns#' term='Nagasai'/><title>Time, Anger and Disrespect</title><content type='html'>&lt;p&gt;Time is precious to everyone. It’s a bad habit to keep other people waiting. Almost everyone feels that one of their most valued commodities is their time. This being the case, one of the ultimate slaps and most sure way to annoy someone is to keep them waiting. While most people are somewhat forgiving, keeping them waiting is a sign of disrespect. The subtle message is, “My time is more important than yours.”&lt;br&gt;Deep down, we all know that no one likes to be kept waiting. Therefore, it’s highly stressful to keep other people waiting because you know you are disappointing someone. In the back of your mind, you know well the person is looking at his watch, wondering why you are late. You may be keeping him from personal or professional commitments and that could make him angry. &lt;br&gt;There are obviously exceptions to the rule – times when factors beyond your control prevent you from being on time. Things happen to all of us, and no one has a perfect record. Truthfully, however, a vast majority of the time, being late is preventable by planning ahead, allowing a little extra time, or making allowances for unexpected problems. &lt;br&gt;Many times we compound the problem by making excuse like “traffic was horrible,” when, in reality, traffic is virtually always horrible. The problem wasn’t traffic – but the fact that we didn’t factor enough time in our schedule for the traffic. It’s likely the case that, even if traffic was horrible, or you got off to a late start, or whatever the excuse, the other person isn’t going to be interested or impressed. &lt;br&gt;I wouldn’t underestimate the negative impact of making someone wait. It drives some people crazy. And, even if they don’t express their frustration to you directly, it can show up in other ways – not taking you seriously, avoiding you when possible, being disrespectful, choosing to spend their time with others instead of you, showing up late to your future appointments, etc.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-7958798309008370725?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/7958798309008370725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2012/01/time-anger-and-disrespect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/7958798309008370725?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/7958798309008370725?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2012/01/time-anger-and-disrespect.html' title='Time, Anger and Disrespect'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkYBQH4_eyp7ImA9WhRRGEk.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-1460816177513571421</id><published>2011-12-02T21:05:00.001+05:30</published><updated>2011-12-02T21:05:51.043+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-12-02T21:05:51.043+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='VM'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtual Machines'/><title>What is a Virtual Machine?</title><content type='html'>&lt;p&gt;Virtual machine is a tightly isolated software container that can run its own operating systems and applications as if it were a physical computer. A virtual machine behaves exactly like a physical computer and contains it own virtual (i.e., software-based) CPU, RAM hard disk and network interface card (NIC). &lt;br&gt;An operating system can’t tell the difference between a virtual machine and a physical machine, nor can applications or other computers on a network. Even the virtual machine thinks it is a “real” computer. Nevertheless, a virtual machine is composed entirely of software and contains no hardware components whatsoever. As a result, virtual machines offer a number of distinct advantages over physical hardware. &lt;p&gt;VMs are created within a virtualization layer, such as a hypervisor or a virtualization platform that runs on top of a client or server operating system. This operating system is known as the host OS. The virtualization layer can be used to create many individual, isolated VM environments.&lt;/p&gt; &lt;p&gt;Typically, guest operating systems and programs are not aware that they are running on a virtual platform and, as long as the VM's virtual platform is supported, this software can be installed in the same way it would be deployed to physical server hardware. For example, the guest OS might appear to have a physical hard disk attached to it, but actual &lt;a href="http://searchcio-midmarket.techtarget.com/definition/input-output"&gt;I/O&lt;/a&gt; requests are translated by the virtualization layer so they actually occur against a file that is accessible by the host OS. &lt;p&gt;Virtual machines can provide numerous advantages over the installation of OS's and software directly on physical hardware. Isolation ensures that applications and services that run within a VM cannot interfere with the host OS or other VMs. VMs can also be easily moved, copied, and reassigned between host servers to optimize hardware resource utilization. Administrators can also take advantage of virtual environments to simply backups, disaster recovery, new deployments and basic system administration tasks. The use of virtual machines also comes with several important management considerations, many of which can be addressed through general systems administration best practices and tools that are designed to managed VMs.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-1460816177513571421?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/1460816177513571421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/12/what-is-virtual-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1460816177513571421?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1460816177513571421?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/12/what-is-virtual-machine.html' title='What is a Virtual Machine?'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEQMRn8zeSp7ImA9WhRRE00.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-2730751918540291594</id><published>2011-11-26T15:42:00.000+05:30</published><updated>2011-11-26T15:43:07.181+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-26T15:43:07.181+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Browsers'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title>Reopen the Last Browsing Session in Firefox</title><content type='html'>&lt;p&gt;Mozilla Firefox offers tabbed browsing, the ability to open several Web pages in a single instance of Firefox, each page opening in a new tab. One convenient feature available in Firefox is the ability for the browser to save opened tabs from a session then restore them when you re-open the browser. This way you can pick back up browsing wherever you left off. Additionally, you can access tabs from a previous browsing session, even if this feature is disabled, if you accidentally closed the browser before you were finished working. Recently I ran into a problem by accidentally closing window. But no worries we can restore by setting few settings in Firefox.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Setup Firefox To Automatically Restore Browsing Session&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Open the Firefox browser on your computer.&lt;/li&gt; &lt;li&gt;Click on the "Firefox" option from the file menu and select "Options." A new window will open.&lt;/li&gt; &lt;li&gt;Click on the "General" tab in the Options window.&lt;/li&gt; &lt;li&gt;Click the "When Firefox starts" drop-down menu under the "Startup" section and select, "Show my windows and tabs from last time."&lt;/li&gt; &lt;li&gt;Click "OK" to save your settings. Each time you close the browser Firefox saves any open tabs or windows and re-opens them automatically when you start the browser again.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;strong&gt;Restore Tabs from Previous Browsing Session&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Open the Firefox browser on your computer.&lt;/li&gt; &lt;li&gt;Click on the "Firefox" option from the file menu, select "History" then hover over "Recently Closed Tabs." A list of closed tabs from your previous browsing session will appear.&lt;/li&gt; &lt;li&gt;Scroll down and click on one of the recently closed tabs. It will automatically open in a new tab within Firefox.&lt;/li&gt; &lt;li&gt;Repeat Steps 2 and 3 until all tabs from your previous Firefox session appear in the browser.&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/7579748970523472489-2730751918540291594?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/2730751918540291594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/reopen-last-browsing-session-in-firefox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2730751918540291594?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2730751918540291594?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/reopen-last-browsing-session-in-firefox.html' title='Reopen the Last Browsing Session in Firefox'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEUNQHo6fip7ImA9WhRSEUs.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-1427411992752629836</id><published>2011-11-13T12:06:00.000+05:30</published><updated>2011-11-13T12:08:11.416+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-13T12:08:11.416+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Regular Expression'/><category scheme='http://www.blogger.com/atom/ns#' term='Validators'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Validation Summary'/><category scheme='http://www.blogger.com/atom/ns#' term='Compare Validator'/><title>Validators Control to allow only Integers</title><content type='html'>&lt;p&gt;Here are few different ways you can use native .NET validation controls to validate to allow only integers. We can do it in two ways one by using regular expression and one with compare validators&lt;/p&gt; &lt;h5&gt;Method 1: Compare Validator&lt;/h5&gt; &lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;asp:TextBox ID=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; Width=&lt;span style="color: #006080"&gt;"280px"&lt;/span&gt; autocomplete=&lt;span style="color: #006080"&gt;"off"&lt;/span&gt;&lt;br&gt;  CssClass=&lt;span style="color: #006080"&gt;"signuptxtbox"&lt;/span&gt; &amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br&gt; &amp;lt;asp:RequiredFieldValidator ID=&lt;span style="color: #006080"&gt;"NewMobileRequired"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; ControlToValidate=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt;&lt;br&gt; CssClass=&lt;span style="color: #006080"&gt;"failureNotification"&lt;/span&gt; Display=&lt;span style="color: #006080"&gt;"Dynamic"&lt;/span&gt; ErrorMessage=&lt;span style="color: #006080"&gt;"New Mobile is required."&lt;/span&gt;  ToolTip=&lt;span style="color: #006080"&gt;"New Mobile is required."&lt;/span&gt; ValidationGroup=&lt;span style="color: #006080"&gt;"ChangeNewMobileValidationGroup"&lt;/span&gt;&amp;gt;*&amp;lt;/asp:RequiredFieldValidator&amp;gt;&lt;br&gt;&amp;lt;asp:CompareValidator ID=&lt;span style="color: #006080"&gt;"NewMobileCompare"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; ControlToValidate=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt; CssClass=&lt;span style="color: #006080"&gt;"failureNotification"&lt;/span&gt; Display=&lt;span style="color: #006080"&gt;"Dynamic"&lt;/span&gt; Operator=&lt;span style="color: #006080"&gt;"DataTypeCheck"&lt;/span&gt; ErrorMessage=&lt;span style="color: #006080"&gt;"Mobile Number should be numeric only."&lt;/span&gt; ValidationGroup=&lt;span style="color: #006080"&gt;"ChangeNewMobileValidationGroup"&lt;/span&gt; Type=&lt;span style="color: #006080"&gt;"Integer"&lt;/span&gt;&amp;gt;*&amp;lt;/asp:CompareValidator&amp;gt;&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5&gt;Method 2: Regular Expression Validator&lt;/h5&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;asp:TextBox ID=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; Width=&lt;span style="color: #006080"&gt;"280px"&lt;/span&gt; autocomplete=&lt;span style="color: #006080"&gt;"off"&lt;/span&gt;&lt;br&gt;CssClass=&lt;span style="color: #006080"&gt;"signuptxtbox"&lt;/span&gt; &amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;asp:RequiredFieldValidator ID=&lt;span style="color: #006080"&gt;"NewMobileRequired"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; ControlToValidate=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt;&lt;br&gt;CssClass=&lt;span style="color: #006080"&gt;"failureNotification"&lt;/span&gt; Display=&lt;span style="color: #006080"&gt;"Dynamic"&lt;/span&gt; ErrorMessage=&lt;span style="color: #006080"&gt;"New Mobile is required."&lt;/span&gt; ToolTip=&lt;span style="color: #006080"&gt;"New Mobile is required."&lt;/span&gt; ValidationGroup=&lt;span style="color: #006080"&gt;"ChangeNewMobileValidationGroup"&lt;/span&gt;&amp;gt;*&amp;lt;/asp:RequiredFieldValidator&amp;gt;&lt;br&gt;&amp;lt;asp:RegularExpressionValidator ID=&lt;span style="color: #006080"&gt;"mobileRGEX"&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;"server"&lt;/span&gt; &lt;br&gt;ControlToValidate=&lt;span style="color: #006080"&gt;"NewMobileTextBox"&lt;/span&gt; CssClass=&lt;span style="color: #006080"&gt;"failureNotification"&lt;/span&gt;  &lt;br&gt;ErrorMessage=&lt;span style="color: #006080"&gt;"Please Enter Only Numbers"&lt;/span&gt; ValidationExpression=&lt;span style="color: #006080"&gt;"^\d+$"&lt;/span&gt; &lt;br&gt;ValidationGroup=&lt;span style="color: #006080"&gt;"ChangeNewMobileValidationGroup"&lt;/span&gt;&amp;gt;&amp;lt;/asp:RegularExpressionValidator&amp;gt;&lt;br&gt;     &lt;/pre&gt;&lt;br&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-1427411992752629836?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/1427411992752629836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/validators-control-to-allow-only.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1427411992752629836?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/1427411992752629836?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/validators-control-to-allow-only.html' title='Validators Control to allow only Integers'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEEERnY4eyp7ImA9WhRSEUs.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4809727060315327468</id><published>2011-11-12T12:12:00.000+05:30</published><updated>2011-11-13T12:13:27.833+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-13T12:13:27.833+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Windows update'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7 SP1'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Updates'/><category scheme='http://www.blogger.com/atom/ns#' term='Hot Fix'/><title>Hot Fix For Windows 7 Start Menu Search Not Working</title><content type='html'>&lt;p&gt;Sometimes in windows 7 start menu search will not work. Many blogs will tell you to edit the registry. But it is not recommended. Microsoft released the hotfix for this. Download at: &lt;a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=977380&amp;amp;kbln=en-us"&gt;http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=977380&amp;amp;kbln=en-us&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4809727060315327468?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4809727060315327468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/hot-fix-for-windows-7-start-menu-search.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4809727060315327468?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4809727060315327468?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/hot-fix-for-windows-7-start-menu-search.html' title='Hot Fix For Windows 7 Start Menu Search Not Working'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;CEcFRXo-fip7ImA9WhRTEkg.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-5601710293212254987</id><published>2011-11-02T22:10:00.001+05:30</published><updated>2011-11-02T22:10:14.456+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T22:10:14.456+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Regular Expression'/><category scheme='http://www.blogger.com/atom/ns#' term='Samples'/><category scheme='http://www.blogger.com/atom/ns#' term='Codes'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Regex'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><title>Regex validate Email address C#</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/11/regex-validate-email-address-c.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;This is how we can validating email address through C# using Regular Expression. Here is the sample code,&lt;/p&gt; &lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Text.RegularExpressions;&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;bool&lt;/span&gt; vaildateEmail(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; useremail)&lt;br&gt;{&lt;br&gt;    &lt;span style="color: #0000ff"&gt;bool&lt;/span&gt; istrue = &lt;span style="color: #0000ff"&gt;false&lt;/span&gt;;&lt;br&gt;    Regex reNum = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Regex(&lt;span style="color: #006080"&gt;@"\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"&lt;/span&gt;);&lt;br&gt;    CaptureCollection cc = reNum.Match(useremail).Captures;&lt;br&gt;    &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (cc.Count == 1)&lt;br&gt;    {&lt;br&gt;        istrue = &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;;&lt;br&gt;    }&lt;br&gt;    &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; istrue;&lt;br&gt;}&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-5601710293212254987?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/5601710293212254987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/regex-validate-email-address-c.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5601710293212254987?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5601710293212254987?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/regex-validate-email-address-c.html' title='Regex validate Email address C#'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;CEAMQXg_cSp7ImA9WhRTEkg.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-964303620156075746</id><published>2011-11-02T00:48:00.001+05:30</published><updated>2011-11-02T22:23:00.649+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T22:23:00.649+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='GetFiles'/><category scheme='http://www.blogger.com/atom/ns#' term='Directory'/><category scheme='http://www.blogger.com/atom/ns#' term='Samples'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><title>Delete All Files using C#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="wlWriterHeaderFooter" style="float: none; margin: 0px; padding: 4px 0px;"&gt;
&lt;iframe frameborder="0" scrolling="no" src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/11/delete-all-files-using-c.html" style="border: currentColor; height: 25px; width: 447px;"&gt;&lt;/iframe&gt;&lt;/div&gt;
For Deleting all the files first you need to get the list of file names from the specified directory (using static method Directory.Get­Files. Then delete all files from the list.&lt;br /&gt;
&lt;h5&gt;

Method 1&lt;/h5&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre id="codeSnippet" style="background-color: #f4f4f4; color: black; direction: ltr; font-family: &amp;quot;Courier New&amp;quot;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;"&gt;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.IO;

&lt;span style="color: blue;"&gt;string&lt;/span&gt;[] filePaths = Directory.GetFiles(@"c:\Directory\");
&lt;span style="color: blue;"&gt;foreach&lt;/span&gt; (&lt;span style="color: blue;"&gt;string&lt;/span&gt; filePath &lt;span style="color: blue;"&gt;in&lt;/span&gt; filePaths)
  File.Delete(filePath)&lt;/pre&gt;
&lt;br /&gt;
&lt;h5&gt;

Method 2&lt;/h5&gt;
&lt;/div&gt;
&lt;br /&gt;
To Delete all files using one code line, you can use Array.ForEach with combination of anonymous method.&lt;br /&gt;
&lt;br /&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre id="codeSnippet" style="background-color: #f4f4f4; color: black; direction: ltr; font-family: &amp;quot;Courier New&amp;quot;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;"&gt;Array.ForEach(Directory.GetFiles(@"c:\MyDirectory\"),&lt;span style="color: blue;"&gt;delegate&lt;/span&gt;(&lt;span style="color: blue;"&gt;string&lt;/span&gt; path) 
{ File.Delete(path); });&lt;/pre&gt;
&lt;br /&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/7579748970523472489-964303620156075746?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/964303620156075746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/delete-all-files-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/964303620156075746?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/964303620156075746?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/delete-all-files-using-c.html' title='Delete All Files using C#'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEQBSXozfCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-3730039449881134137</id><published>2011-11-02T00:31:00.001+05:30</published><updated>2011-11-02T01:09:18.484+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:09:18.484+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='Codes'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='FileInfo'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><title>How to get current page Filename using C#</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/11/how-to-get-current-page-filename-using.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;There are different ways to get current page filename using c#. Here are 3 methods you can use for your advantage.&lt;/p&gt; &lt;h5&gt;Method 1&lt;/h5&gt; &lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; currentPageFileName = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; FileInfo(&lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.Request.Url.LocalPath).Name;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5&gt;Method 2&lt;/h5&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; sPath = HttpContext.Current.Request.Url.AbsolutePath;&lt;br&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;[] strarry = sPath.Split(&lt;span style="color: #006080"&gt;'/'&lt;/span&gt;);&lt;br&gt;&lt;span style="color: #0000ff"&gt;int&lt;/span&gt; lengh = strarry.Length;&lt;br&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; sReturnPage = strarry[lengh - 1];&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;h5&gt;Method 3&lt;/h5&gt;&lt;br /&gt;&lt;div&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; absPath = System.Web.HttpContext.Current.Request.Url.AbsolutePath;&lt;br&gt;System.IO.FileInfo finfo = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; System.IO.FileInfo(absPath);&lt;br&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; fileName = finfo.Name;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Out of these I like Method 1 and 3 as its straight forward. Use a per your advantage. Good luck.&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-3730039449881134137?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/3730039449881134137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/how-to-get-current-page-filename-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3730039449881134137?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3730039449881134137?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/how-to-get-current-page-filename-using.html' title='How to get current page Filename using C#'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEQCRns6cCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-7335713317308541311</id><published>2011-11-02T00:24:00.001+05:30</published><updated>2011-11-02T01:09:27.518+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:09:27.518+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Directory'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><title>C# Checking a File exists in Folder</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/11/c-checking-file-exists-in-folder.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;How to get all files from a folder and compare a whether that file exists in that folder or not. Here is a sample code where you can loop through the code and check the file. &lt;/p&gt; &lt;p&gt;I have declared a variable to check there it exists or not. &lt;/p&gt; &lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;bool&lt;/span&gt; isFileExists = &lt;span style="color: #0000ff"&gt;false&lt;/span&gt;;&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Now I have this code to check whether file exists and based on it I’ll redirect in to that page.&lt;/p&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; searchfolder = Server.MapPath(&lt;span style="color: #006080"&gt;"~"&lt;/span&gt;) + &lt;span style="color: #006080"&gt;"\\TestFolder"&lt;/span&gt;;&lt;br&gt;DirectoryInfo Dir = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; DirectoryInfo(searchfolder);&lt;br&gt;FileInfo[] FileList = Dir.GetFiles(&lt;span style="color: #006080"&gt;"*.aspx"&lt;/span&gt;, SearchOption.AllDirectories);&lt;br&gt;&lt;span style="color: #0000ff"&gt;foreach&lt;/span&gt; (FileInfo FI &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; FileList)&lt;br&gt;{&lt;br&gt;    &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (FI.Name == redirectPage)&lt;br&gt;    {                            &lt;br&gt;        isFileExists = &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;;&lt;br&gt;        &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;;&lt;br&gt;    }                       &lt;br&gt;}&lt;br&gt;&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (isFileExists == &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;)&lt;br&gt;{&lt;br&gt;    Response.Redirect(&lt;span&gt;"~/redirectPage");&lt;br&gt;}&lt;br&gt;else&lt;br&gt;{&lt;br&gt;    Response.Redirect("&lt;/span&gt;~/OtherRedirect.aspx");&lt;br&gt;}&lt;/pre&gt;&lt;br&gt;Here I have search pattern as *.aspx as I need to check these files. This can be based on the files you want to check &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-7335713317308541311?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/7335713317308541311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/11/c-checking-file-exists-in-folder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/7335713317308541311?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/7335713317308541311?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/11/c-checking-file-exists-in-folder.html' title='C# Checking a File exists in Folder'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEQMR346fCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-6025210856190678105</id><published>2011-10-24T13:50:00.000+05:30</published><updated>2011-11-02T01:09:46.014+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:09:46.014+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Library 5.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight Integration Pack'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='Patterns and Practices'/><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Library'/><title>Silverlight Integration Pack for Microsoft Enterprise Library 5.0</title><content type='html'>&lt;p&gt;Silverlight Integration Pack for Enterprise Library is a collection of guidance and reusable application blocks designed to assist Silverlight application developers with common LOB development challenges. This release includes: Caching Application Block, Exception Handling Application Block, Logging Application Block, Policy Injection Application Block, Validation Application Block, and Unity Application Block. These blocks are designed to encapsulate recommended practices which facilitate consistency, ease of use, integration, and extensibility. The release also addresses the needs of those who would like to port their existing LOB applications, that already leverage Enterprise Library, to Silverlight&lt;/p&gt; &lt;p&gt;This release includes:  &lt;ul&gt; &lt;li&gt;&lt;b&gt;Caching Application Block&lt;/b&gt; with support for:  &lt;ul&gt; &lt;li&gt;In-memory cache  &lt;li&gt;Isolated storage cache  &lt;li&gt;Expiration and scavenging policies  &lt;li&gt;Notification of cache purging &lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;b&gt;Validation Application Block&lt;/b&gt; with support for:  &lt;ul&gt; &lt;li&gt;Multi-level complex validation  &lt;li&gt;Attribute-based specification of validation rules  &lt;li&gt;Configuration-based specification of validation rules  &lt;li&gt;Simple cross-field validation  &lt;li&gt;Self-validation  &lt;li&gt;Cross-tier validation (through WCF RIA Services integration)  &lt;li&gt;Multiple rule-sets  &lt;li&gt;Meta data type for updating entities with external classes in Silverlight  &lt;li&gt;Rich set of built-in validators&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;b&gt;Logging Application Block&lt;/b&gt;, including:  &lt;ul&gt; &lt;li&gt;Notification trace listener  &lt;li&gt;Isolated storage trace listener  &lt;li&gt;Remote service trace listener with support of batch logging  &lt;li&gt;Implementation of a WCF Remote logging service that integrates with the desktop version of the Logging Application Block  &lt;li&gt;Logging filters  &lt;li&gt;Tracing  &lt;li&gt;Logging settings runtime change API&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;b&gt;Exception Handling Application Block&lt;/b&gt;, including:  &lt;ul&gt; &lt;li&gt;Simple configurable, policy-based mechanism for dealing with exceptions consistently  &lt;li&gt;Wrap handler  &lt;li&gt;Replace handler  &lt;li&gt;Logging handler&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;b&gt;Unity Application Block&lt;/b&gt; – a dependency injection container  &lt;li&gt;Dependency injection container independence (Unity ships with the Enterprise Library, but can be replaced with a different container)  &lt;li&gt;&lt;b&gt;Unity Interception&lt;/b&gt; mechanism, with support for:  &lt;ul&gt; &lt;li&gt;Virtual method interception  &lt;li&gt;Interface interception&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;b&gt;Policy Injection Application Block&lt;/b&gt;, including:  &lt;ul&gt; &lt;li&gt;Validation handler  &lt;li&gt;Exception Handling handler  &lt;li&gt;Logging handler&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Flexible &lt;b&gt;configuration &lt;/b&gt;options, including:  &lt;ul&gt; &lt;li&gt;XAML-based configuration support  &lt;li&gt;Asynchronous configuration loading  &lt;li&gt;Interactive configuration console supporting profiles (desktop vs. Silverlight)  &lt;li&gt;Translation tool for XAML config (needed to convert conventional XML configuration files):  &lt;ul&gt; &lt;li&gt;Standalone command-line tool  &lt;li&gt;Config console wizard  &lt;li&gt;MS Build task&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Programmatic configuration support via a fluent interface &lt;/li&gt;&lt;/ul&gt; &lt;li&gt;StockTrader V2 &lt;b&gt;Reference Implementation&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt; &lt;h5&gt;Download &lt;/h5&gt; &lt;p&gt;Download the "&lt;a href="http://download.microsoft.com/download/3/1/D/31D55492-C289-4005-8213-5A60A56387D7/Enterprise Library 5.0 Silverlight Integration Pack.msi"&gt;Enterprise Library 5.0 Silverlight Integration Pack.msi&lt;/a&gt;" and install it. Alternatively, download specific application blocks from &lt;a href="http://nuget.org/List/Search?packageType=Packages&amp;amp;searchCategory=All+Categories&amp;amp;searchTerm=Enterprise+Library&amp;amp;sortOrder=sort-by-relevance&amp;amp;pageSize=50"&gt;NuGet&lt;/a&gt;.&lt;br&gt;To get the optional configuration tool, install it separately from the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/029292f0-6e66-424f-8381-3454c8222f9a?SRC=Home"&gt;Visual Studio gallery&lt;/a&gt; or download and install the &lt;a href="http://download.microsoft.com/download/F/6/4/F64B7080-3465-49AF-90B7-D6A4224A8D1F/Microsoft.Practices.EnterpriseLibrary.ConfigConsole.vsix"&gt;Microsoft.Practices.EnterpriseLibrary.ConfigConsole.vsix&lt;/a&gt; package.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-6025210856190678105?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/6025210856190678105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/10/silverlight-integration-pack-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/6025210856190678105?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/6025210856190678105?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/10/silverlight-integration-pack-for.html' title='Silverlight Integration Pack for Microsoft Enterprise Library 5.0'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEQNRXgyeCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-3543312490724853534</id><published>2011-10-24T13:30:00.000+05:30</published><updated>2011-11-02T01:09:54.690+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:09:54.690+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Library 5.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Patterns and Practices'/><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Library'/><title>Microsoft Enterprise Library 5.0</title><content type='html'>&lt;p&gt;Microsoft Enterprise Library is a collection of reusable application blocks designed to assist software developers with common enterprise development challenges. This release includes: Caching Application Block, Cryptography Application Block, Data Access Application Block, Exception Handling Application Block, Logging Application Block, Policy Injection Application Block, Security Application Block, Validation Application Block, and Unity Application Block.&lt;br&gt;This major release of Enterprise Library contains many compelling new features and updates that will make developers more productive. These include:  &lt;ul&gt; &lt;li&gt;Major architectural refactoring that provides improved testability and maintainability through full support of the dependency injection style of development  &lt;li&gt;Dependency injection container independence (Unity ships with Enterprise Library, but you can replace it with a container of your choice)  &lt;li&gt;Programmatic configuration support, including a fluent configuration interface and an XSD schema to enable IntelliSense  &lt;li&gt;Redesign of the configuration tool to provide:  &lt;ul&gt; &lt;li&gt;A more usable and intuitive look and feel  &lt;li&gt;Extensibility improvements through meta-data driven configuration visualizations that replace the requirement to write design time code  &lt;li&gt;A wizard framework that can help to simplify complex configuration tasks&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Data accessors for more intuitive processing of data query results  &lt;li&gt;Asynchronous data access support  &lt;li&gt;Honoring validation attributes between Validation Application Block and DataAnnotations  &lt;li&gt;Integration with Windows Presentation Foundation (WPF) validation mechanisms  &lt;li&gt;Support for complex configuration scenarios, including additive merge from multiple configuration sources and hierarchical merge  &lt;li&gt;Optimized cache scavenging  &lt;li&gt;Better performance when logging  &lt;li&gt;A reduction of the number of assemblies  &lt;li&gt;Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010  &lt;li&gt;Improvements to Unity&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://download.microsoft.com/download/A/5/B/A5BF3B05-CB8A-40FE-B3E0-93FA84136D2B/Enterprise Library 5.0.msi"&gt;Download&lt;/a&gt; the MSI and install&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-3543312490724853534?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/3543312490724853534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/10/microsoft-enterprise-library-50.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3543312490724853534?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3543312490724853534?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/10/microsoft-enterprise-library-50.html' title='Microsoft Enterprise Library 5.0'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CU4CSHw_cCp7ImA9WhRTEkg.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4150878939886076855</id><published>2011-10-12T22:42:00.000+05:30</published><updated>2011-11-02T22:42:49.248+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T22:42:49.248+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='SOAP'/><category scheme='http://www.blogger.com/atom/ns#' term='REST'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title>Understanding SOAP and REST</title><content type='html'>&lt;p&gt;Which is better SOAP or REST? One of the most common discussions. Both REST and SOAP are different approaches in writing the service oriented applications. REST is an architectural style for building client-server applications. SOAP is a protocol for exchanging data between two endpoints.&lt;/p&gt; &lt;p&gt;It is more appropriate if you compare REST with RPC(remote procedure call). RPC is a style of building client-server applications. Compared to RPC there won’t be generated proxy for client which is less coupled to the service.  &lt;p&gt;REST relies on HTTP, requests for data[Get requests] can be cached. RPC systems not having such infrastructure even when using SOAP over HTTP.  &lt;p&gt;Both REST and SOAP can used to implement similar functionality but SOAP should be used when a particular feature of SOAP is needed.  &lt;p&gt;&lt;strong&gt;Security&lt;/strong&gt;  &lt;p&gt;&lt;strong&gt;Is SOAP is more secured than REST? &lt;/strong&gt;answer is no. It is easy to make REST based service secure as it is to make SOAP service.The security in REST&amp;nbsp; is in the form of HTTP-based authentication and Secure Sockets Layer(SSL).&amp;nbsp; Because of WS-* specifications SOAP supports the end-to-end message security.  &lt;p&gt;&lt;strong&gt;Transactions&lt;/strong&gt;  &lt;p&gt;This is another feature that SOAP and WS-*&amp;nbsp; supports where REST has none.  &lt;p&gt;WS-Atomic transactions supports distributed, two-phase commit transactional semantics over SOAP-based services. REST has no support for distributed transactions. To create something like transactions in REST you create a&amp;nbsp; resource called Transaction. When client wants to do some transaction and then he creates a resource that specifies all the correct resources.  &lt;p&gt;&lt;strong&gt;Interoperability&lt;/strong&gt;  &lt;p&gt;SOAP services are less interoperable than REST Services. In terms of platforms, For REST all you need is HTTP stack. REST has widest interoperability like mobile devices,household devices, POS devices etc. The problem in SOAP and WS-* is the large number of standards to choose from.  &lt;p&gt;&lt;strong&gt;Metadata&lt;/strong&gt;  &lt;p&gt;There is no direct way in REST to generating client from server-side-generated metadata. In SOAP with WSDL we can generate the client proxies. In REST we can achieve the same using WADL (Web Application Description Language). WSDL makes easier in generating the proxy than writing some code fro generating for REST service.  &lt;p&gt;&lt;strong&gt;Protocol Support&lt;/strong&gt;  &lt;p&gt;Though REST is currently tied with HTTP but you still can implement the REST features on other protocols until vendors add support for this.  &lt;p&gt;&lt;strong&gt;IS REST is for Internet-facing apps and SOAP for enterprise apps?&lt;/strong&gt;  &lt;p&gt;Answer is no. This question comes due to lack of distributed transaction support in REST vs explicit WS-atomic transactions in SOAP.  &lt;p&gt;ASP.NET doesn’t have support for distributed transactions, but does that mean ASP.NET isn’t useful for enterprises?  &lt;p&gt;Enterprise applications need scalability and speed. SOAP services are much harder to scale than RESTful services. Most of the scaling features can not be used with SOAP because SOAP uses POST only over HTTP.  &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;  &lt;p&gt;“Which is better, REST or SOAP?” is “It depends”. Both REST and SOAP has advantages and disadvantages when it comes to building the services. When you need the features that are easy to implement using REST or SOAP choose it..&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4150878939886076855?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4150878939886076855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/10/understanding-soap-and-rest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4150878939886076855?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4150878939886076855?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/10/understanding-soap-and-rest.html' title='Understanding SOAP and REST'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMEQHg8fCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-3695601999559564109</id><published>2011-09-10T19:48:00.000+05:30</published><updated>2011-11-02T01:10:01.674+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:10:01.674+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Samples'/><category scheme='http://www.blogger.com/atom/ns#' term='DateTime'/><category scheme='http://www.blogger.com/atom/ns#' term='Codes'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><title>Convert DateTime values to W3C DateTime format in C#</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/09/convert-datetime-values-to-w3c-datetime.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;ConvertDateToW3CTime()&lt;/strong&gt; function takes a C# DateTime value and converts it to a W3C formatted date/time value.&lt;br&gt;The function works by first converting the date/time parameter to a UTC (Coordinated Universal Time) value and formatting it. It then appends the UTC offset time to the previously formatted string. &lt;p&gt;The &lt;strong&gt;T&lt;/strong&gt; placed between the date and time simply indicates that the numbers following it are Time values. The UTC offset can be one 3 states, zero e.g. there is not difference in time between the UTC value and the local value. A zero value is identified by simply appending the letter &lt;strong&gt;Z&lt;/strong&gt; to the end of the formatted datetime value. If the offset time is greater than 0 then it is preceded with a &lt;strong&gt;+&lt;/strong&gt; sign, e.g. 2 hours and 30 minutes over the UTC time would be written as +02:30. If the offset is less than the UTC value then it is preceded with a &lt;strong&gt;–&lt;/strong&gt; sign e.g. -01:00. &lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #008000"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #008000"&gt;/// Converts a datetime value to w3c format&lt;/span&gt;&lt;br&gt;&lt;span style="color: #008000"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #008000"&gt;/// &amp;lt;param name="date"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #008000"&gt;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; ConvertDateToW3CTime(DateTime date)&lt;br&gt;{&lt;br&gt;    &lt;span style="color: #008000"&gt;//Get the utc offset from the date value&lt;/span&gt;&lt;br&gt;    var utcOffset = TimeZone.CurrentTimeZone.GetUtcOffset(date); &lt;br&gt;    &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; w3CTime = date.ToUniversalTime().ToString(&lt;span style="color: #006080"&gt;"yyyy-MM-ddTHH:mm:ss"&lt;/span&gt;);&lt;br&gt;    &lt;span style="color: #008000"&gt;//append the offset e.g. z=0, add 1 hour is +01:00&lt;/span&gt;&lt;br&gt;    w3CTime += utcOffset == TimeSpan.Zero ? &lt;span style="color: #006080"&gt;"Z"&lt;/span&gt; :&lt;br&gt;        String.Format(&lt;span style="color: #006080"&gt;"{0}{1:00}:{2:00}"&lt;/span&gt;, (utcOffset &amp;gt; TimeSpan.Zero ? &lt;span style="color: #006080"&gt;"+"&lt;/span&gt; : &lt;span style="color: #006080"&gt;"-"&lt;/span&gt;)&lt;br&gt;        , utcOffset.Hours, utcOffset.Minutes);&lt;br&gt; &lt;br&gt;    &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; w3CTime;&lt;br&gt;}&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here is an example, how to use it&lt;/p&gt;&lt;br /&gt;&lt;div id="codeSnippetWrapper"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;ConvertDateToW3CTime(DateTime.Now);&lt;br&gt;//Output 2011-10-17T19:10:48+01:00&lt;/pre&gt;&lt;br&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-3695601999559564109?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/3695601999559564109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/09/convert-datetime-values-to-w3c-datetime.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3695601999559564109?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/3695601999559564109?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/09/convert-datetime-values-to-w3c-datetime.html' title='Convert DateTime values to W3C DateTime format in C#'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEMESHgyeCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4282222902677321612</id><published>2011-08-25T12:41:00.001+05:30</published><updated>2011-11-02T01:10:09.690+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:10:09.690+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='Browsers'/><title>How to Close the Browser Window from a Silverlight Application</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/08/how-to-close-browser-window-from.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;All secured sites ask you to close your browser window after you sign out from a web application. This is a security measure which actually removes all session details from the browser cache.  &lt;p&gt;If you are developing a secured site and want to close the browser window just after the user logs out from the application, this small tip will help you. If you want to develop the same behavior in your Silverlight application, this is how we can do the trick.  &lt;p&gt;Use&amp;nbsp; the "&lt;code&gt;System.Windows.Browser.HtmlPage.Window.Invoke()&lt;/code&gt;" method to call the &lt;code&gt;Close()&lt;/code&gt; method of the browser window, as shown in the below code snippet:  &lt;div id="codeSnippetWrapper"&gt; &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; OnWindowCloseClick(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;{&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    System.Windows.Browser.HtmlPage.Window.Invoke(&lt;span style="color: #006080"&gt;"close"&lt;/span&gt;);&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;The above code when called will close the browser window where your Silverlight application is hosted. If it is a tab, it will close the Window tab instead. If you are using it inside Internet Explorer, it will ask you whether you really want to close the browser. If you press "No", it will remain in that page, and clicking "Yes" will close the browser tab/window&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4282222902677321612?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4282222902677321612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/08/how-to-close-browser-window-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4282222902677321612?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4282222902677321612?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/08/how-to-close-browser-window-from.html' title='How to Close the Browser Window from a Silverlight Application'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEMFR3oyfyp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4223490893506330819</id><published>2011-08-01T17:20:00.000+05:30</published><updated>2011-11-02T01:10:16.497+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:10:16.497+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Cross Browser'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Browsers'/><title>Tips for Cross Browser Compatibility</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/08/tips-for-cross-browser-compatibility.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;Cross-browser compatibility is one of the most time consuming tasks for any web designer. We’ve seen many different articles over the net describing common problems and fixes. There are some things you should consider for Safari and Firefox also, and IE isn’t always the culprit for your CSS woes. Here is a quick summary of How to get Cross Browser Compatibility Every Time:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Always use strict doctype and standards-compliant HTML/CSS  &lt;li&gt;Always use a reset at the start of your css  &lt;li&gt;Use -moz-opacity:0.99 on text elements to clean up rendering in Firefox, and text-shadow: #000 0 0 0 in Safari  &lt;li&gt;Never resize images in the CSS or HTML  &lt;li&gt;Check font rendering in every browser. Don’t use Lucida  &lt;li&gt;Size text as a % in the body, and as em’s throughout  &lt;li&gt;All layout divs that are floated should include display:inline and overflow:hidden  &lt;li&gt;Containers should have overflow:auto and trigger hasLayout via a width or height  &lt;li&gt;Don’t use any fancy CSS3 selectors  &lt;li&gt;Don’t use transparent PNG’s unless you have loaded the alpha&lt;/li&gt;&lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4223490893506330819?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4223490893506330819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/08/tips-for-cross-browser-compatibility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4223490893506330819?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4223490893506330819?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/08/tips-for-cross-browser-compatibility.html' title='Tips for Cross Browser Compatibility'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMHQ3w7cSp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-5523038692912025519</id><published>2011-07-21T11:02:00.001+05:30</published><updated>2011-11-02T01:10:32.209+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:10:32.209+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Shortcuts'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title>Keyboard Shortcuts: SQL Server Management Studio</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/07/keyboard-shortcuts-sql-server.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;SQL Server Management Studio offers users two keyboard schemes. By default, it uses the Standard scheme, with keyboard shortcuts based on Microsoft Visual Studio. A second scheme, called SQL Server 2000, closely resembles the tools from SQL Server 2000, in particular the keyboard shortcuts from the Query Analyzer. In a few cases, SQL Server Management Studio cannot offer the keyboard shortcuts from Query Analyzer. To change the keyboard scheme or add additional keyboard shortcuts, on the Tools menu, click Options. Select the desired keyboard scheme on the Environment, Keyboard page.&lt;/p&gt; &lt;p&gt;For Shortcuts page. &lt;a href="http://msdn.microsoft.com/en-us/library/ms174205.aspx"&gt;Click here&lt;/a&gt; to navigate.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-5523038692912025519?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/5523038692912025519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/07/keyboard-shortcuts-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5523038692912025519?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5523038692912025519?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/07/keyboard-shortcuts-sql-server.html' title='Keyboard Shortcuts: SQL Server Management Studio'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMCQn06eCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-2349244530776463269</id><published>2011-06-24T03:59:00.000+05:30</published><updated>2011-11-02T01:11:03.310+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:03.310+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Validations'/><category scheme='http://www.blogger.com/atom/ns#' term='Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Creditcard Validations'/><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title>How to: Dummy Credit card # for Testing</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/06/how-to-dummy-credit-card-for-testing.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;Here are list of credit card numbers which we can use for testing purpose. You can use this numbers and give other details like year and month and cvv as dummy ones. These&amp;nbsp; works for testing purpose.&lt;/p&gt; &lt;table border="1" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;Credit Card Type&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;Credit Card Number&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;American Express&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;378282246310005&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;American Express&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;371449635398431&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;AMEX Corporate&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;378734493671000&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Diners Club&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;30569309025904&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Diners Club&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;38520000023237&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Discover&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;6011111111111117&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Discover&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;6011000990139424&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;JCB&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;3530111333300000&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;JCB&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;3566002020360505&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;MasterCard&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;5555555555554444&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;MasterCard&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;5105105105105100&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Visa&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;4111111111111111&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="248"&gt; &lt;p&gt;Visa&lt;/p&gt;&lt;/td&gt; &lt;td width="363"&gt; &lt;p&gt;4012888888881881&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-2349244530776463269?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/2349244530776463269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/06/how-to-dummy-credit-card-for-testing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2349244530776463269?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2349244530776463269?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/06/how-to-dummy-credit-card-for-testing.html' title='How to: Dummy Credit card # for Testing'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMDQn04eCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-2201707997738204414</id><published>2011-06-06T02:13:00.001+05:30</published><updated>2011-11-02T01:11:13.330+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:13.330+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='VS 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='VS 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title>Difference Between Add Service Reference And Web Reference?</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/06/difference-between-add-service.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;Service References or WCF comes from VS 2008 and above with an extension as .svc and Web References are their from the beginning as .asmx. &lt;/p&gt; &lt;p&gt;The main difference between WCF service and Webservice while consuming, we need to add them in solution as reference to access them. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Add Web Reference &lt;/strong&gt;is a wrapper over &lt;a href="http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx"&gt;wsdl.exe&lt;/a&gt; and can be used to create proxies for .NET 1.1 or 2.0 clients. This means we are pointing to a WCF service you have to be pointing to an endpoint that uses basicHttpBinding. &lt;p&gt;&lt;strong&gt;Add Service Reference &lt;/strong&gt;is a wrapper over &lt;a href="http://msdn.microsoft.com/en-us/library/aa347733.aspx"&gt;svcutil.exe&lt;/a&gt; and also creates clients proxies (and additionally web.config entries). These proxies, however, can only be consumed by .NET 3.0+ clients. &lt;p&gt;Below image will show you how to add web reference from Service Reference. Right click the&lt;strong&gt;Service References&lt;/strong&gt; from solution explorer, then select &lt;strong&gt;advance&lt;/strong&gt; button on &lt;strong&gt;Add Services window&lt;/strong&gt;you will get to the form as in below image and then will be able to add &lt;strong&gt;Web Reference&lt;/strong&gt; via Add&lt;strong&gt;web Reference window&lt;/strong&gt;.. &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-kxWdxbEQ_CE/Tevqf1s2vkI/AAAAAAAAA7E/G64Qaz1ou-k/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-K_NpgKuwzsw/TevqgHWtBhI/AAAAAAAAA7I/4rnwNimCvBE/image_thumb%25255B2%25255D.png?imgmax=800" width="199" height="309"&gt;&lt;/a&gt; &lt;p&gt;But there is some things which changed in VS2010 about adding web references to a class library. So in VS 2010 you cannot add Web Reference directly.&amp;nbsp; Here is how you need to do it. &lt;p&gt;From Project -&amp;gt; Add Service Reference ..., (From Solution Explorer, Right Click on Project, From the drop down Menu, Select Add Service Reference) &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-YPBfnjOR1FA/TevqgknieHI/AAAAAAAAA7M/wLCQW5rRxkQ/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-ObVqtYITq8M/TevqhGUqB8I/AAAAAAAAA7Q/7BgdEbR-0-M/image_thumb%25255B3%25255D.png?imgmax=800" width="244" height="165"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;This window will appear, Click advanced,&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-PpffJMYC6pg/TevqhTpnfxI/AAAAAAAAA7U/BIR3h5tszuw/s1600-h/image%25255B16%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-Gnybj0rT07g/Tevqh6tHo1I/AAAAAAAAA7Y/poJS_kJ7ePE/image_thumb%25255B6%25255D.png?imgmax=800" width="244" height="195"&gt;&lt;/a&gt;&lt;/p&gt;   &lt;p&gt;On Add Service Settings window, Now click on Add Web Reference&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-qEaKoe2jMTo/TevqifxKlLI/AAAAAAAAA7c/6p_KbKRTwDw/s1600-h/image%25255B22%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-6hZoP7Smzoo/TevqiwpN-sI/AAAAAAAAA7g/UzJq8Hyg1RQ/image_thumb%25255B8%25255D.png?imgmax=800" width="244" height="223"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;This will open add Web reference window from where we can add web service. Hope this helps. Good luck.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-2201707997738204414?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/2201707997738204414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/06/difference-between-add-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2201707997738204414?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/2201707997738204414?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/06/difference-between-add-service.html' title='Difference Between Add Service Reference And Web Reference?'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-K_NpgKuwzsw/TevqgHWtBhI/AAAAAAAAA7I/4rnwNimCvBE/s72-c/image_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMMRH49eyp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-5591405903689932750</id><published>2011-05-28T01:15:00.001+05:30</published><updated>2011-11-02T01:11:25.063+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:25.063+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Validators'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Help'/><category scheme='http://www.blogger.com/atom/ns#' term='Examples'/><category scheme='http://www.blogger.com/atom/ns#' term='Validation Summary'/><title>How to Add validations controls Programmatically</title><content type='html'>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"&gt;&lt;iframe src="http://www.facebook.com/widgets/like.php?href=http://naagasai.blogspot.com/2011/05/how-to-add-validations-controls.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;p&gt;I was looking for some server side validation message which can done without posting back to server. I tried doing javascript and writing that script to literal control and I have been thinking of doing a better way. But here is the cool way to do this.&lt;pre class="code"&gt;&lt;span style="color: green"&gt;// Dynamically adding Validation control&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #2b91af"&gt;RequiredFieldValidator &lt;/span&gt;Validator = &lt;span style="color: blue"&gt;new &lt;/span&gt;&lt;span style="color: #2b91af"&gt;RequiredFieldValidator&lt;/span&gt;();&lt;br /&gt;Validator.ErrorMessage = &lt;span style="color: #a31515"&gt;"No data to download for your request."&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: green"&gt;// Validation group must be specified as to which group you need to bind&lt;br /&gt;&lt;/span&gt;Validator.ValidationGroup = &lt;span style="color: #a31515"&gt;"Group1"&lt;/span&gt;;&lt;br /&gt;Validator.IsValid = &lt;span style="color: blue"&gt;false&lt;/span&gt;;&lt;br /&gt;Validator.Visible = &lt;span style="color: blue"&gt;false&lt;/span&gt;;&lt;br /&gt;Page.Form.Controls.Add(Validator);   &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;All you need to do is Depending on your need you need to change message and validation group. We need to set up validation group properly.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Happy coding &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://lh6.ggpht.com/-9ztUMtCcvw4/Td__c3FLH9I/AAAAAAAAA7A/cWFDhO5sYEs/wlEmoticon-smile%25255B2%25255D.png?imgmax=800"&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-5591405903689932750?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/5591405903689932750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/05/how-to-add-validations-controls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5591405903689932750?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5591405903689932750?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/05/how-to-add-validations-controls.html' title='How to Add validations controls Programmatically'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-9ztUMtCcvw4/Td__c3FLH9I/AAAAAAAAA7A/cWFDhO5sYEs/s72-c/wlEmoticon-smile%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMNQ387eSp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-4654505702737914804</id><published>2011-05-18T09:34:00.000+05:30</published><updated>2011-11-02T01:11:32.101+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:32.101+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='WCF 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='VS 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='Throttling'/><category scheme='http://www.blogger.com/atom/ns#' term='WF'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title>How to add a ServiceThrottlingBehavior to a WCF Service?</title><content type='html'>&lt;p&gt;When working with WCF especially when middle-tier client applications uses Windows Communication Foundation, you should always think about performance and take some major design decisions and tuning parameters.&lt;/p&gt; &lt;p&gt;By adding &lt;em&gt;&lt;strong&gt;ServiceThrottlingbehavior&lt;/strong&gt;&lt;/em&gt; in web.config we can achieve high performance using WCF. Below is the sample serivceThrottleconfiguration settings in web.config in .NET 4.0 Framework.&lt;/p&gt;&lt;pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"CommonService"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceMetadata&lt;/span&gt; &lt;span style="color: #ff0000"&gt;httpGetEnabled&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"true"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceDebug&lt;/span&gt; &lt;span style="color: #ff0000"&gt;includeExceptionDetailInFaults&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"false"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;dataContractSerializer&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxItemsInObjectGraph&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"2147483647"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;          &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceThrottling&lt;/span&gt; &lt;span style="color: #ff0000"&gt;maxConcurrentCalls&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"16"&lt;/span&gt; &lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;                             &lt;span style="color: #ff0000"&gt;maxConcurrentInstances&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"116"&lt;/span&gt;   &lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;                             &lt;span style="color: #ff0000"&gt;maxConcurrentSessions&lt;/span&gt;=&lt;span style="color: #0000ff"&gt;"100"&lt;/span&gt;   &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behavior&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;      &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;behaviors&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The main purpose for the throttling settings can be classified into the following two aspects:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;u&gt;Controlled resource usage&lt;/u&gt;: With the throttling of concurrent execution, the usage of resources such as memory or threads can be limited to a reasonable level so that the system works well without hitting reliability issues.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;u&gt;Balanced performance load&lt;/u&gt;: Systems always work in a balanced way when the load is controlled. If there are too much concurrent execution happening, a lot of contention and bookkeeping would happen and thus it would hurt the performance of the system.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;In WCF 4, the default values of these settings are revised so that people don’t have to change the defaults in most cases. Here are the main changes:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;MaxConcurrentSessions: default is 100 * ProcessorCount&lt;/li&gt;&lt;br /&gt;&lt;li&gt;MaxConcurrentCalls: default is 16 * ProcessorCount&lt;/li&gt;&lt;br /&gt;&lt;li&gt;MaxConcurrentInstances: default is the total of the above two, which follows the same pattern as before.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;“ProcessorCount” is used as multiplier for the settings. So on a 4-proc server, you would get the default of MaxConcurrentCalls as 16 * 4 = 64. Thus the consideration is that, when you write a WCF service and you use the default settings, the service can be deployed to any system from low-end one-proc server to high-end such as 24-way server without having to change the settings. So CPU uses count as the multiplier.&lt;br /&gt;&lt;p&gt;Please note, these changes are for the default settings only. If you explicitly set these settings in either configuration or in code, the system would use the settings that you provided. No “ProcessCount” multiplier would be applied.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-4654505702737914804?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/4654505702737914804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/05/how-to-add-servicethrottlingbehavior-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4654505702737914804?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/4654505702737914804?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/05/how-to-add-servicethrottlingbehavior-to.html' title='How to add a ServiceThrottlingBehavior to a WCF Service?'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEIEQHwzeyp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-5654469224182301789</id><published>2011-05-17T23:12:00.000+05:30</published><updated>2011-11-02T01:11:41.283+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:41.283+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Transformations'/><category scheme='http://www.blogger.com/atom/ns#' term='VS 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 4.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Web.config'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 4'/><title>Web.config transformations in .NET 4.0</title><content type='html'>&lt;p&gt;The web.config has now been refactored, and with ASP.Net 4 a lot of the settings that were previously found in the web.config file have now been moved to the machine.config file. This significantly reduces the size of the file, which I think is a great bonus.&lt;/p&gt; &lt;p&gt;Web.config transformations cater for moving your application between your relevant environments (e.g. DEV, QA, PROD). The transformations work on the relevant configurations you setup.&lt;br&gt;To create your own Configuration build with configuration transformations, create a new ASP.NET Web Application in Visual Studio 2010. Next, in the menu select "Build" and then "Configuration Manager". In the "Active Solution Configuration" drop down, select "New". Name the relevant configuration, for example I'm calling mine "DEV" and copying the settings from the "Debug" configuration.&lt;/p&gt; &lt;p&gt;Make sure "&lt;em&gt;Create new project configurations&lt;/em&gt;" is selected. Once you click okay, you will see your Web.config file now has a "+" next to it in your solution explorer.&lt;/p&gt; &lt;p&gt;If you don't see the "+", build you solution, right click the web.config file and select "Add Config Transformations".&lt;br&gt;You will see for each of your build configurations there will be a "&lt;em&gt;Web.[Build Configuration Name].config&lt;/em&gt;" file. If you open any of these files, you will see place holders for different sections of your original web.config file.&lt;/p&gt; &lt;p&gt;To change settings per your relevant build configuration, check out the following MSDN Article:&lt;a href="http://msdn.microsoft.com/en-us/library/dd465326%28VS.100%29.aspx"&gt;Web.config Transformation Syntax for Web Application Project Deployment&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Hope this helps.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-5654469224182301789?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/5654469224182301789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/05/webconfig-transformations-in-net-40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5654469224182301789?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/5654469224182301789?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/05/webconfig-transformations-in-net-40.html' title='Web.config transformations in .NET 4.0'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEIFRXc9eCp7ImA9WhRTEUo.&quot;'><id>tag:blogger.com,1999:blog-7579748970523472489.post-8121921337321863210</id><published>2011-05-15T23:22:00.000+05:30</published><updated>2011-11-02T01:11:54.960+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-02T01:11:54.960+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='.NET Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Client Profile'/><category scheme='http://www.blogger.com/atom/ns#' term='Target Framework'/><title>When to use .NET Framework Client Profile</title><content type='html'>&lt;p&gt;The .NET Framework 4 Client Profile is a &lt;em&gt;subset&lt;/em&gt; of the .NET Framework 4 that is optimized for client applications. It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.&lt;/p&gt; &lt;p&gt;Check out following MSDN Page for Client Profile:&lt;a href="http://msdn.microsoft.com/en-us/library/cc656912.aspx"&gt;.NET Framework Client Profile&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7579748970523472489-8121921337321863210?l=naagasai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naagasai.blogspot.com/feeds/8121921337321863210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://naagasai.blogspot.com/2011/05/when-to-use-net-framework-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/8121921337321863210?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7579748970523472489/posts/default/8121921337321863210?v=2'/><link rel='alternate' type='text/html' href='http://naagasai.blogspot.com/2011/05/when-to-use-net-framework-client.html' title='When to use .NET Framework Client Profile'/><author><name>Nagasai</name><uri>http://www.blogger.com/profile/03327868955338874241</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/-vr7kSc8s2Tk/TdwvHRyg6QI/AAAAAAAAA6c/bjcbL3TbuLM/s1600/nagasai.jpg'/></author><thr:total>0</thr:total></entry></feed>