<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6078944045066267379</id><updated>2011-12-30T02:00:53.198-08:00</updated><category term='IO File Systems'/><category term='Visual Studio'/><category term='String Format'/><category term='101 LINQ Samples'/><category term='Regular Expressions'/><category term='Content Management System'/><category term='Zipcode'/><category term='c#'/><category term='WCF Services'/><category term='Identity'/><category term='WebClient'/><category term='Visual Studio 2008'/><category term='DOM'/><category term='Google search email'/><category term='Data Caching'/><category term='asp.net 4.0'/><category term='Culture Info'/><category term='String to Enum'/><category term='Forms'/><category term='Live streaming'/><category term='Proxy list'/><category term='New IPL Schedule 2009 South Africa'/><category term='UpdatePanel'/><category term='sql server 2005'/><category term='Questions And Answers'/><category term='Hindi Movies'/><category term='Funny'/><category term='Examples'/><category term='CSLA.NET'/><category term='Split method'/><category term='DataView'/><category term='Don'/><category term='Email sending'/><category term='Print Dialog'/><category term='Javascript'/><category term='Live Cricket'/><category term='Image to DB'/><category term='Dot Net Webservices'/><category term='PHP Future'/><category term='Views'/><category term='Wrapper'/><category term='DateTime'/><category term='C# Send Authenticated  email'/><category term='WebParts'/><category term='DeadLocks'/><category term='hindi Songs'/><category term='asp.net'/><category term='fun'/><category term='Converter'/><category term='C# Sites'/><category term='Cursor'/><category term='Ram Gopal Varma'/><category term='T-SQL'/><category term='asp.net 3.5'/><category term='Word to PDF'/><category term='Web Acronyms'/><category term='Cricket'/><category term='Linq Studey materials'/><category term='Tata Docomo'/><category term='Red-Gate'/><category term='Son Of Alexander'/><category term='life cycle'/><category term='Improve ranking'/><category term='IPL South Africa'/><category term='masti'/><category term='Ajax'/><category term='Ads'/><category term='Watch Live Match'/><category term='LinQ'/><category term='Environment Class'/><category term='Fanaa'/><category term='Sending Authenticated Emails in .NET 2.0'/><category term='C# LinQ'/><category term='Cricket scorecard'/><category term='Blue'/><category term='Previews'/><category term='Unit Testing'/><category term='C# vs VB.NET'/><category term='PDF using C#'/><category term='Malayalam Movies'/><category term='dot net'/><category term='Alternative ajax technique'/><category term='.Net 4.0'/><category term='Google search'/><category term='Thriller Movies'/><category term='Dot Net Assemblies'/><category term='Mouse Programming'/><category term='CHM Files'/><category term='DLF IPL 2009'/><category term='IPL 2011'/><category term='Windows Services'/><category term='Testing tools'/><category term='web services'/><category term='Linq books'/><category term='Agyaat'/><category term='ADO.NET'/><category term='C# Code'/><category term='Reflection'/><category term='Export to excel'/><category term='IPL Schedule 2009'/><category term='Computed columns'/><category term='Joomla'/><category term='Database'/><category term='C# Books'/><category term='asp.net MVC'/><category term='sql server 2005 Functions'/><category term='Tools'/><category term='T20 World Cup 2009'/><category term='Technologies'/><category term='T20 World Cup 2010'/><category term='Shayari'/><category term='Watch Live Scorecard'/><category term='Random string'/><title type='text'>vipin cherukara</title><subtitle type='html'>A Cherukara's Factory</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vipinc007.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default?start-index=101&amp;max-results=100'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>200</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8090819442579089005</id><published>2011-12-30T02:00:00.001-08:00</published><updated>2011-12-30T02:00:53.226-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='String to Enum'/><title type='text'>Convert string to Enum instance</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="cs-keyword"&gt;public&lt;/span&gt; &lt;span class="cs-keyword"&gt;void&lt;/span&gt; EnumInstanceFromString()&lt;br /&gt;{&lt;br /&gt;   &lt;span class="cs-comment"&gt;// The .NET Framework contains an Enum called DayOfWeek.&lt;/span&gt;&lt;br /&gt;   &lt;span class="cs-comment"&gt;// Let's generate some Enum instances from strings.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   DayOfWeek wednesday = &lt;br /&gt;      (DayOfWeek)Enum.Parse(typeof(DayOfWeek), &lt;span class="cs-string"&gt;"Wednesday"&lt;/span&gt;);&lt;br /&gt;   DayOfWeek sunday = &lt;br /&gt;      (DayOfWeek)Enum.Parse(typeof(DayOfWeek), &lt;span class="cs-string"&gt;"sunday"&lt;/span&gt;, &lt;span class="cs-keyword"&gt;true&lt;/span&gt;);&lt;br /&gt;   DayOfWeek tgif = &lt;br /&gt;      (DayOfWeek)Enum.Parse(typeof(DayOfWeek), &lt;span class="cs-string"&gt;"FRIDAY"&lt;/span&gt;, &lt;span class="cs-keyword"&gt;true&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;   lblOutput.Text = wednesday.ToString() &lt;br /&gt;      + &lt;span class="cs-string"&gt;".  Int value = "&lt;/span&gt; + ((&lt;span class="cs-keyword"&gt;int&lt;/span&gt;)wednesday).ToString() + &lt;span class="cs-string"&gt;"&lt;br /&gt;"&lt;/span&gt;;&lt;br /&gt;   lblOutput.Text += sunday.ToString() &lt;br /&gt;      + &lt;span class="cs-string"&gt;".  Int value = "&lt;/span&gt; + ((&lt;span class="cs-keyword"&gt;int&lt;/span&gt;)sunday).ToString() + &lt;span class="cs-string"&gt;"&lt;br /&gt;"&lt;/span&gt;;&lt;br /&gt;   lblOutput.Text += tgif.ToString() &lt;br /&gt;      + &lt;span class="cs-string"&gt;".  Int value = "&lt;/span&gt; + ((&lt;span class="cs-keyword"&gt;int&lt;/span&gt;)tgif).ToString() + &lt;span class="cs-string"&gt;"&lt;br /&gt;"&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The Enum.Parse method takes two or three arguments. The first is the &lt;br /&gt;type of the enum you want to create as output. The second field is the &lt;br /&gt;string you want to parse. Without a third input, the case of the input &lt;br /&gt;string must match an enum instance or the conversion fails. But the &lt;br /&gt;third input indicates whether to ignore case. If true, than wEdNEsDAy &lt;br /&gt;will still get converted successfully.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;div class="wwSec wwHasTitle" id="wwCodeSec" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Example:  Output&lt;/span&gt;&lt;/h2&gt;&lt;div class="wwCode"&gt;&lt;pre class="code codeCommon"&gt;&lt;span style="font-size: small;"&gt;Wednesday. Int value = 3&lt;br /&gt;Sunday. Int value = 0&lt;br /&gt;Friday. Int value = 5&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class="cs codeCommon" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-8090819442579089005?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8090819442579089005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8090819442579089005'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/12/convert-string-to-enum-instance.html' title='Convert string to Enum instance'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-685981631727516267</id><published>2011-12-30T01:58:00.001-08:00</published><updated>2011-12-30T01:58:34.697-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF Services'/><title type='text'>Cannot load the X.509 certificate identity specified in the configuration</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="topContent" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;You have a WCF application and trying to run it but it would not start.&lt;br /&gt;In application event log you see Error event logged with Event ID 0:&lt;br /&gt;&lt;em&gt;2011-02-02 13:46:52 [(null)] [ApplicationName] [FATAL] -&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;— Exception data associated with the Log entry  —System.InvalidOperationException: Cannot load the X.509 certificate  identity specified in the configuration.&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.Description.ConfigLoader.LoadIdentity(IdentityElement element)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory()&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.EndpointTrait`1.CreateChannelFactory()&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;em&gt;at System.ServiceModel.ClientBase`1..ctor()&lt;/em&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;span id="more-662"&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;Obviously the problem is with the certificate but the question is which one.&lt;br /&gt;If application was developed by someone else it might be the case that  developers were using certificates that don’t exist on your system, so  you need to identify them.&lt;br /&gt;WCF applications come with config file which are plain text. Usually  they are in the same location as the application itself but with config  extension. So if your WCF application name is &lt;strong&gt;ApplicationName.exe&lt;/strong&gt;the config file should be &lt;strong&gt;ApplicationName.exe.config.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Open that file in notepad and look for &lt;strong&gt;&lt;identity&gt;&lt;br /&gt;&lt;/identity&gt;&lt;/strong&gt;If the application is looking for the certificate or certificates&amp;nbsp;then you should see something like:&lt;strong&gt;&lt;br /&gt;&lt;certificatereference findvalue="”*.certificate.local”/" storelocation="”LocalMachine”" storename="”My”" x509findtype="”FindBySubjectName”"&gt;&lt;br /&gt;&lt;/certificatereference&gt;&lt;/strong&gt;In this line the certificate that the application is looking is called &lt;strong&gt;*.certificate.local. &lt;/strong&gt;There  might be more than one line like this but with different certificate  names. Open management console and see if that certificate or  certificates exists on your computer and are valid. If the certificate  is not on the computer there are 2 posible option that you can try:&lt;br /&gt;First: locate and install the missing certificate&lt;br /&gt;Second: delete the line in the config file that is looking for the  certificate. When deleting toy need to delete not only that one line but  also &lt;strong&gt;&lt;identity&gt;&lt;/identity&gt;&lt;/strong&gt;before and &lt;strong&gt;&lt;/strong&gt; after the line.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Also you could try to change the name of the certificate in config  file to the one that exists on your system and is valid but I have not  tried this option.&lt;/span&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/6078944045066267379-685981631727516267?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/685981631727516267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/685981631727516267'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/12/cannot-load-x509-certificate-identity.html' title='Cannot load the X.509 certificate identity specified in the configuration'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8192844520061327815</id><published>2011-12-30T01:57:00.000-08:00</published><updated>2011-12-30T01:57:19.174-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>C# : get the Data Source Value in Connection string</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;return new SqlConnectionStringBuilder(Settings.Default.OperatorsConnectionString).DataSource;&lt;/span&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/6078944045066267379-8192844520061327815?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8192844520061327815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8192844520061327815'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/12/c-get-data-source-value-in-connection.html' title='C# : get the Data Source Value in Connection string'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-180503841756954683</id><published>2011-12-30T01:55:00.000-08:00</published><updated>2011-12-30T01:55:49.608-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF Services'/><title type='text'>Exposing a WCF Service With Multiple Bindings and Endpoints</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Windows Communication Foundation (henceforth abbreviated as WCF) supports multiple &lt;span class="IL_AD" id="IL_AD11"&gt;bindings&lt;/span&gt;  that allows developers to expose their services in a variety of ways.&amp;nbsp;  What this means is a developer can create a service once and then expose  it to support net.tcp:// or http:// and various versions of http://  (Soap1.1, Soap1.2, WS*, JSON, etc).&amp;nbsp; This can be useful if a service  crosses boundaries between intranet and extranet applications for  example.&amp;nbsp; This article walks through the steps to &lt;span class="IL_AD" id="IL_AD2"&gt;configure&lt;/span&gt; a service to support multiple bindings with &lt;span class="IL_AD" id="IL_AD3"&gt;Visual Studio 2008&lt;/span&gt; and the .Net 3.5 framework.&amp;nbsp; For those that want to jump directly to the sample &lt;span class="IL_AD" id="IL_AD9"&gt;solution&lt;/span&gt; it can be found at the end of this article.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Setting Up The Test Solution&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Below you will find the steps used to create the sample solution.&amp;nbsp;  I’ll explain a few WCF concepts along the way but probably not all of  them.&amp;nbsp; I will however link to relevant documentation where applicable.&amp;nbsp;  To get started, within Visual Studio 2008 create a new WCF Service Application project.&amp;nbsp; This template can be found within &lt;span class="IL_AD" id="IL_AD8"&gt;the web&lt;/span&gt; section of Visual Studio 2008 as seen here.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_2.png"&gt;&lt;img alt="image" border="0" height="323" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb.png" style="border-width: 0px;" width="504" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;After the project is initialized modify it so it contains four files, note this will require deleting the default files:&amp;nbsp; &lt;em&gt;IMyService.cs&lt;/em&gt;, &lt;em&gt;Service.cs&lt;/em&gt;, &lt;em&gt;Service.svc&lt;/em&gt;, and &lt;em&gt;Web.Config&lt;/em&gt;.&amp;nbsp; Once you have cleaned up the default template, it should look like this:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_6.png"&gt;&lt;img alt="image" border="0" height="147" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_2.png" style="border-width: 0px;" width="148" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Creating Our Service Contract&lt;br /&gt;&lt;/strong&gt;The &lt;em&gt;IMyService.cs&lt;/em&gt; file will contain our service  contract.&amp;nbsp;&amp;nbsp; In old ASMX services, in order to expose a method as a  service one would attribute the method with the attribute of &lt;a href="http://msdn2.microsoft.com/en-us/library/byxd99hx%28VS.71%29.aspx"&gt;[WebMethod]&lt;/a&gt;.&amp;nbsp; In WCF, everything is tied to a &lt;a href="http://msdn2.microsoft.com/en-us/library/ms734686.aspx"&gt;Service Contract&lt;/a&gt;.&amp;nbsp;&amp;nbsp;  By defining our service contract as an interface, any class that  implements that interface can be exposed as a WCF service.&amp;nbsp; In order to  achieve this a &lt;a href="http://msdn2.microsoft.com/en-us/library/system.servicemodel.servicecontractattribute.aspx"&gt;ServiceContract&lt;/a&gt; attribute will be placed on the interface and an &lt;a href="http://msdn2.microsoft.com/en-us/library/system.servicemodel.servicecontractattribute.aspx"&gt;OperationContract&lt;/a&gt;  attribute will be placed on the method we want to expose for our  service.&amp;nbsp; Our interface is going to be simple and will just contain one  method to add two numbers.&amp;nbsp; Here is the sample.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;pre class="code" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;[&lt;span style="color: #2b91af;"&gt;ServiceContract&lt;/span&gt;(Namespace=&lt;span style="color: #a31515;"&gt;"http://keithelder.net/Learn/WCF"&lt;/span&gt;)]&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;interface&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;IMyService&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style="color: #2b91af;"&gt;OperationContract&lt;/span&gt;]&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;int&lt;/span&gt; AddTwoNumbers(&lt;span style="color: blue;"&gt;int&lt;/span&gt; x, &lt;span style="color: blue;"&gt;int&lt;/span&gt; y);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt; &lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Implementing The Contract&lt;br /&gt;&lt;/strong&gt;The &lt;em&gt;Service.cs&lt;/em&gt; file will contain the implementation of the &lt;em&gt;IMyService&lt;/em&gt;  interface.&amp;nbsp; Again, since we defined our contract as an interface our  service class doesn’t need or have any attributes on it.&amp;nbsp; Here is the  code:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;pre class="code" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;    &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Service&lt;/span&gt; : &lt;span style="color: #2b91af;"&gt;IMyService&lt;/span&gt;    {        &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;int&lt;/span&gt; AddTwoNumbers(&lt;span style="color: blue;"&gt;int&lt;/span&gt; x, &lt;span style="color: blue;"&gt;int&lt;/span&gt; y)        {            &lt;span style="color: blue;"&gt;return&lt;/span&gt; x + y;        }    }&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Creating The &lt;span class="IL_AD" id="IL_AD7"&gt;Service Host&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span class="IL_AD" id="IL_AD1"&gt;The file&lt;/span&gt; &lt;em&gt;Service.svc&lt;/em&gt;  will provide the endpoint for our URL that will be exposed by IIS.&amp;nbsp;&amp;nbsp;  Within this file, we only need one line which identifies the class that  contains our service using the &lt;a href="http://msdn2.microsoft.com/en-us/library/system.servicemodel.servicehost.aspx"&gt;ServiceHost&lt;/a&gt; directive.&amp;nbsp; Here is the code for this file.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;pre class="code" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="-moz-background-inline-policy: -moz-initial; background: none repeat scroll 0% 50% rgb(255, 238, 98);"&gt;&amp;lt;%&lt;span style="color: blue;"&gt;&lt;/span&gt;@&lt;/span&gt; &lt;span style="color: #a31515;"&gt;ServiceHost&lt;/span&gt; &lt;span style="color: red;"&gt;Language&lt;/span&gt;&lt;span style="color: blue;"&gt;="C#"&lt;/span&gt; &lt;span style="color: red;"&gt;Debug&lt;/span&gt;&lt;span style="color: blue;"&gt;="true"&lt;/span&gt; &lt;span style="color: red;"&gt;Service&lt;/span&gt;&lt;span style="color: blue;"&gt;="WcfService1.Service"&lt;/span&gt; &lt;span style="color: red;"&gt;CodeBehind&lt;/span&gt;&lt;span style="color: blue;"&gt;="Service.cs"&lt;/span&gt; &lt;span style="-moz-background-inline-policy: -moz-initial; background: none repeat scroll 0% 50% rgb(255, 238, 98);"&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt; &lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Now that we have the contract specified and implemented along with an  endpoint to host the service everything from here on out is just &lt;span class="IL_AD" id="IL_AD5"&gt;configuration&lt;/span&gt;.&amp;nbsp; This is the beauty of WCF.&amp;nbsp;&amp;nbsp; How we want the service to be exposed is stored within the web.config  file.&amp;nbsp; There a lot of options in WCF and those just learning WCF are  typically overwhelmed at the amount of options.&amp;nbsp; Luckily Microsoft has a  tool to help us along.&amp;nbsp; The upside to this approach is we do not have  to code how our service is secured as we did in older ASMX services.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Setting Up Basic Http Binding&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Before we add multiple bindings to our single service, let’s focus on adding one binding.&amp;nbsp; In order to configure our service we are going to use the Microsoft Service Configuration Editor.&amp;nbsp; This editor allows us to configure our WCF service and can be launched right from Visual Studio.&amp;nbsp; To launch &lt;span class="IL_AD" id="IL_AD4"&gt;the editor&lt;/span&gt;, right click on the web.config file.&amp;nbsp; An option should be in the menu that says “Edit WCF Configuration”.&amp;nbsp;  If it doesn’t don’t worry, sometimes, Visual Studio doesn’t pickup this  option.&amp;nbsp; A trick is to go to the tools menu in Visual Studio and select  the editor from there.&amp;nbsp; After the editor is launched it will then show up in the menu when you right click the web.config file.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;For this example I have removed everything from the web.config file before launching so I can configure the service completely from scratch.&amp;nbsp; Opening the web.config with the editor shows a blank configuration as follows.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_4.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_1.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Follow the steps to initialize the configuration.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 1&lt;br /&gt;&lt;/strong&gt;Make sure your solution builds.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br /&gt;Click “Create a New Service” in the right panel of the editor.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 3&lt;br /&gt;&lt;/strong&gt;Browse to the bin directory and select the WcfService1.dll (if the file doesn’t show up, go back to step 1)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_8.png" target="_blank"&gt;&lt;img alt="image" border="0" height="311" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_3.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Double &lt;span class="IL_AD" id="IL_AD6"&gt;click this&lt;/span&gt; file and select your service implementation.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_10.png" target="_blank"&gt;&lt;img alt="image" border="0" height="311" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_4.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 4&lt;br /&gt;&lt;/strong&gt;The service type should be displayed on the previous screen.&amp;nbsp; Press Next-&amp;gt;.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 5&lt;br /&gt;&lt;/strong&gt;Select the contract.&amp;nbsp; This should automatically be selected to WcfService1.IMyService.&amp;nbsp; Press Next-&amp;gt;.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 6&lt;br /&gt;&lt;/strong&gt;Since we are using IIS to host our service select the HTTP option for the communication mode.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_12.png" target="_blank"&gt;&lt;img alt="image" border="0" height="332" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_5.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 7&lt;br /&gt;&lt;/strong&gt;Select the basic web services interoperability.&amp;nbsp; We’ll come back later on and add &lt;span class="IL_AD" id="IL_AD10"&gt;advance&lt;/span&gt; web services interoperability.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_14.png" target="_blank"&gt;&lt;img alt="image" border="0" height="332" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_6.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 8&lt;br /&gt;&lt;/strong&gt;Delete the “http://” from the address field.&amp;nbsp; Since we are developing we don’t know which port this will get assigned as of yet.&lt;br /&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_16.png" target="_blank"&gt;&lt;img alt="image" border="0" height="332" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_7.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt;  &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Press Next-&amp;gt;.&amp;nbsp; A dialog will appear.&amp;nbsp; Select Yes.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_18.png"&gt;&lt;img alt="image" border="0" height="151" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_8.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Press Finish on the next screen.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;At this point we have an almost configured service.&amp;nbsp; If you drill  down into the Services folder within the tool down to the end point the configuration should look something like this.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_20.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_9.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 9&lt;br /&gt;&lt;/strong&gt;Let’s clean up our configuration.&amp;nbsp; In the screen shot above in the configuration section.&amp;nbsp; Give this endpoint a name of “Basic”.&amp;nbsp; This will let us know later on this endpoint is our &lt;a href="http://msdn2.microsoft.com/en-us/library/ms731361.aspx"&gt;BasicHttpBinding&lt;/a&gt; configuration which supports the SOAP1.1 protocol.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 10&lt;br /&gt;&lt;/strong&gt;Click on the “Services” folder in the editor.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_22.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_10.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 11&lt;br /&gt;&lt;/strong&gt;Next to the binding configuration there is a link that says “Click to Create”.&amp;nbsp; Click this link to create a binding configuration.&amp;nbsp; While this isn’t necessary in all instances it is a good practice to have a binding configuration.&amp;nbsp; This gives you more control over how your binding is configured and is a good practice to initialize early on.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Clicking this link will create a new binding.&amp;nbsp; In the name field under the configuration section, give it a name of “Basic”.&amp;nbsp; The defaults for this example are fine.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_24.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_11.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Note:&amp;nbsp; Clicking on the Security tab in the above screen the Mode should be set to None.&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;At this point you should be able to save your configuration and press  F5 in Visual Studio to launch your service in debug mode.&amp;nbsp; You should  be presented with a web page that looks like the following:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_26.png" target="_blank"&gt;&lt;img alt="image" border="0" height="254" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_12.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Exposing Our Service’s WSDL&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Unlike previous ASMX services, the WSDL (web service definition  language) for WCF services is not automatically generated.&amp;nbsp; The previous  image even tells us that “&lt;strong&gt;Metadata publishing for this service is currently disabled.”.&lt;/strong&gt;&amp;nbsp;  This is because we haven’t configured our service to expose any meta  data about it.&amp;nbsp; To expose a WSDL for a service we need to configure our service to provide meta information.&amp;nbsp; Note:&amp;nbsp; The &lt;a href="http://msdn2.microsoft.com/en-us/library/aa967390.aspx"&gt;mexHttpBinding&lt;/a&gt;  is also used to share meta information about a service.&amp;nbsp; While the name  isn’t very “gump” it stands for Meta Data Exchange.&amp;nbsp; To get started  configuring the service to expose the WSDL follow the following steps.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 1&lt;br /&gt;&lt;/strong&gt;Under the Advanced folder in the editor, select the “Service Behaviors”. &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_28.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_13.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Click the “New Service Behavior Configuration” link in the right pane.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 2&lt;br /&gt;&lt;/strong&gt;Name the behavior “ServiceBehavior”.&amp;nbsp; In the bottom section  press the add button and select the “serviceMetaData” option and press  Add.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_30.png"&gt;&lt;img alt="image" border="0" height="397" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_14.png" style="border: 0px none;" width="351" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The end result should look like the following.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_32.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_15.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br /&gt;Under the “Service Behaviors” folder, select the newly created  “ServiceBehavior” option and then the “serviceMetadata” option  underneath that.&amp;nbsp; In the right pane change the &lt;em&gt;HttpGetEnabled&lt;/em&gt; to True.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_34.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_16.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 4&lt;br /&gt;&lt;/strong&gt;Select the service under the Services folder and apply the new service behavior to the service.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_36.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_17.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 5&lt;br /&gt;&lt;/strong&gt;Save the configuration and reload the service in the browser.&amp;nbsp; The page should be changed to the following:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_38.png" target="_blank"&gt;&lt;img alt="image" border="0" height="309" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_18.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Clicking on the link should display the WSDL for the service.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;At this point our service is configured to support the SOAP1.1  protocol through the BasicHttpBinding and is also exposing the WSDL for  the service. What if we want to also expose the service with the SOAP1.2  protocol and support secure and non-secure messages?&amp;nbsp; No problem.&amp;nbsp; We  can expose the service all of those ways without touching any code only  the configuration.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Adding More Bindings and Endpoints To Our Service&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Now that we have the basic binding working let’s expose two  additional endpoints for our service which support the WS* protocol but  are configured differently.&amp;nbsp; We’ll expose a plain SOAP1.2 protocol  message using the &lt;a href="http://msdn2.microsoft.com/en-us/library/ms731299.aspx"&gt;wsHttpBinding&lt;/a&gt; that is a plain message as well as a secured message using the wsHttpBinding.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 1&lt;br /&gt;&lt;/strong&gt;Under the Services folder select the EndPoints folder for the service and add a new service endpoint.&amp;nbsp; Give it a name of &lt;em&gt;WsPlain&lt;/em&gt;.&amp;nbsp; This endpoint will serve as a standard SOAP1.2 message that isn’t encrypted.&amp;nbsp; Change the binding to &lt;em&gt;wsHttpBinding&lt;/em&gt;.&amp;nbsp; In the address field, copy the address from your browser.&amp;nbsp; In my case, my project used the address of &lt;a href="http://localhost:5606/Service.svc" title="http://localhost:5606/Service.svc"&gt;http://localhost:5606/Service.svc&lt;/a&gt;.&amp;nbsp; Paste this into the address field and add /WsPlain to the end of it so it looks like the following:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://localhost:5606/Service.svc/WsPlain" title="http://localhost:5606/Service.svc"&gt;http://localhost:5606/Service.svc/WsPlain&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Each binding for each endpoint has to have a separate address.&amp;nbsp; Doing  it this way allows us to keep our one service file and offer it up in  various configurations.&amp;nbsp; In the contract option browse to the DLL in the  bin directory and select the contract used previously.&amp;nbsp; The end result  should look similar to this:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_40.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_19.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 2&lt;br /&gt;&lt;/strong&gt;Just as we did previously, click on the Services folder and  create a binding configuration for this endpoint.&amp;nbsp; Refer to step 10 and  11 above.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Provide a name of WsPlain for the new binding.&amp;nbsp; In the security tab  change the mode to “None” and set all other options to false or none.&amp;nbsp;  This is setting up our binding so there is no security on our message.&amp;nbsp;  By default the binding is configured to be secure.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_42.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_20.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The final settings for the WsPlain endpoint should be similar to this.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_44.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_21.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Step 3&lt;br /&gt;&lt;/strong&gt;To configure a secure binding using wsHttpBinding follow these  same steps above but leave the default values in the security tab of the  binding configuration.&amp;nbsp; Call this end point and binding WsSecured.&amp;nbsp; The  new endpoint should look like this:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_46.png" target="_blank"&gt;&lt;img alt="image" border="0" height="291" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_22.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;That’s it, our service is now configured three different ways and is  configured to support SOAP1.1, SOAP1.2 and WS*.&amp;nbsp; Pretty cool huh?&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Testing Our Service&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Now that our service is configured with three different bindings,  let’s look at the messages as they go back and forth across the wire.&amp;nbsp;  In order to do this we are going to borrow knowledge from a previous  article I did called “&lt;a href="http://keithelder.net/blog/archive/2008/01/15/How-to-Get-Around-WCFs-Lack-of-a-Preview-Web.aspx"&gt;How to Get Around WCF’s Lack of a Preview Web Page and Viewing WCF Messages&lt;/a&gt;“.&amp;nbsp;  From this article we are going to borrow the MessageViewerInspector  class and build a small windows application to view our messages.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If you are still following along, add a new project of type Windows  Application to the existing solution and then copy the  MessageViewerInspector class from the referenced article and add it to  the project. &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If you have been following along you may have noticed that we only  have one WSDL.&amp;nbsp; The WSDL contains all of our endpoints.&amp;nbsp; Even though we  have three endpoints, we still only have one WSDL.&amp;nbsp; In testing with some  third party clients my experience has been that clients only generate  proxies for the endpoints they understand.&amp;nbsp; Add a service reference to  the service to the windows application.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;For the user interface I decided to use several split panels and create a three panel layout.&amp;nbsp; Here is what it looks like.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_48.png" target="_blank"&gt;&lt;img alt="image" border="0" height="371" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_23.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The idea is simple.&amp;nbsp; When I click on each button I want it to invoke  my service and then display the request and response messages the  service is using.&amp;nbsp; To do this I created one service method called  CallService which is passed the end point name the service is to invoke.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;pre class="code" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;        &lt;span style="color: blue;"&gt;private&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; CallService(&lt;span style="color: blue;"&gt;string&lt;/span&gt; endPoint)        {            &lt;span style="color: #2b91af;"&gt;MessageViewerInspector&lt;/span&gt; inspector = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;MessageViewerInspector&lt;/span&gt;();&lt;br /&gt;&lt;br /&gt;            ServiceReference1.&lt;span style="color: #2b91af;"&gt;MyServiceClient&lt;/span&gt; proxy = &lt;span style="color: blue;"&gt;new&lt;/span&gt; WindowsFormsApplication1.ServiceReference1.&lt;span style="color: #2b91af;"&gt;MyServiceClient&lt;/span&gt;(endPoint);&lt;br /&gt;&lt;br /&gt;            proxy.Endpoint.Behaviors.Add(inspector);            proxy.AddTwoNumbers(12332, 12323);            proxy.Close();&lt;br /&gt;&lt;br /&gt;            richTextBox1.Text = inspector.RequestMessage;            richTextBox2.Text = inspector.ResponseMessage;        }&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt; &lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The endpoint is the name of the endpoint we specified in our  configuration.&amp;nbsp; For example to invoke the secure wsHttpBinding it is  called like this.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;pre class="code" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;CallService(&lt;span style="color: #a31515;"&gt;"WsSecured"&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt; &lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The first thing created is create the inspector so messages can be  viewed coming in and out of the proxy class.&amp;nbsp; Once the proxy method is  called we can then grab the messages and put them into the RichTextBox  control on the form.&amp;nbsp; Here are screen shots of each call to the service.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;BasicHttpBinding – SOAP1.1&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_50.png" target="_blank"&gt;&lt;img alt="image" border="0" height="371" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_24.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;WsHttpBinding – SOAP1.2 Plain / Unsecured&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_52.png" target="_blank"&gt;&lt;img alt="image" border="0" height="371" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_25.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;WsHttpBinding – SOAP1.2 Secured&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_54.png" target="_blank"&gt;&lt;img alt="image" border="0" height="314" src="http://keithelder.net/blog/images/keithelder_net/blog/WindowsLiveWriter/ExposingYourWCFServiceWithMultipleBindin_D794/image_thumb_26.png" style="border: 0px none;" width="404" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Conclusion&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;WCF services are powerful as you have just seen.&amp;nbsp; It is possible to  expose a single service in more ways than just one.&amp;nbsp; This allows  developers to support things like net.tcp binary messages and SOAP  messages from the same service.&amp;nbsp; If you are an enterprise developer  supporting multiple clients this is a blessing since it means .Net  consumers of your service can use TCP while other consumers use WS*.&amp;nbsp;  The nice thing is the developer doesn’t have to code it, just  declaratively express how he wants the service configured.&amp;nbsp; &lt;/span&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/6078944045066267379-180503841756954683?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/180503841756954683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/180503841756954683'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/12/exposing-wcf-service-with-multiple.html' title='Exposing a WCF Service With Multiple Bindings and Endpoints'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7470073963249326041</id><published>2011-12-30T01:54:00.000-08:00</published><updated>2011-12-30T01:54:08.371-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Intellisense not working in Visual Studio</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="post-body" style="font-family: Arial,Helvetica,sans-serif;"&gt;   &lt;span style="font-size: small;"&gt; "IntelliSense is Microsoft's implementation of autocompletion, best  known for its use in the Microsoft Visual Studio integrated development  environment. In addition to completing the symbol names the programmer  is typing, IntelliSense serves as documentation and disambiguation for  variable names, functions and methods using metadata-based reflection." (&lt;a href="http://en.wikipedia.org/wiki/IntelliSense" target="_blank" title="Intellisense"&gt;Wikipedia&lt;/a&gt;)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; So, I can't quite remember when exactly Intellisense stopped working for  me in Visual Studio 2008, but I know I have been without (automatic)  Intellisense for quite a while.When typing a dot after an object or  method, it used to just show up automatically... I could however have it  come up by pressing &lt;ctrl&gt;&lt;space&gt; and eventually got in the  habit of just doing that when I needed it, without attempting to find  out exactly why it was broken in the first place... &lt;/space&gt;&lt;/ctrl&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; So, several months later, I stumble upon an &lt;a href="http://blogs.blackmarble.co.uk/blogs/rfennell/archive/2007/12/01/intellisense-not-working-in-visual-studio-2008.aspx" target="_blank" title="Fix Intellisense"&gt;entry &lt;/a&gt;by  Richard Fennell, who explains how to fix it. I thought I'd post it for  when it breaks again, I know where to find the answer...&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="193" src="http://miguelmoreno.net/image.axd?picture=2008%2f8%2f8-14-2008+10-29-12+AM_2.jpg" width="394" /&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; In Visual Studio 2008, select &lt;strong&gt;Tools &lt;/strong&gt;&amp;gt;&lt;strong&gt; Options&lt;/strong&gt; &amp;gt; &lt;strong&gt;Text Editor&lt;/strong&gt; &amp;gt; &lt;strong&gt;All Languages&lt;/strong&gt;. Ensure that the checkboxes in the Statement Completion section are &lt;strong&gt;actively &lt;/strong&gt;checked (not grayed out).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;That is it!. Click Ok and try it. &lt;/span&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/6078944045066267379-7470073963249326041?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7470073963249326041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7470073963249326041'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/12/intellisense-not-working-in-visual.html' title='Intellisense not working in Visual Studio'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3301604396983083053</id><published>2011-10-17T05:03:00.000-07:00</published><updated>2011-10-17T05:03:22.493-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technologies'/><title type='text'>Fly Vision is priced at Rs 7,299.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; text-transform: capitalize;"&gt;&lt;a href="http://timesofindia.indiatimes.com/topic/YouTube" target=""&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span id="advenueINTEXT" name="advenueINTEXT" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;div class="storydiv" id="storydiv" style="display: block; float: left; line-height: 17px; margin-right: 20px;"&gt; &lt;div style="float: left;"&gt;&lt;div style="background-color: whitesmoke; border: 1px solid #D7D7D7; margin-bottom: 3px; margin-left: 4px; padding: 5px; width: 290px;"&gt;&lt;div id="fbrecos" style="float: left; padding-left: 3px; padding-top: 7px; width: 93px;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="float: left;"&gt;&lt;div style="background-color: whitesmoke; display: inline-block; text-align: left;"&gt;&lt;div class="cmtmn"&gt;&lt;div&gt;&lt;div id="ctcnt1" style="cursor: pointer; height: 45px;"&gt;&lt;div class="inactivetop" id="ctcnt1in"&gt;&lt;div class="inactive" id="ctcnt2in"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="cursor: pointer; height: 19px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="sshow"&gt;&lt;div class="cnt" style="display: inline; float: left; margin-right: 10px; margin-top: 3px; width: 310px;"&gt;&lt;div id="bellyad" style="padding-left: 3px;"&gt;&lt;div class="mainimg1"&gt;&lt;div style="float: left; position: relative;"&gt;&lt;a href=""&gt;&lt;img alt="" border="0" src="http://timesofindia.indiatimes.com/thumb.cms?msid=10388250&amp;amp;width=300&amp;amp;resizemode=4" style="border: 4px solid #E1E1E1;" title="" vspace="0" width="300" /&gt;&lt;/a&gt;&lt;a href="" style="bottom: 7px; font-size: 11px; left: 275px; position: absolute;"&gt;&lt;img align="left" border="0" src="http://timesofindia.indiatimes.com/photo/5766056.cms" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="zoomimg1" style="width: 300px;"&gt;&lt;div style="color: #757575; font-size: 11px; font-style: italic; padding-right: 5px; text-align: left;"&gt;Fly Vision&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="Normal"&gt;  NEW DELHI: It seems the market for budget tablets is growing by each  passing day. Close on the heels of India launching its cheapest $35  tablet, Fly Mobiles has launched its first low-cost Android tab, Fly  Vision.&lt;br /&gt;&lt;br /&gt;Measuring 195x120x12mm, Vision weighs 350 grams.  Sporting a 7-inch TFT LCD touchscreen with 800x480 pixels resolution,  the tablet will run on Android 2.2 Froyo OS.&lt;br /&gt;&lt;br /&gt;Powered by 600 MHz  Rockchip 2818 chipset processor, the tablet has 256MB RAM and a 1.3  megapixel camera. The company claims Vision will offer 6 hours of  battery life. The tablet also has an external memory slot which can  house 16GB micro SD card.&lt;br /&gt;&lt;br /&gt;For connectivity, the tablet will  offer support for Bluetooth, USB 2.0, WiFi, 3G and standard 3.5mm  audiojack. The tablet will also come pre-installed with applications  like  &lt;a href="http://timesofindia.indiatimes.com/topic/Microsoft"&gt;Microsoft&lt;/a&gt; Office Suite and  &lt;a href="http://timesofindia.indiatimes.com/topic/Google"&gt;Google&lt;/a&gt; applications like Google Talk, Gmail, Google Maps and  &lt;a href="http://timesofindia.indiatimes.com/topic/YouTube"&gt;YouTube&lt;/a&gt;. There's also a SIM card slot to make voice calls.&lt;br /&gt;&lt;br /&gt;Fly Vision is priced at Rs 7,299.&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-3301604396983083053?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3301604396983083053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3301604396983083053'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/10/fly-vision-is-priced-at-rs-7299.html' title='Fly Vision is priced at Rs 7,299.'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-4678650419001585929</id><published>2011-10-17T04:55:00.000-07:00</published><updated>2011-10-17T04:55:46.191-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thriller Movies'/><title type='text'>Top 9 Suspence/Thriller Movies</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="font-family: Arial,Helvetica,sans-serif; text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table style="margin-bottom: 10px; margin-top: 2px; width: 600px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width: 205px;"&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td style="padding-right: 8px; text-align: right; width: 170px;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="notesrow" id="items_1223253"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/terminator-2-judgment-day"&gt;&lt;img alt="" src="http://i2.listal.com/image/152525/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 3101&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (2162 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (2162 ratings)" width="15" /&gt; 7.7&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.6&amp;nbsp;&lt;/div&gt;&lt;span id="count_1223253" style="font-size: 110%; font-weight: bold;"&gt;1. &lt;a href="http://www.listal.com/movie/terminator-2-judgment-day"&gt;Terminator 2: Judgment Day&lt;/a&gt;&lt;/span&gt; (1991)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1223253" style="margin: 8px; overflow: auto; width: 500px;"&gt;Biased by nostalgia I put this movie in first place. An achievement in sci-fi, action and overall movie making.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/10.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1268194"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/the-usual-suspects"&gt;&lt;img alt="" src="http://i2.listal.com/image/155535/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 2123&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (1372 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (1372 ratings)" width="15" /&gt; 8.1&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.7&amp;nbsp;&lt;/div&gt;&lt;span id="count_1268194" style="font-size: 110%; font-weight: bold;"&gt;2. &lt;a href="http://www.listal.com/movie/the-usual-suspects"&gt;The Usual Suspects&lt;/a&gt;&lt;/span&gt; (1995)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1268194" style="margin: 8px; overflow: auto; width: 500px;"&gt;My favorite movie ever? No. Best movie ever made? Probably not. The best movie I have ever watched? I might consider it.&lt;br /&gt;&lt;br /&gt;One cannot understand this movie with words, it must be seen and  rewatched totally focused to understand the masterpiece behind it. The  ending is shocking, and don't come saying you already saw it coming from  miles away. And we are actually continually being hinted at the  "truth", I admit that.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/10.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1657114"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/12-angry-men"&gt;&lt;img alt="" src="http://i2.listal.com/image/6334/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 1051&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (664 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (664 ratings)" width="15" /&gt; 8.5&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.9&amp;nbsp;&lt;/div&gt;&lt;span id="count_1657114" style="font-size: 110%; font-weight: bold;"&gt;3. &lt;a href="http://www.listal.com/movie/12-angry-men"&gt;12 Angry Men&lt;/a&gt;&lt;/span&gt; (1957)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1657114" style="margin: 8px; overflow: auto; width: 500px;"&gt;One  of the most amazingly well-crafted and most interesting movies I have  ever had the pleasure to watch. What a thrilling ride, what a simple  story, what groundbreaking performances from 12 men, what perfect  direction.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/10.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1806866"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/vertigo"&gt;&lt;img alt="" src="http://i2.listal.com/image/28990/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 1471&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (874 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (874 ratings)" width="15" /&gt; 8.2&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.5&amp;nbsp;&lt;/div&gt;&lt;span id="count_1806866" style="font-size: 110%; font-weight: bold;"&gt;4. &lt;a href="http://www.listal.com/movie/vertigo"&gt;Vertigo&lt;/a&gt;&lt;/span&gt; (1958)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1806866" style="margin: 8px; overflow: auto; width: 500px;"&gt;WOW!  One of the most surprising twists in one of the most well-directed  thrillers with one of the most unexpected endings I've ever seen. Simply  fantastic movie, among my favorites list.&lt;br /&gt;&lt;br /&gt;This movie makes it official, Sir Hitchcock and Jimmy Stewart are now my favorite Director/Actor partnership of all time.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/10.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1750878"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/inglorious-bastards-2008"&gt;&lt;img alt="" src="http://i2.listal.com/image/685625/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 2785&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (1831 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (1831 ratings)" width="15" /&gt; 8.1&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.3&amp;nbsp;&lt;/div&gt;&lt;span id="count_1750878" style="font-size: 110%; font-weight: bold;"&gt;5. &lt;a href="http://www.listal.com/movie/inglorious-bastards-2008"&gt;Inglourious Basterds&lt;/a&gt;&lt;/span&gt; (2009)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1750878" style="margin: 8px; overflow: auto; width: 500px;"&gt;Once  again Tarantino's crazy ideas work. Bending comedy with war tragedy,  Inglorious Basterds is a masterfully directed movie that makes suspense  movies and horror villains look like Sesame Street and the Cookie  Monster, respectively.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/9.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1223251"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/aliens"&gt;&lt;img alt="" src="http://i2.listal.com/image/608589/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 1866&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (1267 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (1267 ratings)" width="15" /&gt; 7.8&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.5&amp;nbsp;&lt;/div&gt;&lt;span id="count_1223251" style="font-size: 110%; font-weight: bold;"&gt;6. &lt;a href="http://www.listal.com/movie/aliens"&gt;Aliens&lt;/a&gt;&lt;/span&gt; (1986)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1223251" style="margin: 8px; overflow: auto; width: 500px;"&gt;Another sequel that raised the bar. Transformed a sweating and suspenseful story into a thrilling and desperate action ride.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/9.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1223247"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/seven"&gt;&lt;img alt="" src="http://i2.listal.com/image/154589/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 3855&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (2689 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (2689 ratings)" width="15" /&gt; 8.1&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.7&amp;nbsp;&lt;/div&gt;&lt;span id="count_1223247" style="font-size: 110%; font-weight: bold;"&gt;7. &lt;a href="http://www.listal.com/movie/seven"&gt;Seven&lt;/a&gt;&lt;/span&gt; (1995)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1223247" style="margin: 8px; overflow: auto; width: 500px;"&gt;The  perfect example of perfect story telling, suspense and brutal crime  scenes investigation. Also with outstanding performances.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/9.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div class="notesrow" id="items_1272819"&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/m"&gt;&lt;img alt="" src="http://i2.listal.com/image/39542/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 761&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (379 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (379 ratings)" width="15" /&gt; 8.6&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.6&amp;nbsp;&lt;/div&gt;&lt;span id="count_1272819" style="font-size: 110%; font-weight: bold;"&gt;8. &lt;a href="http://www.listal.com/movie/m"&gt;M&lt;/a&gt;&lt;/span&gt; (1931)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1272819" style="margin: 8px; overflow: auto; width: 500px;"&gt;With  no doubt the greatest Fritz' cinematic masterpiece. A thriller with a  very powerful theme and with such a heavy and disturbing atmosphere that  will surprise and shock you.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;img height="16" src="http://i.listal.com/limages/ratings/9.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br class="clearboth" /&gt;&lt;/div&gt;&lt;div style="float: left; width: 80px;"&gt;&lt;a href="http://www.listal.com/movie/the-terminator"&gt;&lt;img alt="" src="http://i2.listal.com/image/146419/80full.jpg" /&gt;&lt;/a&gt;   &lt;/div&gt;&lt;div style="float: left; width: 520px;"&gt;&lt;div style="background-color: #e9f4ff; margin-bottom: 2px; padding-bottom: 5px; padding-left: 8px; padding-top: 5px;"&gt;&lt;div style="float: right; padding-top: 1px;"&gt;&lt;img alt="People who added this item" height="14" src="http://i.listal.com/limages/misc/listeditems.gif" title="People who added this item" width="12" /&gt; 3208&amp;nbsp;&amp;nbsp;&lt;img alt="Average listal rating (2211 ratings)" height="17" src="http://i.listal.com/limages/misc/rating.gif" title="Average listal rating (2211 ratings)" width="15" /&gt; 7.3&amp;nbsp;&amp;nbsp;&lt;img alt="IMDB Rating" height="16" src="http://i.listal.com/limages/misc/imdb_14.gif" title="IMDB Rating" width="29" /&gt; 8.1&amp;nbsp;&lt;/div&gt;&lt;span id="count_1223252" style="font-size: 110%; font-weight: bold;"&gt;9. &lt;a href="http://www.listal.com/movie/the-terminator"&gt;The Terminator&lt;/a&gt;&lt;/span&gt; (1984)    &lt;/div&gt;&lt;div style="line-height: 1.5em;"&gt;&lt;div id="listnote_1223252" style="margin: 8px; overflow: auto; width: 500px;"&gt;A true classic, a thrilling fear-inducing experience.&lt;/div&gt;&lt;div style="margin: 8px;"&gt;Veed's rating: &lt;/div&gt;&lt;div style="margin: 8px;"&gt;&lt;/div&gt;&lt;div style="margin: 8px;"&gt;&lt;/div&gt;&lt;div style="margin: 8px;"&gt;&lt;/div&gt;&lt;div style="margin: 8px;"&gt;&lt;/div&gt;&lt;div style="margin: 8px;"&gt;&lt;img height="16" src="http://i.listal.com/limages/ratings/9.gif" width="80" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&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/6078944045066267379-4678650419001585929?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4678650419001585929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4678650419001585929'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/10/top-9-suspencethriller-movies.html' title='Top 9 Suspence/Thriller Movies'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-1498826957914789835</id><published>2011-10-17T04:38:00.000-07:00</published><updated>2011-10-17T04:42:29.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tata Docomo'/><title type='text'>Tata Docomo GPRS Settings and PC Suite Connect</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt; TATA DOCOMO&lt;/b&gt; already announced the launch of two &lt;b&gt;unlimited gprs&lt;/b&gt; packages for its &lt;b&gt;prepaid subscribers&lt;/b&gt; tagged as &lt;b&gt;Rs &lt;span title="Convert this amount"&gt;15&lt;/span&gt; GPRS pack&lt;/b&gt; and &lt;b&gt;Rs &lt;span title="Convert this amount"&gt;95&lt;/span&gt; GPRS pack&lt;/b&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Rs &lt;span title="Convert this amount"&gt;15&lt;/span&gt; &lt;b&gt;GPRS pack&lt;/b&gt; comes with &lt;span title="Convert this amount"&gt;3&lt;/span&gt; days validity offering &lt;b&gt;unlimited GPRS&lt;/b&gt; access whereas Rs &lt;span title="Convert this amount"&gt;95&lt;/span&gt; GPRS pack is valid of 30days which can also be used on &lt;b&gt;PC and laptop&lt;/b&gt;, on both the pack you will be charged &lt;span title="Convert this amount"&gt;10&lt;/span&gt;paisa for &lt;span title="Convert this amount"&gt;10&lt;/span&gt;KB while on roaming.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Read full plan about : &lt;span style="color: blue;"&gt;&lt;b&gt;TATA DOCOMO launches Unlimited GPRS Packs&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;All you have to do is visit the nearest retailer and recharge your account with Rs 15 or Rs 95 &lt;b&gt;GPRS pack&lt;/b&gt; when you are done with it you to have SMS &lt;span style="color: blue;"&gt;&lt;b&gt;INTERNET 52270&lt;/b&gt;&lt;/span&gt; to retrieve the &lt;b&gt;GPRS settings&lt;/b&gt; save it as the default settings and start surfing.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;And if you want to do manually&amp;nbsp; setting then follow below given step:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;On &lt;b&gt;Nokia&lt;/b&gt; phones these settings can be added by going to “&lt;span style="color: blue;"&gt;&lt;b&gt;Settings&lt;/b&gt;&lt;/span&gt; &amp;gt;&amp;gt; &lt;span style="color: blue;"&gt;&lt;b&gt;Configurations&lt;/b&gt;&lt;/span&gt; &amp;gt;&amp;gt;&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;b&gt;New Access point&lt;/b&gt;&lt;/span&gt;”.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Connection Name :&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;b&gt;Docomo {or name it anything!}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Data Bearer :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;b&gt;GPRS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Access Point Name :&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;b&gt;TATA.DOCOMO.INTERNET&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Username :&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Password :&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Homepage :&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Connection Security :&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;b&gt;Off&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Session Mode :&lt;span style="color: blue;"&gt; &lt;b&gt;Permanent&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;strong&gt;Browsing the Internet on PC and Laptop&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="Tata docom mobile to laptop" class="aligncenter size-medium wp-image-1052" height="288" src="http://mostlyblog.com/wp-content/uploads/2009/09/Tata-docom-mobile-to-laptop-300x288.jpg" title="Tata docom mobile to laptop" width="300" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;TATA DOCOMO INTERNET&lt;/strong&gt;  works with any PC or Laptop that has Bluetooth or USB port for the  cable. So after getting the settings save them and start browsing on  your phone for free. But if you want to connect your computer to &lt;strong&gt;Tata Docomo&lt;/strong&gt; internet Gprs, you willl have to follow the given procedures.&lt;br /&gt;&lt;br /&gt;Connect your phone to computer either via &lt;strong&gt;Bluetooth&lt;/strong&gt; or &lt;strong&gt;Data cable&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;strong&gt;Bluetooth&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Install the PC suite software.&lt;/li&gt;&lt;li&gt;Pair mobile handset with your PC or Laptop via the Bluetooth program&lt;/li&gt;&lt;li&gt;Click on “Connect to the Internet” icon from the PC Suite programs.&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: blue;"&gt;&lt;strong&gt;Cable:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Install the PC suite software.&lt;/li&gt;&lt;li&gt;Connect mobile handset with your PC or Laptop via the USB cable.&lt;/li&gt;&lt;li&gt;Click on “Connect to the Internet” icon from the PC Suite Program.&lt;/li&gt;&lt;/ul&gt;And if you want to do&amp;nbsp; manual &lt;strong&gt;PC configuration&lt;/strong&gt;,  create a new connection using the “Make a new connection” wizard on  your PC / laptop. Once a dialer is configured, leave the UserName and  password blank. Enter the access number &lt;strong&gt;*99#&lt;/strong&gt; .You are now ready to start browsing using the &lt;strong&gt;Tata Docomo free unlimited Gprs plan&lt;/strong&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/6078944045066267379-1498826957914789835?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1498826957914789835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1498826957914789835'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/10/tata-docomo-gprs-settings-and-pc-suite.html' title='Tata Docomo GPRS Settings and PC Suite Connect'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6117473351492134708</id><published>2011-09-21T05:03:00.000-07:00</published><updated>2011-09-21T05:06:16.699-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF Services'/><title type='text'>The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="Spring Security Application</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="Spring Security Application&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;We mostly get this error when trying to consume an authenticated webservice or a WCF service. I have a workaround for that. This worked for me so I believe it would be useful for you too. In the web.config file conside the SECURITY node. below is a sample.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="color: red;"&gt;&amp;lt;security mode="Transport"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: red;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: red;"&gt;transport clientCredentialType="Basic" proxyCredentialType="None" realm=""/&lt;/span&gt;&lt;span style="color: red;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: red;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: red;"&gt;message clientCredentialType="UserName" algorithmSuite="Default"/&lt;/span&gt;&lt;span style="color: red;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: red;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: red;"&gt;/security&lt;/span&gt;&lt;span style="color: red;"&gt;&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Try changing the "clientCredentialType" for the "transport" node from "None" to "Basic". It should work.&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Happy coding to all............ &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&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/6078944045066267379-6117473351492134708?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6117473351492134708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6117473351492134708'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/http-request-is-unauthorized-with.html' title='The HTTP request is unauthorized with client authentication scheme &apos;Anonymous&apos;. The authentication header received from the server was &apos;Basic realm=&quot;Spring Security Application'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-2672417451545259870</id><published>2011-09-05T03:30:00.001-07:00</published><updated>2011-09-05T03:30:50.060-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unit Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Testing tools'/><title type='text'>Nester</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Nester is a free tool for &lt;a href="http://en.wikipedia.org/wiki/Mutation_testing"&gt;mutation             testing&lt;/a&gt; of your C# source code in order to measure the adequacy of your unit             tests. It involves modification of programs to see if existing tests can distinguish             the original program from the modified program.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;             Current version of Nester (0.3 Alpha) supports only C# programs for Microsoft Visual             Studio 2005. At the moment only &lt;a href="http://nunit.org/"&gt;NUnit framework&lt;/a&gt; is supported.             &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/6078944045066267379-2672417451545259870?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2672417451545259870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2672417451545259870'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/nester.html' title='Nester'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3717543186077710792</id><published>2011-09-05T03:24:00.001-07:00</published><updated>2011-09-05T03:24:49.141-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unit Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Testing tools'/><title type='text'>ZaneBug</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div id="ctl08_desc" style="font-family: Arial,Helvetica,sans-serif;"&gt;Zanebug is an advanced tool for comprehensive unit and integration testing. Features include:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Full NUnit 2.1 and 2.2 Compatability&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Use your existing NUnit tests with absolutely no changes&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o No need to recompile for differences between NUnit 2.1 and 2.2 (problem w/ the NUnit 2.2 release)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Harness the full capabilities and professional GUI of Zanebug&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * VS.NET 2003 Integration&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Run inside of VS.NET&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Command bar add-in&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Right-click context menu&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Results displayed in output box &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Comprehensive Results&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Exception Messages and Stack Traces&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Breakdown of Passed / Failed / Ignored results&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Console Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Console.Error Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Debug Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Trace Output&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o List of loaded Assemblies, versions and locations&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Thread #&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Iteration Id&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Test Category&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Result Filtering for detailed comparisons&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Detailed Performance Metrics&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Test Duration&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Avg Test Duration (average of all iterations)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o % of overall Duration&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Operations per second&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Memory consumed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Exception Messages and Stack Trace&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Real-time Perfmon Integration&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Advanced Testing Capabilities&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Run-time editing of Test behavior (repeat count, ignore tests, category, etc.)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Test categorization for result grouping&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Test specific SetUp and TearDown&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Pass/Fail tests based on performance metrics&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Iterations tests for advanced metrics&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Feature-Rich Reporting Capabilities&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Export Results to Xml&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Export Results to well-formatted text&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o Performance Graphing&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o % Passed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Command Line Version&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Full Documentation&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Full Source Code&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;     &lt;div id="ctl08_weburl" style="font-family: Arial,Helvetica,sans-serif;"&gt;Go to &lt;a href="http://www.adapdev.com/zanebug/" target="_blank"&gt;http://www.adapdev.com/zanebug/&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;     &lt;div id="ctl08_seealso" style="font-family: Arial,Helvetica,sans-serif;"&gt;See also these related projects.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;&lt;ul id="ctl08_linkList" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/dotnetunit.aspx"&gt;.NETUnit&lt;/a&gt; - An implementation of Kent Beck's famous XUnit testing frameworkdesigned specific ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/crosscheck.aspx"&gt;Crosscheck Browser Testing Framework&lt;/a&gt; - Crosscheck is an open source testing framework for verifying your in-browser jav ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/csunit.aspx"&gt;csUnit&lt;/a&gt; - csUnit is a free and open source unit testing tool for the .NET Framework. csUni ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/dotunit.aspx"&gt;dotunit&lt;/a&gt; - dotunit is a port of JUnit (www.junit.org) to the Microsoft .net platform. This  ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/easymockdotnet.aspx"&gt;EasyMock.NET&lt;/a&gt; - EasyMock.NET is a class library that provides an easy way to use mockobjects for ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/mbunit.aspx"&gt;MbUnit&lt;/a&gt; - MbUnit is a Generative Unit Test Framework for the .NET Framework.&amp;nbsp; MbUnit  ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/ndoc.aspx"&gt;NDoc&lt;/a&gt; - NDoc generates class library documentation from .NET assemblies and the XML docu ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/nunit.aspx"&gt;NUnit&lt;/a&gt; - NUnit is a unit-testing framework for all .Net languages. Initially ported from&amp;amp; ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/nunitaddin.aspx"&gt;NUnitAddin&lt;/a&gt; - NUnitAddin is a simple addin for VisualStudio 2005 used in association with NUni ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/nunitforms.aspx"&gt;NunitForms&lt;/a&gt; - NUnitForms is an NUnit extension for unit and acceptance testing of Windows Form ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/rhinomocks.aspx"&gt;Rhino.Mocks&lt;/a&gt; - Rhino.Mocks is a dynamic mock object framework for the .Net platform. It's purpo ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/selenium.aspx"&gt;Selenium&lt;/a&gt; - Selenium is a suite of tools to automate web app testing across many platforms.&amp;amp; ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/systin.aspx"&gt;Systin&lt;/a&gt; - Systin stands for System Testing in .Net. This is a port of the popularSystir pr ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/testplan.aspx"&gt;TestPlan&lt;/a&gt; - TestPlan is an automated testing tool for testing interactive web systems. It of ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/vsnunit.aspx"&gt;VSNUnit&lt;/a&gt; - An integrated NUnit test runner for Visual Studio .NET that allows forgraphical  ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/watin.aspx"&gt;WatiN&lt;/a&gt; - Inspired by Watir&amp;nbsp; development of WatiN started in December 2005 to make a  ...&lt;/li&gt;&lt;li&gt;&lt;a href="http://csharpopensource.com/xtunit.aspx"&gt;XT-Unit&lt;/a&gt; - XtUnit is a unit testing extension for .Net based frameworks. It usesthe interce ...&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-3717543186077710792?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3717543186077710792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3717543186077710792'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/zanebug.html' title='ZaneBug'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8926501499222815171</id><published>2011-09-05T03:23:00.000-07:00</published><updated>2011-09-05T03:23:05.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Testing tools'/><title type='text'>mb.unit (Generative unit test framework)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;         The framework was first created by Jonathan 'Peli' de Halleux as a hobby project         while studying for his PhD. Later         Peli and Jamie Cansdale added support for MbUnit         to Jamie's NUnitAddin (later it would become the&amp;nbsp; &lt;a href="http://www.testdriven.net/" target="_blank"&gt;&lt;span style="color: blue; text-decoration: underline;"&gt;TestDriven.NET&lt;/span&gt;&lt;/a&gt;  addin).&amp;nbsp; After         Peli's departure to Microsoft in 2005 (working first as a SDET  on the CLR and more recently in the Foundations for Software Engineering  group in Microsoft Research)         the project was opensourced under Andy Stopford.     &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;         The current lead of MbUnit, Jeff Brown, also leads the &lt;a href="http://www.gallio.org/"&gt;Gallio Project&lt;/a&gt;.  Since Gallio is the foundation of MbUnit v3, many MbUnit committers also work on Gallio and vice-versa.     &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;  The projects regular commit members are listed &lt;a href="http://www.mbunit.com/CommitMembers.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://www.gallio.org/Credits.aspx"&gt;here&lt;/a&gt;.     &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;     These are just a few projects and companies who are currently using MbUnit:&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;     &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;a href="http://www.subtextproject.com/" target="_blank"&gt;Subtext&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ayende.com/projects/rhino-mocks.aspx" target="_blank"&gt;Rhino Mocks&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/actionpack" target="_blank"&gt;SubSonic&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cifactory.org/" target="_blank"&gt;CIFactory&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/doubler" target="_blank"&gt;Doubler&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yellowpages.com/" target="_blank"&gt;Yellowpages.com&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-8926501499222815171?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8926501499222815171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8926501499222815171'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/mbunit-generative-unit-test-framework.html' title='mb.unit (Generative unit test framework)'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7677440455719361332</id><published>2011-09-05T03:17:00.001-07:00</published><updated>2011-09-05T03:17:39.450-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unit Testing'/><title type='text'>The Need of Unit Testing</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;The developers in your company do not believe in testing their  code or doing unit testing. How do you tackle this problem and explain  them the need of unit testing?&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The Need of Unit Testing:&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;a) Unit testing gives programmers measurable confidence in the source code they produce. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;b)  Unit testing uncovers defects in source code shortly after it is  written, which saves valuable time and resources, sometimes by orders of  magnitude. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;c) Unit testing significantly reduces the amount of  debugging necessary by avoiding defects in the first place and by  catching those that do occur while they are relatively easy to detect  and fix. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;d) Unit testing avoids the practice of testing  everything at once when it is significantly more expensive in terms of  cost, development team morale, and customer satisfaction. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;e) Unit  testing helps you focus on exactly what is important for a module so  that when all of your tests run successfully, you can be reasonably sure  that your module has no major defects.&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/6078944045066267379-7677440455719361332?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7677440455719361332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7677440455719361332'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/need-of-unit-testing.html' title='The Need of Unit Testing'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6172633098182973072</id><published>2011-09-05T03:04:00.000-07:00</published><updated>2011-09-05T03:04:15.461-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><title type='text'>Ten Must-Have Tools Every Developer Should Download Now</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp;Contents  &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block; font-family: Arial,Helvetica,sans-serif;"&gt;   &lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S1"&gt;Snippet Compiler&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S2"&gt;Regulator&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S3"&gt;CodeSmith&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S4"&gt;Building a Custom Template&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S5"&gt;NUnit&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S6"&gt;Writing an NUnit Test&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S7"&gt;FxCop&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S8"&gt;Lutz Roeder's .NET Reflector&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S9"&gt;NDoc&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S10"&gt;NAnt&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S11"&gt;NAnt in Action&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S12"&gt;Switch Tools&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc300497.aspx#S13"&gt;Conclusion&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt; &lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;You cannot expect to build a  first-class application unless you use the best available tools. Besides  well-known tools such as Visual Studio® .NET, there are a multitude of  small, lesser-known tools available from the .NET community. In this  article, I'm going to introduce you to some of the best free tools  available today that target .NET development. I'll walk you through a  quick tutorial of how to use each of them, some of which will save you a  minute here and there, while others may completely change the way that  you write code. Because I am squeezing so many different tools into this  single article, I will not be able to cover each of them extensively,  but you should learn enough about each to decide which tools are useful  for your projects.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S1" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;Snippet Compiler&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The  Snippet Compiler is a small Windows®-based application that allows you  to write, compile, and run code. This tool is useful if you have small  pieces of code for which you don't want to create an entire Visual  Studio .NET project (along with all the files that come with it).&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;As  an example, let's say that I wanted to show you how to launch another  application from the Microsoft® .NET Framework. In the Snippet Compiler I  would start by creating a new file which creates a small console  application. The snippet can be created inside the Main method of the  console application, which is what I will do here. The following code  snippet demonstrates how to create an instance of Notepad from the .NET  Framework: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl02"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl02_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl02_code"&gt;System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName= "notepad.exe"; proc.Start(); proc.WaitForExit();&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; Of course this snippet would not compile by itself, but that is where Snippet Compiler comes into play. &lt;strong&gt;Figure 1&lt;/strong&gt; shows this code sample in Snippet Compiler.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc300497.fig01%28en-us%29.gif" /&gt;&lt;br /&gt;&lt;div class="ArticleImageCaptionText"&gt;Figure 1&lt;strong&gt;&amp;nbsp;Snippet Compiler&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;To  test this snippet, just press the play button (green triangle), and it  will run in debug mode. The snippet will generate a console application  popup, and Notepad will appear. When you close Notepad, the console  application will close as well.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Personally,  I have found Snippet Compiler to be invaluable when trying to create a  small example for someone who has asked me for help, when normally I  would have to create a project, make sure everything compiles, send them  the code snippet, and then delete the project. Snippet Compiler makes  this process much easier and much more pleasant.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Snippet Compiler was written by Jeff Key and can be downloaded from &lt;a href="http://www.sliver.com/dotnet/SnippetCompiler" id="ctl00_MTContentSelector1_mainContentContainer_ctl04"&gt;http://www.sliver.com/dotnet/SnippetCompiler&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S2" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;Regulator&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Regulator  is the most recent addition to my top tools list. It is a full-featured  tool that makes it easy to build and test regular expressions. There is  a renewed interest in regular expressions because of the excellent  support for them in the .NET Framework. Regular expressions are used to  define patterns in strings based on characters, frequency, and character  order. They are most commonly used as a means to validate user input or  as a way to find a string of characters inside a larger string—for  instance, when looking for a URL or e-mail address on a Web page.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Regulator  allows you to enter a regular expression and some input against which  you would be running this expression. This way you can see how the  regular expression will act and what kind of matches it will return  before implementing it in your application. &lt;strong&gt;Figure 2&lt;/strong&gt; shows Regulator with a simple regular expression.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MTPS_CollapsibleRegion" style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;div class="CollapseRegionLink"&gt;  &lt;img class="LibC_o" src="http://i.msdn.microsoft.com/Global/Images/clear.gif" style="border-width: 0px; vertical-align: middle;" /&gt; &amp;nbsp;Figure&amp;nbsp;2&amp;nbsp;Regulator &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;img alt="" height="179" src="http://i.msdn.microsoft.com/cc300497.fig02%28en-us%29.gif" width="500" /&gt; &lt;/div&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The document contains the regular  expression, in this example it is [0-9]* which should match any number  of digits in a row. The box in the bottom-right contains the input for  this regular expression, and the box on the bottom-left shows the  matches that this regular expression finds in the input. The ability to  write and test regular expressions in a separate application like this  is much easier than trying to work with them in your app.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;One  of the best features in Regulator is the ability to search the online  regular expressions library at regexlib.com. For example, if you enter  the string "phone" in the search box, you will find more than 20  different regular expressions that will match various phone numbers,  including expressions for UK, Australian, and many other phone numbers.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Regulator was written by Roy Osherove and can be downloaded at &lt;a href="http://osherove.com/tools" id="ctl00_MTContentSelector1_mainContentContainer_ctl06"&gt;http://osherove.com/tools&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S3" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;CodeSmith&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;CodeSmith  is a template-based code-generation tool that uses a syntax similar to  ASP.NET to generate any type of code or text. Unlike many other  code-generation tools, CodeSmith does not require you to subscribe to a  particular application design or architecture. Using CodeSmith, you can  generate anything from a simple, strongly typed collection to an entire  application.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;When you are building  an application, you will often find yourself repeating certain tasks,  whether it's writing data access code or building custom collections.  CodeSmith is particularly useful at such times because you can write  templates to automate those tasks and not only improve your productivity  but also automate the tasks that are the most tedious to perform.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;CodeSmith  ships with a number of templates, including ones for all the .NET  collection types as well as ones to generate stored procedures, but the  real power of this tool comes from being able to create custom  templates. To get you started, I'll provide a quick introduction to  building a custom template.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S4" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;Building a Custom Template&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;CodeSmith  templates are simply text files which you can create in any text  editor. Their only requirement is that they be saved with the .cst file  extension. The sample template that I'm going to build will accept a  string and then build a class based on that string. The first step to  creating a template is to add the template header, which declares the  language of the template, the target language, and a brief description  of the template: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl07"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl07_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl07_code"&gt;&amp;lt;%@ CodeTemplate Language="C#" TargetLanguage="C#" Description="Car Template" %&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The next part of the  template is the property declarations, where you declare the properties  that will be specified each time the template is run. With this  template, the single property that I'm going to use is just a string, so  the property declaration looks like this: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl08"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl08_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl08_code"&gt;&amp;lt;%@ Property Name="ClassName" Type="String" Category="Context" Description="Class Name" %&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div id="edupdate" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="clsRed"&gt;[&lt;strong&gt;Editor's Update - 6/16/2004:&lt;/strong&gt; The code in Figure 3 has been updated to be safe for multithreaded operations.]&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MTPS_CollapsibleRegion" style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;div class="CollapseRegionLink"&gt;  &lt;img class="LibC_o" src="http://i.msdn.microsoft.com/Global/Images/clear.gif" style="border-width: 0px; vertical-align: middle;" /&gt; &amp;nbsp;Figure&amp;nbsp;3&amp;nbsp;Class Generation &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;br /&gt;&lt;span class="clsCap"&gt;Custom Template&lt;/span&gt;&lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl00"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl00_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl00_code"&gt;public sealed class &amp;lt;%= ClassName %&amp;gt; { private static volatile &amp;lt;%= ClassName %&amp;gt; _instance; private &amp;lt;%= ClassName %&amp;gt;() {} private static readonly object _syncRoot = new object(); public static &amp;lt;%= ClassName %&amp;gt; Value { get { if (_instance == null) { lock(_syncRoot) { if (_instance == null) { _instance = new &amp;lt;%= ClassName %&amp;gt;(); } } } return _instance; } } }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class="clsCap"&gt;SingletonClass&lt;/span&gt;&lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl01"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl01_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl49_ctl00_ctl01_code"&gt;public sealed class SingletonClass { private static volatile SingletonClass _instance; private SingletonClass() {} private static readonly object _syncRoot = new object(); public static SingletonClass Value { get { if (_instance == null) { lock(_syncRoot) { if (_instance == null) { _instance = new SingletonClass(); } } } return _instance; } } }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;As you can see, the template will  take the string input and generate a singleton class using that class  name. In the template body, the same opening and closing tags are used  as in ASP.NET. In this template, I am simply inserting the property  value, but you can also use any type of .NET code inside these tags.  Once the template is complete, you load it into CodeSmith by either  double-clicking or opening it from the CodeSmith application. &lt;strong&gt;Figure 4&lt;/strong&gt; shows this template loaded into CodeSmith.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MTPS_CollapsibleRegion" style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;div class="CollapseRegionLink"&gt;  &lt;img class="LibC_o" src="http://i.msdn.microsoft.com/Global/Images/clear.gif" style="border-width: 0px; vertical-align: middle;" /&gt; &amp;nbsp;Figure&amp;nbsp;4&amp;nbsp;CodeSmith Template &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;img alt="" height="212" src="http://i.msdn.microsoft.com/cc300497.fig04%28en-us%29.gif" width="500" /&gt; &lt;/div&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;You can see that the property on  the left is the one I declared in the template. If I enter  "SingletonClass" as the class name and click the Generate button, the  class shown in the bottom part of &lt;strong&gt;Figure 3&lt;/strong&gt; will be generated.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;CodeSmith  is relatively easy to use and can produce some incredible results if  applied correctly. One of the most common sections of an application  that is targeted for code generation is the data access layer. CodeSmith  includes a special assembly called the SchemaExplorer which can be used  to generate templates from tables, stored procedures, or almost any  other SQL Server™ object.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;CodeSmith was written by Eric J. Smith and is available for download at &lt;a href="http://www.ericjsmith.net/codesmith" id="ctl00_MTContentSelector1_mainContentContainer_ctl13"&gt;http://www.ericjsmith.net/codesmith&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S5" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;NUnit&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;NUnit  is an open source unit testing framework built for the .NET Framework.  NUnit allows you to write tests in the language of your choice to test a  specific function of your application. Unit tests are an excellent way  to test the functionality of your code when you first write it, and also  to provide a method for regression testing of your application. The  NUnit application provides a framework for writing unit tests, as well  as a graphical interface to run these tests and view the results.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S6" style="font-family: Arial,Helvetica,sans-serif;"&gt;Writing an NUnit Test&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;As  an example, I'm going to test the functionality of the Hashtable class  in the .NET Framework to determine if two objects can be added and then  retrieved. My first step will be to add a reference to the  NUnit.Framework assembly, which will give me access to the attributes  and methods of the NUnit framework. Next I'll create a class and mark it  with the TestFixture attribute. This attribute lets NUnit know that  this class contains NUnit tests: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl14"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl14_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl14_code"&gt;using System; using System.Collections; using NUnit.Framework; namespace NUnitExample { [TestFixture] public class HashtableTest { public HashtableTest() { } } }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Next I'll create a method  and mark it with the [Test] attribute so that NUnit knows that this  method is a test. Then I'll set up a Hashtable and add two values to it,  then use the Assert.AreEqual method to see if I can retrieve the same  values that I added to the Hashtable, as shown in the following: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl15"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl15_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl15_code"&gt;[Test] public void HashtableAddTest() { Hashtable ht = new Hashtable(); ht.Add("Key1", "Value1"); ht.Add("Key2", "Value2"); Assert.AreEqual("Value1", ht["Key1"], "Wrong object returned!"); Assert.AreEqual("Value2", ht["Key2"], "Wrong object returned!"); }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;This will confirm that I can  add and then retrieve values from the Hashtable—a simple test, but one  that showcases the capabilities of NUnit. There are a number of test  types, as well as various Assert methods, that can be used to test every  part of your code.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;To run this  test, I'll need to build the project, open the generated assembly in the  NUnit application, and then click the Run button. &lt;strong&gt;Figure 5&lt;/strong&gt;  shows the results. I get a warm and fuzzy feeling when I see that big  green bar because it lets me know that the test passed. This simple  example shows how easy and powerful NUnit and unit testing can be. Being  able to write a unit test that can be saved and rerun whenever you  change code not only makes it easier for you to detect defects in your  code, but the result is that you can deliver better applications.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc300497.fig05%28en-us%29.gif" /&gt;&lt;br /&gt;&lt;div class="ArticleImageCaptionText"&gt;Figure 5&lt;strong&gt;&amp;nbsp;NUnit&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;NUnit is an open-source project that is available for download from &lt;a href="http://www.nunit.org/" id="ctl00_MTContentSelector1_mainContentContainer_ctl17"&gt;http://www.nunit.org&lt;/a&gt;.  There is also an excellent NUnit Visual Studio .NET add-in which allows  you to run unit tests directly from Visual Studio. This can be found at  &lt;a href="http://sourceforge.net/projects/nunitaddin" id="ctl00_MTContentSelector1_mainContentContainer_ctl18"&gt;http://sourceforge.net/projects/nunitaddin&lt;/a&gt;. For more information on NUnit and its place in test-driven development, see the article "&lt;a href="http://msdn.microsoft.com/msdnmag/issues/04/04/ExtremeProgramming/" id="ctl00_MTContentSelector1_mainContentContainer_ctl19"&gt;Test-Driven C#: Improve the Design and Flexibility of Your Project with Extreme Programming Techniques&lt;/a&gt;" in the April 2004 issue of &lt;em&gt;MSDN&lt;/em&gt;® &lt;em&gt;Magazine&lt;/em&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S7" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;FxCop&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The  .NET Framework is very powerful, which means there is great potential  to create excellent applications, but there is equal opportunity to  create poor programs. FxCop is one of the tools that can be used to help  create better applications by enabling you to examine an assembly and  check it for compliance using a number of different rules. FxCop comes  with a set number of rules created by Microsoft, but you can also create  and include your own rules. For instance, if you decided that all  classes should have a default constructor that takes no arguments, you  could write a rule that checks for a constructor on each class of an  assembly. This way, no matter who writes the code, you will have a  certain level of consistency. If you want more information on creating  custom rules, see John Robbins' &lt;a href="http://msdn.microsoft.com/msdnmag/issues/04/06/bugslayer/" id="ctl00_MTContentSelector1_mainContentContainer_ctl20"&gt;Bugslayer&lt;/a&gt; column on the subject in the June 2004 issue of &lt;em&gt;MSDN Magazine&lt;/em&gt;.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;So  let's take a look at FxCop in action and see what it finds wrong with  the NUnitExample assembly that I have been working with. When you open  FxCop you first need to create an FxCop project and then add to it the  assembly that you want to test. Once the assembly is added to the  project, you can press Analyze, and FxCop will examine the assembly. The  errors and warning found in this assembly are shown in &lt;strong&gt;Figure 6&lt;/strong&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MTPS_CollapsibleRegion" style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;div class="CollapseRegionLink"&gt;  &lt;img class="LibC_o" src="http://i.msdn.microsoft.com/Global/Images/clear.gif" style="border-width: 0px; vertical-align: middle;" /&gt; &amp;nbsp;Figure&amp;nbsp;6&amp;nbsp;Errors and Warning Found by FxCop &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;img alt="" height="168" src="http://i.msdn.microsoft.com/cc300497.fig06%28en-us%29.gif" width="500" /&gt; &lt;/div&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;FxCop found a couple of problems  with my assembly. You can double-click on an error to see the details,  including a description of the rule and where you can find more  information. (Something you can do for fun is run FxCop on the Framework  assemblies and see what turns up.)&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;FxCop  can help you create better, more consistent code, but it cannot make up  for poor application design or just plain poor programming. FxCop is  also not a replacement for peer code review, but because it can catch a  lot of errors before code review, more time can be spent on serious  issues rather than having to worry about naming conventions.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;FxCop was developed by Microsoft and is available for download from &lt;a href="http://www.gotdotnet.com/team/fxcop" id="ctl00_MTContentSelector1_mainContentContainer_ctl22"&gt;http://www.gotdotnet.com/team/fxcop&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S8" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;Lutz Roeder's .NET Reflector&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The  next essential tool is called .NET Reflector, which is a class browser  and decompiler that can examine an assembly and show you just about all  of its secrets. The .NET Framework introduced reflection which can be  used to examine any .NET-based code, whether it is a single class or an  entire assembly. Reflection can also be used to retrieve information  about the various classes, methods, and properties included in a  particular assembly. Using .NET Reflector, you can browse the classes  and methods of an assembly, you can examine the Microsoft intermediate  language (MSIL) generated by these classes and methods, and you can  decompile the classes and methods and see the equivalent in C# or Visual  Basic® .NET.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;To demonstrate the workings of .NET Reflector, I am going to load and examine the NUnitExample assembly already shown. &lt;strong&gt;Figure 7&lt;/strong&gt; shows this assembly loaded in .NET Reflector.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc300497.fig07%28en-us%29.gif" /&gt;&lt;br /&gt;&lt;div class="ArticleImageCaptionText"&gt;Figure 7&lt;strong&gt;&amp;nbsp;NUnitExample Assembly&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Inside  of .NET Reflector there are various tools that you can use to examine  this assembly further. To view the MSIL that makes up a method, click on  the method and select Disassembler from the menu.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;In  addition to being able to view the MSIL, you can also view the method  as C# by selecting Decompiler under the Tools menu. You could also view  this method decompiled to Visual Basic .NET or Delphi by changing your  selection under the Languages menu. Here is the code that .NET Reflector  generated: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl24"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl24_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl24_code"&gt;public void HashtableAddTest() { Hashtable hashtable1; hashtable1 = new Hashtable(); hashtable1.Add("Key1", "Value1"); hashtable1.Add("Key2", "Value2"); Assert.AreEqual("Value1", hashtable1["Key1"], "Wrong object returned!"); Assert.AreEqual("Value2", hashtable1["Key2"], "Wrong object returned!"); }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; The previous code looks very much like the code I actually wrote for this method. Here is the actual code from this assembly: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl25"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl25_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl25_code"&gt;public void HashtableAddTest() { Hashtable ht = new Hashtable(); ht.Add("Key1", "Value1"); ht.Add("Key2", "Value2"); Assert.AreEqual("Value1", ht["Key1"], "Wrong object returned!"); Assert.AreEqual("Value2", ht["Key2"], "Wrong object returned!"); }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; Although there are some minor differences with the code, they are functionally identical.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;While  this example was a good way to show actual code versus decompiled code,  it does not represent what I consider to be the best use of .NET  Reflector, which is to examine .NET Framework assemblies and methods.  The .NET Framework offers many different ways to perform similar  operations. For example, if you need to read a set of data from XML,  there are a variety of different ways to do this using XmlDocument,  XPathNavigator, or XmlReader. By using .NET Reflector, you can see what  Microsoft used when writing the ReadXml method of the DataSet, or what  they did when reading data from the configuration files. .NET Reflector  is also an excellent way to see the best practices for creating objects  like HttpHandlers or configuration handlers because you get to see how  the team at Microsoft actually built those objects in the Framework.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;.NET Reflector was written by Lutz Roeder and can be downloaded from &lt;a href="http://www.aisto.com/roeder/dotnet" id="ctl00_MTContentSelector1_mainContentContainer_ctl26"&gt;http://www.aisto.com/roeder/dotnet&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S9" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;NDoc&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Code  documentation is almost always a dreaded task. I am not talking about  the early design documents, or even the more detailed design documents; I  am talking about documenting individual methods and properties on  classes. The NDoc tool will automatically generate documentation for  your code using reflection to examine the assembly and using the XML  generated from your C# XML comments. XML comments are only available for  C#, but there is a Visual Studio .NET Power Toy called VBCommenter  which will do something similar for Visual Basic .NET. In addition, the  next release of Visual Studio will support XML comments for more  languages.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;With NDoc you are  technically still documenting your code, but you are documenting as you  write it (in the XML comments), which is much easier to swallow. The  first step when using NDoc is to turn on XML comments generation for  your assembly. Right-click the project and select Properties |  Configuration Properties | Build, then enter a path in which to save the  XML file in the XML Documentation File option. When the project is  built, an XML file will be created with all of the XML comments  included. Here is a look at a method from the NUnit example documented  with XML: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl27"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl27_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl27_code"&gt;/// &lt;summary&gt; /// This test adds a number of values to the Hashtable collection /// and then retrieves those values and checks if they match. /// &lt;/summary&gt; [Test] public void HashtableAddTest() { //Method Body Here }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The XML documentation on this method will be extracted and saved in the XML file, shown here: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl28"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl28_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl28_code"&gt;&lt;member name="M:NUnitExample.HashtableTest.HashtableAddTest"&gt; &lt;summary&gt;This test adds a number of values to the Hashtable collection and then retrieves those values and checks if they match.&lt;/summary&gt; &lt;/member&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; NDoc uses reflection to look at your assembly, then reads the  XML in this document, and matches them up. NDoc uses this data to create  any number of different documentation formats, including HTML help  files (CHMs). After generating the XML file, the next step is to load  the assembly and the XML file into NDoc so they can be processed. This  is done simply by opening NDoc and clicking the Add button.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Once  the assembly and XML file are loaded into NDoc and after you customize  the output using the range of properties available, clicking on the  Generate button will start the process of generating the documentation.  Using the default properties, NDoc generates some very attractive and  functional .html and .chm files, thereby automating in a quick and  efficient manner what would otherwise be a tedious task.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;NDoc is an open source project and can be downloaded from &lt;a href="http://ndoc.sourceforge.net/" id="ctl00_MTContentSelector1_mainContentContainer_ctl29"&gt;http://ndoc.sourceforge.net&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S10" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;NAnt&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;NAnt  is a .NET-based build tool that, unlike the current version of Visual  Studio .NET, makes it easy to create a build process for your project.  When you have a large number of developers working on a single project,  you can't rely on the build from a single user's box. You also do not  want to have to build the project manually on a regular basis. Instead,  you create an automated build process that runs every night. NAnt allows  you to build your solution, copy files, run NUnit tests, send e-mail,  and much more. Unfortunately, NAnt is lacking a nice looking graphical  interface, but it does have a console application and XML files that  specify which tasks should be completed during the build process. Note  that MSBuild, the new build platform that's part of Visual Studio 2005,  provides for very robust build scenarios and is similarly driven by  XML-based project files.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S11" style="font-family: Arial,Helvetica,sans-serif;"&gt;NAnt in Action&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;In  this example I am going to create an NAnt build file for the  NUnitExample solution that I created earlier. First I need to create an  XML file with the .build extension, place it in the root of my project,  and then add an XML declaration to the top of the file. The first tag I  need to add to the file is the project tag: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl30"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl30_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl30_code"&gt;&lt;!--?xml version="1.0"?--&gt; &lt;project basedir="." default="build" name="NUnit Example"&gt; &lt;description&gt;The NUnit Example Project&lt;/description&gt; &lt;/project&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; The project tag is also used to set the name of the project, the  default target, and the base directory. The description tag is used to  set a brief description of this project.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Next,  I'll add the property tag, which can be used to store a setting in a  single location that can then be accessed from anywhere in the file. In  this case, I am going to create a property called debug, which I can  then set to true or false, reflecting whether or not I want the project  to be compiled in the debug configuration. (In the end, this particular  property does not actually affect how the project will be built; it is  simply a variable that you set and which will be read from later when  you are actually determining how to build the project.)&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;Next,  I need to create a target tag. A project can contain multiple targets  which can be specified when NAnt is run. If no target is specified, the  default is used, which I set in the project element. In this example,  the default target is build. Let's take a look at the target element,  which will contain the majority of the build info: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl31"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl31_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl31_code"&gt;&lt;target description="compiles the source code" name="build"&gt; &lt;/target&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; Inside the target element, I am going to set the name of the  target to build and create a description of what this target will do.  I'll also create a csc element, which is used to specify what should be  passed to the csc C# compiler. Let's take a look at the csc element: &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl32"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl32_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl32_code"&gt;&lt;csc debug="${debug}" output=".\bin\debug\NUnitExample.dll" target="library"&gt; &lt;references&gt; &lt;includes name="C:\program files\NUnit V2.1\bin\NUnit.Framework.dll"&gt; &lt;/includes&gt;&lt;/references&gt; &lt;sources&gt; &lt;includes name="HashtableTest.cs"&gt; &lt;/includes&gt;&lt;/sources&gt; &lt;/csc&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;First, I have to set the  target of the csc element. In this case I will be creating a .dll file  so I set the target to library. Next, I have to set the output of the  csc element, which is where the .dll file will be created. Finally, I  need to set the debug property, which determines whether the project  will be compiled in debug. Since I created a property earlier to store  this value, I can use the following string to access the value of that  property: ${debug}. The csc element also contains a number of  sub-elements. I need to create two elements: the references element will  tell NAnt which assemblies I need to reference for this project, and  the sources element will tell NAnt which files to include in the build.  In this example, I reference the NUnit.Framework.dll assembly and  include the HashtableTest.cs file. The complete build file is shown in &lt;strong&gt;Figure 8&lt;/strong&gt;.  (You would normally also create a clean target that would be used to  delete the generated files, but I have omitted it for the sake of  brevity.)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MTPS_CollapsibleRegion" style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;div class="CollapseRegionLink"&gt;  &lt;img class="LibC_o" src="http://i.msdn.microsoft.com/Global/Images/clear.gif" style="border-width: 0px; vertical-align: middle;" /&gt; &amp;nbsp;Figure&amp;nbsp;8&amp;nbsp;NAnt Build File &lt;/div&gt;&lt;div class="MTPS_CollapsibleSection" style="display: block;"&gt;   &lt;span id="ctl00_MTContentSelector1_mainContentContainer_ctl69_ctl00_ctl00"&gt; &lt;div class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl69_ctl00_ctl00_"&gt;          &lt;div class="CodeSnippetTitleBar"&gt;         &lt;div class="CodeDisplayLanguage"&gt;                      &lt;/div&gt;&lt;/div&gt;&lt;div dir="ltr" style="background-color: #dddddd;"&gt;     &lt;pre class="libCScode" id="ctl00_MTContentSelector1_mainContentContainer_ctl69_ctl00_ctl00_code"&gt;&lt;!--?xml version="1.0"?--&gt; &lt;project basedir="." default="build" name="NUnit Example"&gt; &lt;description&gt;The NUnit Example Project&lt;/description&gt; &lt;property name="debug" value="true"&gt; &lt;target description="compiles the source code" name="build"&gt; &lt;csc debug="${debug}" output=".\bin\debug\NUnitExample.dll" target="library"&gt; &lt;references&gt; &lt;includes name="C:\program files\NUnit V2.1\bin\NUnit.Framework.dll"&gt; &lt;/includes&gt;&lt;/references&gt; &lt;sources&gt; &lt;includes name="HashtableTest.cs"&gt; &lt;/includes&gt;&lt;/sources&gt; &lt;/csc&gt; &lt;/target&gt; &lt;/property&gt;&lt;/project&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;To build this file I need to go to  the root directory of my project, where the build file is located, and  execute nant.exe from that location. If the build is successful, you can  find the .dll and .pdb file in the bin directory of this application.  While using NAnt is definitely not as easy as clicking Build in Visual  Studio, it is a very powerful tool for developing a build process that  runs on an automated schedule. NAnt also includes helpful features such  as the ability to run unit tests or copy additional files (features that  are not supported by the current Visual Studio build process).&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;NAnt is an open source project and can be downloaded from &lt;a href="http://sourceforge.net/projects/nant" id="ctl00_MTContentSelector1_mainContentContainer_ctl35"&gt;http://sourceforge.net/projects/nant&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleTypeTitle" id="S12" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b&gt;Switch Tools&lt;/b&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;I  have lumped together two separate tools under the heading Switch Tools.  These two tools are rather simple, but can be extremely useful. The  first is the ASP.NET Version Switcher, which can be used to switch the  version of ASP.NET that a virtual directory is running under. The second  tool is the Visual Studio Converter, which can be used to switch a  project file from Visual Studio .NET 2002 to Visual Studio .NET 2003.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;When  IIS handles a request, it looks at the extension of the file that is  being requested, and then based on the extension mappings for that Web  site or virtual directory, it either delegates the request to an ISAPI  extension or handles it itself. This is how ASP.NET works; extension  mappings are registered for all of the ASP.NET extensions and directs  them to the aspnet_isapi.dll. This works flawlessly until you install  ASP.NET 1.1, which upgrades the extension mapping to the new version of  aspnet_isapi.dll. This causes errors when an application built on  ASP.NET 1.0 tries to run with version 1.1. To fix this, you can switch  all of the extension mappings back to the 1.0 version of  aspnet_isapi.dll, but with 18 extension mappings it is not a lot of fun  to do this by hand. This is where the ASP.NET Version Switcher becomes  useful. This small utility can be used to switch the version of the .NET  Framework that any single ASP.NET application is using.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc300497.fig09%28en-us%29.gif" /&gt;&lt;br /&gt;&lt;div class="ArticleImageCaptionText"&gt;Figure 9&lt;strong&gt;&amp;nbsp;ASP.NET Version Switcher&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;strong&gt;Figure 9&lt;/strong&gt;  shows the ASP.NET Version Switcher in action. Using it is as simple as  selecting the application and then selecting the version of the .NET  Framework that you would like the application to use. The tool then uses  the aspnet_regiis.exe command-line tool to switch the application to  the selected version of the Framework. This tool will become even more  useful as future versions of ASP.NET and the .NET Framework are  released.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET Version Switcher was written by Denis Bauer and is available for download from &lt;a href="http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx" id="ctl00_MTContentSelector1_mainContentContainer_ctl37"&gt;http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx&lt;/a&gt;.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The Visual Studio .NET Project Converter (see &lt;strong&gt;Figure 10&lt;/strong&gt;)  is very similar to the ASP.NET Version Switcher, except that it is used  to switch the version of a Visual Studio project file. Even though  there is only a small difference between versions 1.0 and 1.1 of the  .NET Framework, once a project file from Visual Studio .NET 2002 is  converted to Visual Studio .NET 2003, it cannot be converted back. While  this might not be an issue most of the time (since there are few  breaking changes between the .NET Framework versions 1.0 and 1.1), at  some point you may need to switch a project back. This converter can  convert any solution or project file from Visual Studio 7.1 (Visual  Studio .NET 2003) to Visual Studio 7.0 (Visual Studio .NET 2002), and  back if necessary.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc300497.fig10%28en-us%29.gif" /&gt;&lt;br /&gt;&lt;div class="ArticleImageCaptionText"&gt;Figure 10&lt;strong&gt;&amp;nbsp;Visual Studio .NET Project Converter&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Arial,Helvetica,sans-serif;"&gt;The Visual Studio .NET Project Converter was written by Dacris Software. It is available for download from &lt;a href="http://www.codeproject.com/macro/vsconvert.asp" id="ctl00_MTContentSelector1_mainContentContainer_ctl39"&gt;http://www.codeproject.com/macro/vsconvert.asp&lt;/a&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/6078944045066267379-6172633098182973072?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6172633098182973072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6172633098182973072'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/ten-must-have-tools-every-developer.html' title='Ten Must-Have Tools Every Developer Should Download Now'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8674375728486678786</id><published>2011-09-02T07:22:00.000-07:00</published><updated>2011-09-02T07:22:03.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 4.0'/><title type='text'>ASP.NET 4.0 Features</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="note" style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp;ASP.NET v4 is released with Visual studio 2010. Web  developers are presented with a bewildering range of new features and so  Ludmal De Silva has described what he considers to be the most  important new features in ASP.NET V4&lt;/div&gt;&lt;div class="note" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="start" style="font-family: Arial,Helvetica,sans-serif;"&gt;The focus of Microsoft’s latest &lt;b&gt;ASP.NET 4&lt;/b&gt;has  mainly been on improving the performance and Search-engine Optimization  (SEO). In this article, I'll be taking a look at what I think are the  most important new features in ASP.NET 4.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;Output cache extensibility  &lt;/li&gt;&lt;li&gt;Session state compression  &lt;/li&gt;&lt;li&gt;View state mode for individual control  &lt;/li&gt;&lt;li&gt;&lt;i&gt;Page.MetaKeyword&lt;/i&gt; and &lt;i&gt;Page.MetaDescription&lt;/i&gt; properties  &lt;/li&gt;&lt;li&gt;&lt;i&gt;Response.RedirectPermanent&lt;/i&gt; method  &lt;/li&gt;&lt;li&gt;Routing in ASP.NET  &lt;/li&gt;&lt;li&gt;Increase the URL character length  &lt;/li&gt;&lt;li&gt;New syntax for Html Encode  &lt;/li&gt;&lt;li&gt;Predictable Client IDs  &lt;/li&gt;&lt;li&gt;&lt;i&gt;Web.config&lt;/i&gt; file refactoring  &lt;/li&gt;&lt;li&gt;Auto-Start ASP.NET applications  &lt;/li&gt;&lt;li&gt;Improvements on Microsoft Ajax Library&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I’ll describe the details of each of these features in the following sections.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Output Cache extensibility&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Output caching, or Page-Level Caching, caches the entire rendered  markup of an ASP.NET web page for a specific time-period. This has  always been one of the essential features for ASP.NET that is used  extensively to increase application performance. However there have been  some limitations on the feasible extent of caching, because cached  content always had to be stored in-memory. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;But with ASP.NET 4.0 developers can extend their caching by using &lt;b&gt;Output-cache providers&lt;/b&gt;.  Developers can now create ‘output-cache providers’ that store the cache  contents to any persistence mechanism such as databases, disks, cloud  storage and distributed cache engines.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;To create a custom output-cache provider, a class which derived from &lt;b&gt;System.Web.Caching.OutputCacheProvider&lt;/b&gt;  has to be created in ASP.NET 4.0. There are four public methods which  you have to override in order to provide your own implementation for  add, remove, retrieve and update functionality. Also, the output-cache  provider has to be registered in the &lt;b&gt;web.config&lt;/b&gt; file as shown in the following screen capture.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS1.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;You can also set this custom output-cache provider as your default  cache mechanism. So once you add the page cache directives all of your  contents will be stored using the custom output-cache provider.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS2.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Moreover, developers can also dynamically configure which  output-cache Provider is used. For example you might want to cache the  frequently access pages in the memory for faster access and less  frequent pages on disk. By overriding the &lt;b&gt;GetOutputCacheProviderName()&lt;/b&gt;  method you can configure which output cache provider to use for  different requests. These additions to the output-cache can enable  developers to write extensible and more efficient cache mechanisms to  their web application and thereby improve its responsiveness.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Session State compression&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The ASP.NET session state is a mechanism to maintain session-specific  data through subsequent requests. In some instances, you may wish to  store your session state data in a session-state server or in Microsoft  SQL server. However, these two options require you to store data out of  the web application’s worker process. To send across to the relevant  sources, (State server or Microsoft SQL Server), session-state data has  to be serialized. This can take a significant time if the size of the  data to be serialized grows significantly. This will increase the  latency of the application.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;This latency can be reduced if the size of the data is lessened by  compression. ASP.NET 4.0 introduces a new mechanism to compress your  session state data for both Session-state server and Microsoft SQL  server.&amp;nbsp; Compression can be enabled by setting the &lt;b&gt;compressionEnable &lt;/b&gt;to true in the &lt;b&gt;web.config&lt;/b&gt; file. In this example, the session-state data will be serialized/desterilized using &lt;b&gt;System.IO.Compression.GZipStream.&lt;/b&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&lt;sessionstate&lt; span=""&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; mode="SqlServer"&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; sqlConnectionString="data source=DB;Initial Catalog=LudmalDB"&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; allowCustomSqlDatabase="true"&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; compressionEnabled="true"&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;/&amp;gt;&lt;/span&gt;&lt;/sessionstate&lt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;With this compression feature, developers can often reduce the time  it takes for a web application to respond by reducing the size of  session data. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;View State mode for Individual Controls&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;View state is a mechanism to maintain page controls’ state on  subsequent post backs. ASP.NET stores the view state data for controls  that are in the page, even if it’s not necessary. Since the view state  data is stored in the pages’ html, the size of the request object will  be increased, and make performance worse.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In ASP.NET 4.0, each web control will include a &lt;b&gt;ViewStateMode &lt;/b&gt;property  which lets developers disable view-state by default, and enable it just  for the controls for which a persistence of state is required. &lt;i&gt;ViewStateMode&lt;/i&gt; has the following three values;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;Enabled – enables the view state for this control and any child control.  &lt;/li&gt;&lt;li&gt;Disabled – disable the view state.  &lt;/li&gt;&lt;li&gt;Inherits – this specify the control uses the settings from its parent control.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;By setting these values in page controls accordingly, a significant performance improvement can be gained in response-time.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;i&gt;Page.MetaKeywords&lt;/i&gt; and &lt;i&gt;Page.MetaDescription&lt;/i&gt; properties&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;To increase the relevance of pages in searches, developers should  &amp;nbsp;include relevant “keyword” and “description” meta tags in the html   section.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unfortunately, it takes some time to add these  tags for each and every page, and the alternative of adding these tags  programmatically was difficult.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;But with ASP.NET 4.0, there are two new properties in the code behind file;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;i&gt;Page.MetaDescription&lt;/i&gt; – equivalent to meta name “description”  &lt;/li&gt;&lt;li&gt;&lt;i&gt;Page.MetaKeywords&lt;/i&gt; – equivalent to meta name “keywords”&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;This will enable developers to easily and programmatically add the relevant keywords and description.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS4.JPG" /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;This will even be useful for Master pages—where you only have to add  these properties in the master page. In addition to “keywords” and  “description” settings in the code behind, developers can also set these  values within the @Page directive. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;i&gt;Response.RedirectPermanent&lt;/i&gt; Method&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET 4.0 has improved SEO (Search-engine Optimization) facilities. Typically developers use &lt;b&gt;Response.Redirect(string url&lt;/b&gt;&lt;i&gt;)&lt;/i&gt;  to handle requests for old URLs. However, this leads to an extra round  trip to access the old URLs and so will negatively affect your  page-ranking&amp;nbsp; in search-engines.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET 4.0 introduces a new &lt;b&gt;Response.RedirectPermanent(string url)&lt;/b&gt;  helper method to be used as HTTP 301 (Moved permanently) to handle  requests. This will enable search-engines to index URLs and content  efficiently and thus improve the page rankings.&amp;nbsp; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Routing in ASP.NET &lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Routing will let developers serve meaningful URLs to users and map  them with the actual physical files. This URL-rewriting mechanism  enables developers to write high ranking, search-engine optimized web  applications. For example, URL for a page which displays an actual  product might look like the following;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: #800039; font-size: 9.5pt;"&gt;http://www.ludmal.net/showproducts.aspx?prodId=24 &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;By using routing the URL will look like the following&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: #800039; font-size: 9.5pt;"&gt;http://www.ludmal.net/products/ipod &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In this way, the URLs will be more easily remembered by users. &amp;nbsp;It  will also significantly improve the search-engine page rankings of the  web site.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The following example shows how to implement routing behavior in ASP.NET 4 using new &lt;i&gt;MapPageRoute&lt;/i&gt; in &lt;i&gt;Route&lt;/i&gt; class.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;public class Global : System.Web.HttpApplication &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;{ &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;void Application_Start(object sender, EventArgs e) &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;{ &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RouteTable.Routes.MapPageRoute("ProductsRoute", &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"product/{prodId}", "~/products.aspx"); &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;} &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Increase the URL character length&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In previous versions of ASP.NET, &amp;nbsp;URLs were limited to 260 characters  in length. But in ASP.NET 4.0 developers have the option of increasing  or decreasing &amp;nbsp;the length of URLs by using &amp;nbsp;the new &lt;b&gt;maxRequestPathLength&lt;/b&gt; and &lt;b&gt;maxQueryStringLength&lt;/b&gt;. I’ll illustrate this in an example.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&lt;httpruntime maxquerystringlength="1024" maxrequestpathlength="360"&gt; &lt;/httpruntime&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In previous versions of ASP.NET you were limited to a fixed set of  characters but in v4, developers can also validate the invalid  characters by specifying values in the &lt;b&gt;requestPathInvalidChars&lt;/b&gt; attribute.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;New syntax for Html Encode&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Html Encode method encodes a particular string to be displayed in a  browser. It is important to encode strings prior it’s rendering in the  page, mainly to avoid cross-site script injection (XSS) and HTML  injection attacks. However, developers so often forget to call the  encode function.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In previous .NET versions, &lt;b&gt;Server.HtmlEncode()&lt;/b&gt; or &lt;b&gt;HttpUtility.Encode()&lt;/b&gt; methods has been used for string encoding as shown in the following example.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS5.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET 4.0 introduced new code expression syntax for encoding a  particular string.&amp;nbsp; While the syntax will render the output it also  encodes the relevant string as shown below. Note “&lt;b&gt;:&lt;/b&gt;” character after opening tag (“&amp;lt;%”).&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS6.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The new encoding syntax provides an easy and concise way of encoding a particular string.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Predictable Client IDs&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET 4 now supports a new &lt;b&gt;ClientIDMode&lt;/b&gt; property for server  control. This property indicates how the Client ID should be generated  to a particular control when they render. Client ID has been an  important property of the server controls recently—especially with the  success of jQuery and other Ajax scripting technologies.&amp;nbsp; The  ClientIDMode property has four values;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;b&gt;AutoID&lt;/b&gt; – This renders the output as it was before (example: &lt;i&gt;ctl00_ContentPlaceholder1_ListView1_ctrl0_Label1&lt;/i&gt;)  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Predictable (Default)&lt;/b&gt;– Trims all “ctl00” strings in the Client Id property.  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Static&lt;/b&gt; – Full control over the Client ID (developer can set the Client Id and it will not be changed after the control renders)  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Inherit&lt;/b&gt; – Allow control to inherit the behavior from its parent control&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Client ID property can be set in three different ways;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;Directly on individual control  &lt;/li&gt;&lt;li&gt;On the container control. (All the child controls will inherit the settings from parent/container control)  &lt;/li&gt;&lt;li&gt;Page or User Control level using &amp;lt;%@ Page%&amp;gt;&amp;nbsp; or &amp;lt;%@ Control %&amp;gt; directives.  &lt;/li&gt;&lt;li&gt;Directly in the &lt;i&gt;web.config&lt;/i&gt; file. All the controls within the web application will inherit the settings.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;New &lt;b&gt;ClientIDRowSuffix&lt;/b&gt; property on databound controls also  gives a similar functionality when rendering an each data item. Once you  set the relevant databound property to ClientIDRowSuffix, the value  will be added as a suffix to individual row elements. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS7.JPG" /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;After the control renders the “State” value will be added as a suffix to each data row element.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS8.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Web.config refactoring&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt; &lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Over the past few years &lt;b&gt;web.config&lt;/b&gt; file has grown  significantly as ASP.NET has used it for more and more features such as  routing, Ajax, IIS 7 and version compatibility. This has made it  trickier to maintain even with the Visual Studio environment.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;With ASP.NET 4, most of the major elements have been moved to the &lt;b&gt;machine.config&lt;/b&gt; file. This has enabled developers to maintain a cleaner, less cluttered, &lt;i&gt;web.config&lt;/i&gt; file. The new &lt;b&gt;web.config&lt;/b&gt; file is either empty, or includes just the .NET framework version details as shown in the following example.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="listing" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&lt;!--?xml version="1.0"?--&gt;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; &lt;configuration&gt;&lt;/configuration&gt;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;system.web&gt;&lt;/system.web&gt;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;compilation targetframework="4.0"&gt; &lt;/compilation&gt;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span lang="EN-US" style="color: blue; font-size: 9.5pt;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Auto-Start ASP.NET Applications&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Most application requires initial data load or caching operations to  be done before serving the client requests. Typical this happens only  when the first user request a page. However, often developers and web  administrators write fake requests to keep the application alive to  increase the response time. To overcome this issue, ASP.NET 4 introduce  new Auto-Start feature. Auto-start feature available with IIS 7.5 and it  initialize the ASP.NET application to accept requests.&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;To configure the Auto-start, you need to configure the “Application  pool” worker process by setting the startMode attribute to  “AlwaysRunning” in the &lt;i&gt;applicationHost.config &lt;/i&gt;file. (C:\Windows\System32\inetsrv\config\applicationHost.config)&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div class="illustration" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img src="http://www.simple-talk.com/iwritefor/articlefiles/1012-LS9.JPG" /&gt; &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;As soon you save the &lt;i&gt;applicationHost.config &lt;/i&gt;file the worker process will start and initialize the required application operations before the first user has been served. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Improvements on Microsoft Ajax Library&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Microsoft Ajax library is client side library which includes high  performance server –based user controls and asynchronous page rendering  controls. Ajax Library enables developers to easily and quickly write  responsive database-driven applications. &lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;There are some significant improvements in the Ajax Library in the ASP.NET 4. of which the most important seem to be...&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;b&gt;Scrip Loader&lt;/b&gt; – the new script loader control enable  developers to load all the required scripts only once, thereby  eliminating the unnecessary subsequent requests to the server. It  supports the ‘lazy load’ pattern which loads scripts only when  necessary, and loads scripts in combination, in order to increase the  performance of loading a page. It also supports the &lt;i&gt;jQuery&lt;/i&gt; script and custom scripts.  &lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;JQuery&lt;/i&gt; Integration&lt;/b&gt; – &lt;i&gt;JQuery&lt;/i&gt; is very popular third party javascript library. ASP.NET 4 extensively supports the integration for &lt;i&gt;jQuery&lt;/i&gt; by mixing the &lt;i&gt;jQuery&lt;/i&gt; and Ajax plug-ins seamlessly.  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Client Data Access&lt;/b&gt; – by using pre-defined client  controls inside the Ajax Library, developers can easily build  asynchronous data-driven applications. For example client &lt;b&gt;DataView &lt;/b&gt;control  will display one or more records by consuming a WCF service. All the  relevant time-consuming operations will be handled by the Ajax library  asynchronously.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;Conclusion&lt;/h2&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASP.NET 4 includes plethora of new features which will enable  developers to write high performance, search-engine friendly web  application quickly. The features I’ve mentioned seem to be the most  important of all the new features in ASP.NET 4. By upgrading your  existing web applications to up-coming ASP.NET 4, you are likely to see  an improvement in performance and search-engine optimization.&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/6078944045066267379-8674375728486678786?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8674375728486678786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8674375728486678786'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/aspnet-40-features.html' title='ASP.NET 4.0 Features'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-719907376296654385</id><published>2011-09-02T07:08:00.000-07:00</published><updated>2011-09-02T07:09:20.036-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP Future'/><title type='text'>Future of PHP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;PHP is already popular, used in millions of domains (according to Netcraft), supported   by most ISPs and used by household-name Web companies like Yahoo! The upcoming versions   of PHP aim  to add to this success by introducing new features that make PHP more usable   in some cases and more secure  in others. Are you ready for PHP V6? If you were   upgrading tomorrow, would your scripts execute just fine or would you have work to do?   This article focuses on the changes  for PHP V6 — some of them back-ported to   versions PHP V5.x — that could require some tweaks to your current scripts. &lt;br /&gt;If you're not using PHP yet and have been thinking about it, take a look at its latest   features. These features, from Unicode  to core support for XML, make it even easier    for you to  write feature-filled PHP applications.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N10060"&gt;&lt;span class="atitle"&gt;New PHP V6 features&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;PHP V6 is currently available as a developer snapshot, so you can download and try out   many of the features and  changes listed in this article. For  features that   have been implemented in the  current snapshot, see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;. &lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N1006E"&gt;&lt;span class="smalltitle"&gt;Improved Unicode support&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Much improved for PHP V6 is support for Unicode strings in many of the core functions.   This new feature has  a big impact because it will allow PHP to support a broader set of   characters for international support. So, if you're a developer or architect using a   different language, such  as the Java™ programming language, because it has   better internationalization (i18n)  support than PHP, it'll be time to take another look at PHP when the support improves. &lt;br /&gt;Because you can download and use a developer's version of PHP V6 today, you will see   some functions already supporting Unicode  strings. For a list of functions that have   been tested and verified  to handle Unicode, see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;. &lt;br /&gt;&lt;div class="ibm-container ibm-alt-header dw-container-sidebar"&gt;&lt;h2&gt;What is Unicode?&lt;/h2&gt;&lt;div class="ibm-container-body"&gt;Unicode is an industry-standard set of characters, character encoding, and encoding methodologies primarily aimed at enabling  i18n and localization (i10n). The Unicode Transformation Format (UTF)  specifies a way to encode characters for Unicode. For more information about Unicode and UTF, see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N1008E"&gt;&lt;span class="smalltitle"&gt;Namespaces&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Namespaces&lt;/i&gt; are a way of avoiding name collisions between functions and classes   without using prefixes in naming  conventions that make the names of your methods and   classes unreadable.  So by using namespaces, you can have class names that someone else   might use,  but now you don't have to worry about running into any problems. Listing 1   provides an example of a namespace  in PHP. &lt;br /&gt;You won't have to update or change anything in your code because any PHP code you write   that doesn't include namespaces will run just fine. Because the namespaces feature   appears to be back-ported to V5.3 of PHP, when it becomes available, you can start to   introduce namespaces into  your own PHP applications. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list1"&gt;&lt;b&gt;Listing 1. Example of a namespace&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N100A8"&gt;&lt;span class="atitle"&gt;Web 2.0 features&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Depending on how you use PHP and what your scripts look like now, the language and   syntax differences  in PHP V6 may or may not affect you as much as the next features,   which are those that directly  allow you to introduce Web 2.0 features into your PHP application. &lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N100B2"&gt;&lt;span class="smalltitle"&gt;SOAP&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;SOAP is one of the protocols that Web services "speak" and is supported in quite a few   other languages, such as the  Java programming  language and Microsoft® .NET. Although there   are other ways to consume and expose Web  services, such as Representational State   Transfer (REST), SOAP  remains a common way of allowing different platforms to have   interoperability. In addition  to SOAP modules in the PHP Extension and Application   Repository (PEAR)  library, a SOAP extension to PHP was introduced in V5. This extension   wasn't enabled by default, so  you have to enable the extension or hope your ISP did. In   addition, PEAR packages  are available that allow you to build SOAP clients and servers, such as the SOAP package. &lt;br /&gt;Unless you change the default, the SOAP extension will be enabled for you in V6. These   extensions provide an  easy way to implement SOAP clients and SOAP servers, allowing you   to build PHP applications that consume and provide Web services. &lt;br /&gt;If SOAP extensions are on by default, that means you won't have to configure them in   PHP. If you develop PHP  applications and publish them to an ISP, you may need to check   with your ISP to verify that  SOAP extensions will be enabled for you when they upgrade. &lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N100C4"&gt;&lt;span class="smalltitle"&gt;XML&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;As of PHP V5.1, XMLReader and XMLWriter have been part of the core of PHP, which makes   it easier for  you to work with XML in your PHP applications. Like the SOAP extensions,   this can be good news if you  use SOAP or XML because PHP V6 will be a better fit for   you than V4 out of the box. &lt;br /&gt;The XMLWriter and XMLReader are stream-based object-oriented classes that allow you to   read and write  XML without having to worry about the XML details. &lt;br /&gt;&lt;div class="ibm-ind-link ibm-back-to-top"&gt;&lt;a class="ibm-anchor-up-link" href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#ibm-pcon"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N100D0"&gt;&lt;span class="atitle"&gt;Things removed&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;In addition to having new features, PHP V6 will not have some other functions and   features that have been in previous  versions. Most of these things, such as &lt;code&gt;register_globals&lt;/code&gt; and  &lt;code&gt;safe_mode&lt;/code&gt;, are   widely considered "broken" in current PHP, as they may expose security risks. In an   effort to clean up PHP,  the functions and features listed in the next section will be   removed, or deprecated,  from PHP. Opponents of this removal will most likely cite   issues with existing scripts breaking  after ISPs or enterprises upgrade to PHP V6, but   proponents of this cleanup  effort will be happy that the PHP team is sewing up some   holes and providing a cleaner,  safer implementation. &lt;br /&gt;Features that will be removed from the PHP version include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;                     &lt;code&gt;magic_quotes&lt;/code&gt;                 &lt;/li&gt;&lt;li&gt;                     &lt;code&gt;register_globals&lt;/code&gt;                 &lt;/li&gt;&lt;li&gt;                     &lt;code&gt;register_long_arrays&lt;/code&gt;                 &lt;/li&gt;&lt;li&gt;                     &lt;code&gt;safe_mode&lt;/code&gt;                 &lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N10104"&gt;&lt;span class="smalltitle"&gt;                 &lt;b&gt;&lt;code&gt;magic_quotes&lt;/code&gt;&lt;/b&gt;             &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Citing portability, performance, and inconvenience, the PHP documentation discourages   the use of  &lt;code&gt;magic_quotes&lt;/code&gt;. It's so discouraged that it's being   removed from PHP V6 altogether, so before upgrading to PHP V6, make sure that all your   code avoids using  &lt;code&gt;magic_quotes&lt;/code&gt;. If you're using   &lt;code&gt;magic_quotes&lt;/code&gt;  to escape strings for database calls, use your   database  implementation's parameterized queries, if they're supported. If not, use your   database implementation's  escape function, such as &lt;code&gt;mysql_escape_string&lt;/code&gt; for MySQL or  &lt;code&gt;pg_escape_string&lt;/code&gt; for  PostgreSQL. Listing 2 shows an example of &lt;code&gt;magic_quotes&lt;/code&gt; use. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list2"&gt;&lt;b&gt;Listing 2. Using &lt;code&gt;magic_quotes&lt;/code&gt; (discouraged)&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;After preparing your PHP code for the new versions of PHP, your code should look like that in Listing 3.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list3"&gt;&lt;b&gt;Listing 3. Using parameterized queries (recommended)&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;prepare("INSERT INTO USERS (USERNAME) VALUES ?");&lt;br /&gt;$statement-&amp;gt;execute(array($_GET['username']));&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now that support for &lt;code&gt;magic_quotes&lt;/code&gt; will be completely   removed, the &lt;code&gt;get_magic_quotes_gpc()&lt;/code&gt;  function will no longer   be available. This may affect some  of the older PHP scripts, so before updating, make   sure you fix any locations in which  this functions exists. &lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N1014F"&gt;&lt;span class="smalltitle"&gt;                 &lt;b&gt;&lt;code&gt;register_globals&lt;/code&gt;&lt;/b&gt;             &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;The &lt;code&gt;register_globals&lt;/code&gt; configuration key was already defaulted   to off in PHP V4.2, which was controversial at the time. When &lt;code&gt;register_globals&lt;/code&gt; is turned on,  it was easy to use variables that   could be injected with values from HTML forms.  These variables don't really require   initialization in your scripts, so  it's easy to write scripts with gaping security   holes. The &lt;code&gt;register_globals&lt;/code&gt; documentation  (see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;) provides much more  information about &lt;code&gt;register_globals&lt;/code&gt;. See  Listing 4 for an example of using &lt;code&gt;register_globals&lt;/code&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list4"&gt;&lt;b&gt;Listing 4. Using &lt;code&gt;register_globals&lt;/code&gt; (discouraged)&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If your PHP code uses global variables, you should update it. If you don't update your   code to get prepared for newer versions  of PHP, consider updating it for security   reasons. When you're finished,  your code should look like Listing 5. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list5"&gt;&lt;b&gt;Listing 5. Being specific instead (recommended)&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N1018F"&gt;&lt;span class="smalltitle"&gt;register_long_arrays&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;The &lt;code&gt;register_long_arrays&lt;/code&gt; setting, when turned on, registers   the &lt;code&gt;$HTTP_*_VARS&lt;/code&gt;  predefined variables. If you're using the   longer variables, update now to  use the shorter variables. This setting was introduced   in PHP V5 — presumably for backward-compatibility — and the PHP folks   recommend turning it off for performance reasons. Listing 6 shows an example of &lt;code&gt;register_long-arrays&lt;/code&gt; use. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list6"&gt;&lt;b&gt;Listing 6. Using deprecated registered arrays (discouraged) &lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If your PHP code looks like that shown in Listing 6, update it to look like that in   Listing 7. Shut off the  &lt;code&gt;register_long_arrays&lt;/code&gt; setting if   it's on and  test your scripts again. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="list7"&gt;&lt;b&gt;Listing 7. Using &lt;code&gt;$_GET&lt;/code&gt; (recommended)&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="code-outline"&gt;&lt;pre class="displaycode"&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N101C7"&gt;&lt;span class="smalltitle"&gt;                 &lt;b&gt;&lt;code&gt;safe_mode&lt;/code&gt;&lt;/b&gt;             &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;The &lt;code&gt;safe_mode&lt;/code&gt; configuration key, when turned on, ensures   that the owner of a  file being operated on matches the owner of the script that is   executing. It was originally  a way to attempt to handle security when operating in a   shared server environment,  like many ISPs would have. (For a link to a list of the   functions affected by  this &lt;code&gt;safe_mode&lt;/code&gt; change, see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;.) Your PHP  code will be unaffected by this change, but   it's good to be  aware of it in case you're setting up PHP in the future or counting on   &lt;code&gt;safe_mode&lt;/code&gt; in your  scripts. &lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N101E4"&gt;&lt;span class="smalltitle"&gt;PHP tags&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;Microsoft Active Server Pages (ASP)-style tags — the shorter version of the PHP   tags — are no longer  supported. To make sure this is not an issue for your   scripts, verify that you aren't  using the &lt;code&gt;&amp;lt;%&lt;/code&gt; or &lt;code&gt;%&amp;gt;&lt;/code&gt; tags in your  PHP files. Replace them with &lt;code&gt; and  &lt;code&gt;?&amp;gt;&lt;/code&gt;. &lt;/code&gt;&lt;br /&gt;&lt;code&gt;             &lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N10202"&gt;&lt;span class="smalltitle"&gt;FreeType 1 and GD 1&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;The PHP team is removing support for both FreeType 1 and GD 1, citing the age and lack   of ongoing developments of  both libraries as the reason. Newer versions of both of   these libraries are available that provide better  functionality. For more information   about FreeType and  GD, see &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#resources"&gt;Resources&lt;/a&gt;. &lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N10210"&gt;&lt;span class="smalltitle"&gt;                 &lt;b&gt;&lt;code&gt;ereg&lt;/code&gt;&lt;/b&gt;             &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;The &lt;code&gt;ereg&lt;/code&gt; extension, which supports Portable Operating System   Interface (POSIX) regular expressions, is being removed from core PHP support. If you   are using any of the POSIX  regex functions, this change will affect you unless you   include the &lt;code&gt;ereg&lt;/code&gt; functionality. If you're using POSIX regex   today, consider taking the  time to update your regex functions to use the   Perl-Compatible Regular Expression  (PCRE) functions because they give you more features   and perform better. Table  1 provides a list of the POSIX regex functions that will not be available after   &lt;code&gt;ereg&lt;/code&gt; is removed. Their PCRE replacements are also shown. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="table1"&gt;&lt;b&gt;Table 1. &lt;code&gt;ereg()&lt;/code&gt; functions and their PCRE equivalents&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="ibm-data-table" summary="Listing of functions that will not be available without ereg" width=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th scope="col"&gt;ereg() function&lt;/th&gt;&lt;th scope="col"&gt;Similar preg() function&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;ereg()&lt;/code&gt;, &lt;code&gt;eregi()&lt;/code&gt;                     &lt;/td&gt;&lt;td&gt;&lt;code&gt;preg_match()&lt;/code&gt;                     &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;ereg_replace()&lt;/code&gt;, &lt;code&gt;ereg_replacei()&lt;/code&gt;                     &lt;/td&gt;&lt;td&gt;&lt;code&gt;preg_replace()&lt;/code&gt;                     &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="ibm-ind-link ibm-back-to-top"&gt;&lt;code&gt;&lt;a class="ibm-anchor-up-link" href="http://www.ibm.com/developerworks/opensource/library/os-php-future/#ibm-pcon"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6078944045066267379&amp;amp;postID=719907376296654385" name="N10272"&gt;&lt;span class="atitle"&gt;PHP V5.3&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;Some of the features mentioned here have also been ported to PHP V5.3, which   is scheduled to be  released during the first quarter of 2008. You may want to upgrade   to V5.3 and start using these features now, so that when you move to V6 of PHP, it'll be   less of a jump. The following  list of features have been   back-ported to V5.3: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Namespaces&lt;/li&gt;&lt;li&gt;XMLReader and XMLWriter in core by default&lt;/li&gt;&lt;/ul&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-719907376296654385?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/719907376296654385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/719907376296654385'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/php-is-already-popular-used-in-millions.html' title='Future of PHP'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3648203149116726469</id><published>2011-09-02T07:04:00.000-07:00</published><updated>2011-09-02T07:04:15.899-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Content Management System'/><title type='text'>Top 12 Free Content Management Systems (CMS)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="bigger"&gt;Building websites by hand with all html/css pages was  fine a couple years ago, but these days there are a ton of awesome  Content Management System options out there that make our jobs as  developers and website publishers SO much easier!&lt;/div&gt;&lt;h3&gt;So, What Exactly Is A Content Management System?&lt;/h3&gt;According to &lt;a href="http://en.wikipedia.org/wiki/Content_management_system" title="Content Management System"&gt;Wikipedia&lt;/a&gt;, they describe a CMS as follows:&lt;br /&gt;&lt;blockquote&gt;A web content management system (WCMS or Web CMS) is a  content management system (CMS) software, usually implemented as a Web  application, for creating and managing HTML content. It is used to  manage and control a large, dynamic collection of Web material (HTML  documents and their associated images). A CMS facilitates content  creation, content control, editing, and many essential Web maintenance  functions.&lt;/blockquote&gt;So take a moment and look over the list below of the 12 best free cms  options available. Some might seem really familiar (we love &lt;a href="http://www.wordpress.org/"&gt;wordpress&lt;/a&gt;)  and some others might be new to you. They all deserve your attention  for a few minutes. Hell, even test drive a few of them and see if  there’s any that might work for a new project – I’m currently digging  into &lt;a href="http://www.silverstripe.org/"&gt;SilverStripe&lt;/a&gt; which looks to be pretty damn awesome!&lt;br /&gt;And don’t forget to let us know in the comments section which is your favorite CMS and why!&lt;br /&gt;&lt;h4&gt;WordPress ↓&lt;/h4&gt;&lt;a href="http://wordpress.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/wordpress.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wordpress.org/"&gt;WordPress&lt;/a&gt; is a state-of-the-art  publishing platform with a focus on aesthetics, web standards, and  usability. WordPress is both free and priceless at the same time.  WordPress is also what &lt;a href="http://www.spyrestudios.com/"&gt;SpyreStudios&lt;/a&gt; and &lt;a href="http://design-newz.com/"&gt;Design Newz&lt;/a&gt; run on (as well as my &lt;a href="http://blogthememachine.com/"&gt;blog design&lt;/a&gt; website and my &lt;a href="http://www.guerrillafreelancing.com/"&gt;Guerrilla Freelancing&lt;/a&gt; blog).&lt;br /&gt;&lt;h4&gt;Joomla ↓&lt;/h4&gt;&lt;a href="http://www.joomla.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/joomla.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.joomla.org/"&gt;Joomla&lt;/a&gt; is an award-winning  content management system (CMS), which enables you to build Web sites  and powerful online applications. Many aspects, including its  ease-of-use and extensibility, have made Joomla the most popular Web  site software available. Best of all, Joomla is an open source solution  that is freely available to everyone.&lt;br /&gt;&lt;h4&gt;Drupal ↓&lt;/h4&gt;&lt;a href="http://drupal.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/drupal.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://drupal.org/"&gt;Drupal&lt;/a&gt; is a free software package  that allows an individual or a community of users to easily publish,  manage and organize a wide variety of content on a website. Tens of  thousands of people and organizations are using Drupal to power scores  of different web sites&lt;br /&gt;&lt;h4&gt;SilverStripe ↓&lt;/h4&gt;&lt;a href="http://www.silverstripe.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/silverstripe.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;The &lt;a href="http://www.silverstripe.org/"&gt;SilverStripe CMS&lt;/a&gt; is a  flexible open source Content Management System that gives everyone  involved in a web project the tools they need to do their jobs.&lt;br /&gt;&lt;h4&gt;Cushy CMS ↓&lt;/h4&gt;&lt;a href="http://www.cushycms.com/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/cushycms.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cushycms.com/"&gt;CushyCMS&lt;/a&gt; is a Content  Management Systems (CMS) that is truly simple. It’s free for unlimited  users, unlimited changes, unlimited pages and unlimited sites.&lt;br /&gt;&lt;h4&gt;Frog CMS ↓&lt;/h4&gt;&lt;a href="http://www.madebyfrog.com/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/frogcms.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.madebyfrog.com/"&gt;Frog CMS&lt;/a&gt; simplifies content  management by offering an elegant user interface, flexible templating  per page, simple user management and permissions, as well as the tools  necessary for file management. Born as phpRadiant in January 2007, Frog  CMS is a PHP version of Radiant CMS, a well known Ruby on Rails  application. Although the two applications still share a family  resemblance, Frog is charting its own development path.&lt;br /&gt;&lt;h4&gt;MODx ↓&lt;/h4&gt;&lt;a href="http://modxcms.com/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/modx.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://modxcms.com/"&gt;MODx&lt;/a&gt; helps you take control of your  online content. An Open Source PHP application framework, it frees you  to build sites exactly how you want and make them 100% yours. Zero  restrictions and fast to build. Super-simple templates in regular  HTML/CSS/JS (any lib you want). Registered user systems and a killer  community. Welcome to web-building nirvana.&lt;br /&gt;&lt;h4&gt;TYPOlight ↓&lt;/h4&gt;&lt;a href="http://www.typolight.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/typolight.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.typolight.org/"&gt;TYPOlight CMS&lt;/a&gt; is a web CMS  that Uses Ajax and Web 2.0 technologies, has a live update feature for  those of us who have multiple blogs, gives multi-language support and  hosts a ton of other great features&lt;br /&gt;&lt;h4&gt;dotCMS ↓&lt;/h4&gt;&lt;a href="http://www.dotcms.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/dotcms.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;The fully functional GPL version of &lt;a href="http://www.dotcms.org/"&gt;dotCMS&lt;/a&gt; continues to forge ahead – providing bleed–edge features and the latest code to a thriving community of developers and users.&lt;br /&gt;&lt;h4&gt;Expression Engine ↓&lt;/h4&gt;&lt;a href="http://expressionengine.com/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/expressionengine.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://expressionengine.com/"&gt;ExpressionEngine&lt;/a&gt; is a  flexible, feature-rich content management system that empowers thousands  of individuals, organizations, and companies around the world to easily  manage their website. If you’re tired of the limitations of your  current CMS then take ExpressionEngine for a spin…&lt;br /&gt;&lt;h4&gt;Radiant CMS ↓&lt;/h4&gt;&lt;a href="http://radiantcms.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/radiant.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://radiantcms.org/"&gt;Radiant&lt;/a&gt; is a no-fluff, open  source content management system designed for small teams that was built  on Ruby on Rails. It gives an endless list of awesome features and is  definitely worth checking out.&lt;br /&gt;&lt;h4&gt;concrete5 ↓&lt;/h4&gt;&lt;a href="http://www.concrete5.org/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/concrete5.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;A CMS made for Marketing, but strong enough for Geeks! &lt;a href="http://www.concrete5.org/"&gt;Concrete5&lt;/a&gt; is an open source  content management system. It’s revolutionary – and it’s free.&lt;br /&gt;&lt;h4&gt;Learn to build your own CMS with PHP ↓&lt;/h4&gt;&lt;a href="http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/"&gt;&lt;img alt="" class="wideimg" src="http://spyrestudios.com/wp-content/uploads/2009/06/css-tricks.jpg" /&gt;&lt;/a&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/6078944045066267379-3648203149116726469?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3648203149116726469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3648203149116726469'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/top-12-free-content-management-systems.html' title='Top 12 Free Content Management Systems (CMS)'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8803329220394074883</id><published>2011-09-02T07:01:00.001-07:00</published><updated>2011-09-02T07:01:33.977-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Content Management System'/><title type='text'>CMS : Content Management Systems</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;I have created this article, to  introduce top three CMS tools for creating websites, blogs, forums and  online stores. Following is the list of the CMS tools:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;1. For Creating Websites:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;There are lots of CMS tools for creating  a new website, but few of them are really useful and worth using. It  also helps you to save your time in developing your site, and you can  update your pages easily.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.wordpress.org/" rel="nofollow"&gt;WordPress&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.joomla.org/" rel="nofollow" title="Joomla"&gt;Joomla&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://drupal.org/" rel="nofollow" title="Drupal"&gt;Drupal&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.xoops.org/" rel="nofollow"&gt;Xoops&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;2. For Creating Blog:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;If you are willing to have your own blog then &lt;a href="http://www.nichewp.com/wordpress-3-1-is-now-available-for-download.html" title="WordPress 3.1 is now available for download"&gt;wordpress&lt;/a&gt;  is the best choice for you, as its already search engine optimized and  you can use lot of plugin to enhance your blogging experience.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;3. For Creating Forums:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Create forums is now easier with the CMS  that currently exist. The following are various CMS themes and addons  available and are the best there is to create forums:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.simplemachines.org/" rel="nofollow" title="SMF"&gt;Simple Machines&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.phpbb.com/" rel="nofollow" title="PhpBB Forum"&gt;phpBB&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;4. For Creating Online Stores:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;You can also create online stores using the CMS tools. The best CMS that exist to create online stores are:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.magentocommerce.com/" rel="nofollow"&gt;Magento&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.prestashop.com/" rel="nofollow"&gt;Prestashop&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.oscommerce.com/" rel="nofollow"&gt;OsCommerce&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;If you know any more CMS tool then dont  forgot to share with us. We will love to hear your comments regarding  Content Management Systems.&lt;/span&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/6078944045066267379-8803329220394074883?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8803329220394074883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8803329220394074883'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/cms-content-management-systems.html' title='CMS : Content Management Systems'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8176292544735880486</id><published>2011-09-02T06:59:00.000-07:00</published><updated>2011-09-02T06:59:01.677-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><title type='text'>Joomla 1.6 Installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;How to Manually Install Joomla 1.6&lt;/span&gt;&lt;/h2&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In order to complete the manual Joomla 1.6 installation, follow the steps listed below:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 1. Create a MySQL database from &lt;a href="http://www.siteground.com/tutorials/php-mysql/mysql_database_user.htm" target="_blank" title="MySQL tutorial"&gt;&lt;b&gt;cPanel-&amp;gt;MySQL Databases&lt;/b&gt;&lt;/a&gt;  and add a user to it. If you are not using cPanel, you can check the  MySQL manual for more details on the database and user setup.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 2. Download the archive file with the latest stable version of Joomla 1.6 from the &lt;a href="http://joomlacode.org/gf/project/joomla/frs/" rel="nofollow" target="_blank" title="Joomla download"&gt;official web site&lt;/a&gt;. Store it in a folder on your local computer and extract the archive.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt;  Step 3. Upload all the content from this local folder to the directory  on the server where Joomla 1.6 will be stored. The easiest way to upload  the files and the folders is through an FTP client. Detailed  instructions about this are available in our &lt;a href="http://www.siteground.com/tutorials/ftp/" target="_blank" title="FTP tutorial"&gt;FTP tutorial&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt;  Step 4. Open the URL of the newly-uploaded Joomla script. If the  content is uploaded in the main web directory, use  http://yourdomainname.com. In case you have uploaded it in a  subdirectory, open http://yourdomainname.com/example. Replace the domain  and the directory names with the corresponding ones for your web site.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 5. The Joomla installation page will be loaded:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/1.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;There  you can select the language for the installation. It will be valid only  during the installation. Once completed Joomla will be switched back to  English.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In order to follow easier the next steps of the tutorial it is recommended that you choose "English".&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt;  Step 6. On the next page Joomla will check whether the system  requirements are met on the server. If one or more are not met, a  corresponding message will be shown.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;SiteGround servers are fully compatible with Joomla 1.6:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Joomla Pre-Installation Check" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/2.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 7. After you make sure that all system requirements are met, proceed by clicking on the &lt;b&gt;Next&lt;/b&gt; button from the top right menu. On the next page you should read and accept Joomla's license.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Joomla Public License" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/3.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Again, click&amp;nbsp; &lt;b&gt;Next&lt;/b&gt; to continue.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 8. Here you have to enter the MySQL details for the new Joomla 1.6 installation. Use the ones set in Step 1.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In the following screenshot&amp;nbsp; you can find example entries and explanations for these fields:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Database Configuration" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/4.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt; Step 9. Next, you can set your &lt;a href="http://www.siteground.com/tutorials/ftp/" target="_blank" title="FTP"&gt;File Transfer Protocol (FTP)&lt;/a&gt; configuration. Keep the default settings and click &lt;b&gt;Next&lt;/b&gt; to proceed.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="FTP Configuration" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/5.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt;  Step 10. On the current page the main Joomla 1.6 configuration should  be defined. Specify your site name, meta description and keywords, admin  user, email and password.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Main Configuration" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/6.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Click on &lt;b&gt;Next&lt;/b&gt; to proceed.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Important: In this example we will not use the &lt;b&gt;Install Sample Data&lt;/b&gt; feature because it may cause confusion and require time to remove all the data populated later.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="" height="9" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla15/arrow_b.gif" style="margin-left: 30px;" width="9" /&gt;  Step 11. In the last page of the installation wizard you will receive a  confirmation that Joomla 1.6 has been successfully installed.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Installation Finish" height="300" src="http://siteground.com/knox/tutorials/uploaded_images/images/joomla16/7.jpg" width="560" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In order to access your new Joomla 1.6 web site you must delete the &lt;b&gt;installation&lt;/b&gt; directory. This can be done with your FTP client.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Well done! Your Joomla website is now installed.&lt;/span&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/6078944045066267379-8176292544735880486?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8176292544735880486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8176292544735880486'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/joomla-16-installation.html' title='Joomla 1.6 Installation'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-685437203473333805</id><published>2011-09-02T06:56:00.000-07:00</published><updated>2011-09-02T06:56:40.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><title type='text'>Joomla Tutorial</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="t_c" style="width: 685px;"&gt;&lt;h2 style="font-size: 14px; line-height: 27px; padding: 0pt 15px; text-align: left; text-shadow: 1px 1px #ffffff;"&gt;What is Joomla!™ CMS&lt;/h2&gt;&lt;/div&gt;&lt;div class="clr"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="m_l"&gt;&lt;div class="m_r" style="width: 691px;"&gt;&lt;div class="m_c" style="padding: 10px 20px 20px; width: 651px;"&gt;&lt;a href="http://joomla.org/" target="_blank"&gt;Joomla! CMS&lt;/a&gt; is a multi functional Open Source application for creating websites. It is free to use and has a great community support.&lt;br /&gt;This &lt;strong&gt;Joomla tutorial&lt;/strong&gt;  is dedicated to showing you the basics of the Joomla 1.5 and the older  Joomla 1.0 CMS. After reading it, you will be able to create a  fully-functional website with Joomla in just a few minutes. If you don't  have a Joomla website yet, you can sign up here for a &lt;a href="http://www.siteground.com/joomla-hosting.htm"&gt;Joomla hosting&lt;/a&gt;  account and get a free Joomla installation. If you need to change your  Joomla hosting provider, we offer free website files and database  transfer. On this page you will find listed all topics from our &lt;a href="http://www.siteground.com/tutorials/joomla/#joomla10"&gt;Joomla 1.0 Tutorial&lt;/a&gt;, our &lt;a href="http://www.siteground.com/tutorials/joomla/#joomla15"&gt;Joomla 1.5 Tutorial&lt;/a&gt; and our &lt;a href="http://www.siteground.com/tutorials/joomla/#joomla16"&gt;Joomla 1.6 Tutorial&lt;/a&gt;.&lt;br /&gt;&lt;h2&gt;Joomla! main benefits:&lt;/h2&gt;&lt;ul style="margin: 0pt;"&gt;&lt;li style="line-height: 13px; list-style: none outside none; margin: 0pt 0pt 10px;"&gt;&lt;strong&gt;Multiuser and Multilevel environment&lt;/strong&gt;  - many users can interact and contribute to the development of a  Joomla-based site. Users can be assigned to different groups with  different privileges;&lt;/li&gt;&lt;li style="line-height: 13px; list-style: none outside none; margin: 0pt 0pt 10px;"&gt;&lt;strong&gt;WYSIWYG editor&lt;/strong&gt; - the intuitive What You See Is What You Get editor allows for easy editing of the content online;&lt;/li&gt;&lt;li style="line-height: 13px; list-style: none outside none; margin: 0pt 0pt 10px;"&gt;&lt;strong&gt;Additional components / modules&lt;/strong&gt;  - the Joomla system can be easily enhanced with additional  functionalities from integrating a forum to installing an E-commerce  solution;&lt;/li&gt;&lt;li style="line-height: 13px; list-style: none outside none; margin: 0pt 0pt 10px;"&gt;&lt;strong&gt;Templates&lt;/strong&gt; - there are numerous free designs including &lt;a href="http://www.siteground.com/joomla-templates.htm" target="_blank"&gt;Joomla 1.6 templates&lt;/a&gt; on the net and Siteground is proud to offer some of the best ones!&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="t_l"&gt;&amp;nbsp;&lt;h2 style="font-size: 14px; line-height: 27px; padding: 0pt 15px; text-align: left; text-shadow: 1px 1px #ffffff;"&gt;&lt;a href="" name="joomla16" style="color: #fda30a; text-decoration: none;"&gt;Joomla 1.6 Tutorial&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&lt;div class="wd_box" style="width: 695px;"&gt;&lt;div class="t_r"&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="height: 10px;"&gt;&amp;nbsp; &lt;/div&gt;&lt;div class="m_l"&gt;&lt;div class="m_r" style="width: 691px;"&gt;&lt;div class="m_c" style="padding: 10px 20px 20px; width: 651px;"&gt;&lt;div style="text-align: left;"&gt;This &lt;strong&gt;Joomla!™ 1.6 tutorial&lt;/strong&gt; is divided into several parts and we recommend you following it in the order below:&lt;/div&gt;&lt;div style="height: 20px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;ul style="margin: 0;"&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/installation.htm"&gt;Joomla 1.6 Installation&lt;/a&gt;&amp;nbsp;- how to install manually Joomla 1.6 from its source files&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/first_steps.htm"&gt;First steps in Joomla 1.6&lt;/a&gt;&amp;nbsp;- logging in the admin area and creating content&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/joomla_linking.htm"&gt;Linking articles in Joomla 1.6&lt;/a&gt;&amp;nbsp;- how to manage your menu and link articles to it&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/joomla_contactus_page.htm"&gt;Joomla 1.6 Contact Us Page&lt;/a&gt;&amp;nbsp;- create easily the page almost every site needs&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/extending_joomla.htm"&gt;Extending Joomla 1.6&lt;/a&gt;&amp;nbsp;- once you have set the base of your site it is time to extend&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/managing_extensions.htm"&gt;Managing Joomla 1.6 Extensions&lt;/a&gt;&amp;nbsp;- how to manage your extensions&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/redirect_manager.htm"&gt;Joomla 1.6 Redirect Manager&lt;/a&gt;&amp;nbsp;- a new feature in Joomla 1.6 which will help your SEO&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/joomla_configuration.htm"&gt;Joomla 1.6 Global Configuration&lt;/a&gt;&amp;nbsp;- the basic configuration options of Joomla 1.6&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.siteground.com/tutorials/joomla16/finding_help.htm"&gt;Finding Help for Joomla 1.6&lt;/a&gt;&amp;nbsp;- how to find help outside this tutorial&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="t_l"&gt;&amp;nbsp;&lt;h2 style="font-size: 14px; line-height: 27px; padding: 0pt 15px; text-align: left; text-shadow: 1px 1px #ffffff;"&gt;&lt;a href="" name="joomla15" style="color: #fda30a; text-decoration: none;"&gt;Joomla 1.5 Tutorial&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="wd_box" style="width: 695px;"&gt;&lt;div class="t_r"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="clr"&gt;&amp;nbsp;This Joomla 1.5 tutorial covers the following topics:&lt;/div&gt;&lt;div class="m_l"&gt;&lt;div class="m_r" style="width: 691px;"&gt;&lt;div class="m_c" style="padding: 10px 20px 20px; width: 651px;"&gt;&lt;ul style="margin: 10px 0pt 0pt;"&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_fantastico_installation.htm"&gt;How to install Joomla via Fantastico&lt;/a&gt; or &lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_installation.htm"&gt;manually&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_layout.htm"&gt;How to customize the layout of your Joomla website&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_create_website.htm"&gt;How to create your website with Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_create_website.htm#articles"&gt;How to create articles in Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_contact_us.htm"&gt;How to create a Contact us page in Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_links.htm"&gt;How to link articles to the Joomla Menu&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_poll.htm"&gt;How to create a Poll in Joomla 1.5&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_seo.htm"&gt;How to create search engine friendly URLs&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_counter.htm"&gt;How to add a counter in Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_extensions.htm"&gt;How to install extensions to your Joomla website&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_templates.htm"&gt;How to change Joomla templates&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_create_template.htm"&gt;How to create a simple Joomla 1.5 template&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_dropdown_menu.htm"&gt;How to add a drop-down menu to Joomla 1.5&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_security.htm"&gt;How to secure your Joomla website&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/websiteperformance/joomla15.htm"&gt;How to optimize your Joomla website&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_backup.htm"&gt;How to create a backup of Joomla 1.5&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla15_upgrade.htm"&gt;How to upgrade Joomla 1.5 to the latest stable version&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/joomla_upgrade.htm"&gt;How to upgrade from Joomla 1.0 to Joomla 1.5&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/common_issues.htm"&gt;How to fix the most common Joomla 1.5 issues&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla15/static_to_joomla.htm"&gt;How to convert a static website to Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/joomla_extensions.htm"&gt;Popular Joomla Extensions&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="t_l"&gt;&amp;nbsp;&lt;h2 style="font-size: 14px; line-height: 27px; padding: 0pt 15px; text-align: left; text-shadow: 1px 1px #ffffff;"&gt;&lt;a href="" name="joomla10" style="color: #fda30a; text-decoration: none;"&gt;Joomla!™ 1.0 Tutorial&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="wd_box" style="width: 695px;"&gt;&lt;div class="t_r"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="clr"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="m_l"&gt;&lt;div class="m_r" style="width: 691px;"&gt;&lt;div class="m_c" style="padding: 10px 20px 20px; width: 651px;"&gt;This Joomla 1.0 tutorial covers the following topics:&lt;br /&gt;&lt;ul style="margin: 10px 0pt 0pt;"&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_installation.htm"&gt;How to install Joomla on your hosting account&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_templates.htm"&gt;How to change/install Joomla templates&lt;/a&gt; and links to &lt;a href="http://www.siteground.com/joomla-templates.htm"&gt;FREE Joomla templates;&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_language.htm"&gt;How to add new languages to Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_administration.htm"&gt;How to administer your Joomla system&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_content_management.htm"&gt;How to manage your Joomla content&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_banners.htm"&gt;How to manage banner ads&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_virtuemart.htm"&gt;How to add VirtueMart shopping cart to Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_smf.htm"&gt;How to have Joomla and SMF forum&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_calendar.htm"&gt;How to add a Calendar module to Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_adsense.htm"&gt;How to use Google AdSense with Joomla&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/websiteperformance/joomla10.htm"&gt;How to optimize your Joomla website&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_backup.htm"&gt;How to backup your Joomla site&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://www.siteground.com/tutorials/joomla10/joomla_upgrade.htm"&gt;How to upgrade your Joomla system&lt;/a&gt;&lt;/li&gt;&lt;li style="list-style: none outside none;"&gt;&lt;a href="http://kb.siteground.com/category/Joomla.html"&gt;Joomla FAQ - more information about managing your Joomla&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="t_l"&gt;&amp;nbsp;&lt;h2 style="font-size: 14px; line-height: 27px; padding: 0pt 15px; text-align: left; text-shadow: 1px 1px #ffffff;"&gt;How do I start?&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="clr"&gt;&amp;nbsp;&lt;div class="m_r" style="width: 691px;"&gt;&lt;div class="m_c" style="padding: 10px 20px 20px; width: 651px;"&gt;To  start a Joomla website, you will need to open a hosting account first  and have Joomla installed there. SiteGround has been supporting and &lt;a href="http://www.siteground.com/joomla-hosting.htm"&gt;hosting Joomla&lt;/a&gt; sites from the very beginning of &lt;a href="http://joomla.org/" rel="nofollow" target="_blank"&gt;Joomla!&lt;/a&gt;  back in 2005. Through the years we have proven to be the best Joomla  host, providing services such as free Joomla installation,  Joomla-optimized servers, hundreds of free templates, fast and efficient  support. For users, who need to change their Joomla host, we offer free  website files and database transfer.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-685437203473333805?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/685437203473333805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/685437203473333805'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/joomla-tutorial.html' title='Joomla Tutorial'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-440859767986811413</id><published>2011-09-02T06:53:00.000-07:00</published><updated>2011-09-02T06:53:57.789-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Content Management System'/><title type='text'>10 Free powerful Content Management Systems</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt; Content Management Systems help web developers create, manage and  publish quickly blogs, portal or social collaboration websites. Probably  you know the most popular CMS tools such as WordPress, Movable Type,  Joomla!, Mambo but there are a lot of similar CMS tools for all needs.&lt;br /&gt;&lt;a href="" name="more"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This  list suggest you some interesting alternatives you have to try. Please  add a link if you want to suggest a CMS tool not included in this list.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Frog CMS&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Frog CMS&lt;/em&gt;  simplifies content management by offering an elegant user interface,  flexible templating per page, simple user management and permissions, as  well as the tools necessary for file management.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://lh5.ggpht.com/_TqPdHmAEwTM/SShuYc-b_jI/AAAAAAAACqM/d19_U4C6MSk/csm2.png" style="border: 1px solid rgb(222, 222, 222); padding: 6px;" /&gt;&lt;/div&gt;&lt;br /&gt;Frog requires PHP5, a MySQL database or SQLite 3 with PDO, and a web server (Apache with mod_rewrite is highly recommended).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_TqPdHmAEwTM/SSh1L8om6tI/AAAAAAAACqk/N0MWU5N5GFw/cms4.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;2. SilverStripe&lt;/strong&gt;&lt;br /&gt;SilverStripe  open source content management system and framework intuitive and  user-friendly, fast, flexible, and free, to build powerful websites  quickly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_TqPdHmAEwTM/SShxBQt37oI/AAAAAAAACqc/PwHGPVLWhD8/cms3.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;3. Liferay&lt;/strong&gt;&lt;br /&gt;Liferay  is a leading provider  of open source enterprise portal and social  collaboration software. Liferay Portal is all about choice. It gives you  over 60 portlets and the most innovative technologies to let you do  everything from web publishing, to building an intranet, to simply  getting the right documents and applications to the right people.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_TqPdHmAEwTM/SSh2ULF6x1I/AAAAAAAACqs/1_Ajrmn611k/s144/csm6.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;4. miaCMS&lt;/strong&gt;&lt;br /&gt;MiaCMS  is a powerful, flexible, and easy to use open source content management  system. It can be used to build websites of all shapes, sizes, and  scenarios. MiaCMS features simple installation, graphical (WYSIWYG) HTML  editors, RSS content syndication, a powerful 3rd party extension  system, flexible theming capabilities, site search, RESTful content  access, user management, multilingual capabilities, plus much more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img _tqpdhmaewtm="" src="http://lh5.ggpht.com/_TqPdHmAEwTM/SSh5BTt3uTI/AAAAAAAACq8/tI0xaifrYDc/s144/cms8.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;5. MoinMoin&lt;/strong&gt;&lt;br /&gt;MoinMoin  is an advanced, easy to use and extensible WikiEngine with a large  community of users. Said in a few words, it is about collaboration on  easily editable web pages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. ImpressCMS&lt;/strong&gt;&lt;br /&gt;ImpressCMS  is a community developed Content Management System for easily building  and maintaining a dynamic web site. Keep your web site up to date with  this easy to use, secure and flexible system. It is the ideal tool for a  wide range of users: from business to community users, from large  enterprises to people who want a simple, easy to use blogging tool.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. MODx &lt;/strong&gt;&lt;br /&gt;MODx  is 100% buzzword compliant, and makes child's play of building content  managed sites with validating, accessible CSS layouts – hence Ajax CMS.  It empowers its users to build engaging "Web 2.0" sites today, with its  pre-integrated MooTools, Scriptaculous and Prototype libraries.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. Textpattern&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Textpattern&lt;/em&gt; is a flexible, elegant and easy-to-use content management system PHP-based. It is both free and open source.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_TqPdHmAEwTM/SShu_hQGmyI/AAAAAAAACqU/3fXOYgZ9IOk/s144/cms1.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;9. Radiant&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Radiant&lt;/em&gt;  is a no-fluff, open source content management system designed for small  teams. Main features: elegant user interface, flexible templating with  layouts, snippets, page parts, and a custom tagging language,  first-class extension/plugin system, simple user management and  permissions. Platform: Ruby.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_TqPdHmAEwTM/SSh3jXG9HWI/AAAAAAAACq0/MNzd8WtIwIo/csm7.png" style="border: 1px solid rgb(222, 222, 222); float: right; margin-left: 14px; padding: 6px;" /&gt;&lt;strong&gt;10. CMS Made Simple&lt;/strong&gt;&lt;br /&gt;If  you are an experienced web developer, and know how to do the things you  need to do, to get a site up with CMS Made Simple is just that, simple.  For those with more advanced ambitions there are plenty of addons to  download. And there is an excellent community always at your service.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-440859767986811413?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/440859767986811413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/440859767986811413'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/09/10-free-powerful-content-management.html' title='10 Free powerful Content Management Systems'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_TqPdHmAEwTM/SShuYc-b_jI/AAAAAAAACqM/d19_U4C6MSk/s72-c/csm2.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3360738662009247601</id><published>2011-05-02T13:42:00.000-07:00</published><updated>2011-05-02T13:42:10.922-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Live streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='Watch Live Match'/><category scheme='http://www.blogger.com/atom/ns#' term='Live Cricket'/><category scheme='http://www.blogger.com/atom/ns#' term='IPL 2011'/><title type='text'>Watch IPL 2011 : Live Streaming</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://us.ipl.indiatimes.com/"&gt;http://us.ipl.indiatimes.com/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-3360738662009247601?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3360738662009247601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3360738662009247601'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2011/05/watch-ipl-2011-live-streaming.html' title='Watch IPL 2011 : Live Streaming'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7707240986675306265</id><published>2010-05-18T00:45:00.000-07:00</published><updated>2010-05-18T00:45:19.854-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>Table Variables In T-SQL</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span&gt;&lt;span class="Article_FullDescription"&gt;Microsoft introduced table variables with SQL Server 2000 as an alternative to using temporary tables. In many cases a table variable can outperform a solution using a temporary table, although we will need to review the strengths and weaknesses of each in this article.&lt;br /&gt;&lt;br /&gt;Table variables store a set of records, so naturally the declaration syntax looks very similar to a CREATE TABLE statement, as you can see in the following example:&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;br /&gt;&lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DECLARE @ProductTotals TABLE &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; ProductID int, &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; Revenue money&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt;  &lt;br /&gt;While connected to the Northwind data-base, we could write the following SELECT statement to populate the table variable.&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;br /&gt;&lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;INSERT INTO @ProductTotals (ProductID, Revenue)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; SELECT ProductID, SUM(UnitPrice * Quantity)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [Order Details]&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP BY ProductID&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt;  &lt;br /&gt;You can use table variables in batches, stored procedures, and user-defined functions (UDFs). We can UPDATE records in our table variable as well as DELETE records.&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;UPDATE @ProductTotals&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; SET Revenue = Revenue * 1.15&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;WHERE ProductID = 62&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DELETE FROM @ProductTotals&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;WHERE ProductID = 60&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;SELECT TOP 5 * &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;FROM @ProductTotals&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;ORDER BY Revenue DESC&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt; &lt;br /&gt;You might think table variables work just like temporary tables (CREATE TABLE #ProductTotals), but there are some differences. &lt;br /&gt;&lt;h3&gt;Scope&lt;/h3&gt;Unlike the majority of the other data types in SQL Server, you cannot use a table variable as an input or an output parameter. In fact, a table variable is scoped to the stored procedure, batch, or user-defined function just like any local variable you create with a DECLARE statement. The&amp;nbsp;variable will no longer exist after the procedure exits -&amp;nbsp;there will be no table to clean up with a DROP statement.&lt;br /&gt;&lt;br /&gt;Although you cannot use a table variable as an input or output parameter, you can return a table variable from a user-defined function – we will see an example later in this article. However, because you can’t pass a table variable to another stored procedure as input – there still are scenarios where you’ll be required to use a temporary table when using calling stored procedures from inside other stored procedures and sharing table results. &lt;br /&gt;The restricted scope of a table variable gives SQL Server some liberty&amp;nbsp;to perform optimizations. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Performance&lt;/h3&gt;Because of the well-defined scope, a table variable will generally use fewer resources than a temporary table. Transactions touching table variables only last for the duration of the update on the table variable, so there is less locking and logging overhead. &lt;br /&gt;Using a temporary table inside of a stored procedure may result in additional re-compilations of the stored procedure. Table variables can often avoid this recompilation hit. For more information on why stored procedures may recompile, look at Microsoft knowledge base article 243586 (&lt;a href="http://support.microsoft.com/kb/243586/EN-US/"&gt;INF: Troubleshooting Stored Procedure Recompilation&lt;/a&gt;). &lt;br /&gt;&lt;h3&gt;Other Features&lt;/h3&gt;Constraints are an excellent way to ensure the data in a table meets specific requirements, and you can use constraints with table variables. The following example ensures ProductID values in the table will be unique, and all prices are less then 10.0.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span&gt;&lt;span class="Article_FullDescription"&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DECLARE @MyTable TABLE&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; ProductID int UNIQUE, &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; Price money CHECK(Price &amp;lt; 10.0)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt; &lt;br /&gt;You can also declare primary keys. identity columns, and default values.&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DECLARE @MyTable TABLE&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; ProductID int IDENTITY(1,1) PRIMARY KEY,&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; Name varchar(10) NOT NULL DEFAULT('Unknown')&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt; &lt;br /&gt;So far it seems that table variables can do anything temporary tables can do within the scope of a stored procedure, batch, or UDF), but there are some drawbacks. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Restrictions&lt;/h3&gt;You cannot create a non-clustered index on a table variable, unless the index is a side effect of a PRIMARY KEY or UNIQUE constraint on the table (SQL Server enforces any UNIQUE or PRIMARY KEY constraints using an index). &lt;br /&gt;Also, SQL Server does not maintain statistics on a table variable, and statistics are used heavily by the query optimizer to determine the best method to execute a query. Neither of these restrictions should be a problem, however, as table variables generally exist for a specific purpose and aren’t used for a wide range of ad-hoc queries. &lt;br /&gt;The table definition of a table variable cannot change after the DECLARE statement. Any ALTER TABLE query attempting to alter a table variable will fail with a syntax error. Along the same lines, you cannot use a table variable with SELECT INTO or INSERT EXEC queries. f you are using a table variable in a join, you will need to alias the table in order to execute the query.&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;SELECT ProductName, Revenue&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;FROM Products P&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; INNER JOIN @ProductTotals PT ON P.ProductID = PT.ProductID&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt; &lt;br /&gt;You can use a table variable with dynamic SQL, but you must declare the table inside the dynamic SQL itself. The following query will fail with the error “Must declare the variable '@MyTable'.”&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DECLARE @MyTable TABLE &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; ProductID int &lt;/span&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; Name varchar(10)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;EXEC sp_executesql N'SELECT * FROM @MyTable' &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt; &lt;br /&gt;It’s also important to note how table variables do not participate in transaction rollbacks. Although this can be a performance benefit, it can also catch you off guard if you are not aware of the behavior. To demonstrate, the following query batch will return a count of 77 records even though the INSERT took place inside a transaction with ROLLBACK.&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt; &lt;div style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%; border: 1pt solid windowtext; color: black; font-size: 8pt; padding: 0pt;"&gt; &lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;DECLARE @ProductTotals TABLE&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; ProductID int &lt;/span&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;, &lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; Revenue money&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;BEGIN TRANSACTION&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp; INSERT INTO @ProductTotals (ProductID, Revenue)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT ProductID, SUM(UnitPrice * Quantity)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&amp;nbsp; [Order Details]&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP BY ProductID&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;ROLLBACK TRANSACTION&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-inline-policy: continuous; -moz-background-origin: padding; background: rgb(255, 255, 204) none repeat scroll 0% 0%;"&gt;SELECT COUNT(*) FROM @ProductTotals&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt;  &lt;br /&gt;&lt;h3&gt;Choosing Between Temporary Tables and Table Variables&lt;/h3&gt;Now you’ve come to a stored procedure that needs temporary resultset storage. Knowing what we have learned so far, how do you decide on using a table variable or a temporary table?&lt;br /&gt;&lt;br /&gt;First, we know there are situations that which demand the use of a temporary table. This in-cludes calling nested stored procedures which use the resultset, certain scenarios using dy-namic SQL, and cases where you need transaction rollback support.&lt;br /&gt;&lt;br /&gt;Secondly, the size of the resultset will determine which solution to choose. If the table stores a resultset so large you require indexes to improve query performance, you’ll need to stick to a temporary table. In some borderline cases try some performance benchmark testing to see which approach offers the best performance. If the resultset is small, the table variable is always the optimum choice. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-7707240986675306265?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7707240986675306265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7707240986675306265'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/table-variables-in-t-sql.html' title='Table Variables In T-SQL'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-4933733413041376480</id><published>2010-05-07T06:23:00.000-07:00</published><updated>2010-05-07T06:23:17.924-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cricket'/><category scheme='http://www.blogger.com/atom/ns#' term='T20 World Cup 2010'/><title type='text'>ICC T20 World Cup Schedule</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The second biggest event by International Cricket Council (ICC) is about to start with only 4 days to go for the ICC T20 World Cup. This is the third time when ICC has Organised T20 World Cup. Previously the to Champions of ICC T20 World Cup are &lt;span class="IL_AD" id="IL_AD8"&gt;India in 2008&lt;/span&gt;, Pakistan in 2009 and let see who taken the T20 World Cup this time?&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;img alt="Twenty20 World Cup 2010 300x272 ICC T20 World Cup Schedule" class="alignleft size-full wp-image-1771" height="272" src="http://www.newsforindia.in/wp-content/uploads/2010/04/Twenty20-World-Cup-2010-300x272.gif" title="Twenty20-World-Cup-2010-300x272" width="300" /&gt;In the previous years T-20 &lt;span class="IL_AD" id="IL_AD2"&gt;World Cups&lt;/span&gt; India beat Pakistan in 2007 and Pakistan beat &lt;span class="IL_AD" id="IL_AD6"&gt;Sri Lanka&lt;/span&gt; in 2009. The ICC has now decided to schedule T20 World cup every year.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;This time total 12 teams are playing T20 World Cup with Afghanistan a new team being introduced this time. The T20 World is scheduled to be from 30th April, 2010 to 16th May, 2010.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;This time T20 World Cup is fixed to be held in &lt;span class="IL_AD" id="IL_AD1"&gt;West Indies&lt;/span&gt; with teams divided in 4 groups viz &lt;span class="IL_AD" id="IL_AD10"&gt;Group A&lt;/span&gt;,B,C,D.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The Group Teams Line up is as follows:-&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;strong&gt;Group A&lt;/strong&gt; – Pakistan (A1), Bangladesh (A2) and Australia&lt;br /&gt;&lt;strong&gt;Group B&lt;/strong&gt; – Sri Lanka (B1), &lt;span class="IL_AD" id="IL_AD5"&gt;New Zealand&lt;/span&gt; (B2) and Zimbabwe&lt;br /&gt;&lt;strong&gt;Group C&lt;/strong&gt; – &lt;span class="IL_AD" id="IL_AD7"&gt;South Africa&lt;/span&gt; (C1), India (C2) and Afghanistan&lt;br /&gt;&lt;strong&gt;Group D&lt;/strong&gt; – West Indies (D1), England (D2) and Ireland&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The Top 2 Teams from each group will head to Super 8 Matches and from there 4 teams will head to &lt;span class="IL_AD" id="IL_AD4"&gt;Semi Finals&lt;/span&gt;. There would be total of 27 matches to be played between 12 teams in 17 days at 3 Venue i.e. Beausejour Stadium, Gros Islet, St Lucia,&amp;nbsp; &lt;span class="IL_AD" id="IL_AD3"&gt;Kensington&lt;/span&gt; Oval, Bridgetown, Barbados and Providence Stadium, Guyana.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The Super Eight Line will be among top 2 teams from each group. The Two groups will be formed such as :-&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="1" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td valign="top"&gt;Group E&lt;/td&gt; &lt;td valign="top"&gt;Group F&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td valign="top"&gt;A1&lt;/td&gt; &lt;td valign="top"&gt;B1&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td valign="top"&gt;B2&lt;/td&gt; &lt;td valign="top"&gt;A2&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td valign="top"&gt;C1&lt;/td&gt; &lt;td valign="top"&gt;C2&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td valign="top"&gt;D2&lt;/td&gt; &lt;td valign="top"&gt;D1&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;h1 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://www.newsforindia.in/icc-t20-world-cup-schedule-2/" target="_self"&gt;ICC Twenty20 World Cup Schedule&lt;/a&gt;&lt;/h1&gt;&lt;table border="1" cellpadding="2" cellspacing="0" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td colspan="2"&gt;Apr-2010&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 27&lt;br /&gt;13:30  GMT, 09:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Pakistan v Windward Islands&lt;/strong&gt;&lt;br /&gt;Beausejour  &lt;span class="IL_AD" id="IL_AD9"&gt;Cricket Ground&lt;/span&gt;, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 27&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Australia v Zimbabwe&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 27&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Barbados v Bangladesh&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 27&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Ireland v New Zealand&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 27 &lt;img alt="Day/Night" src="http://www.cricketworld4u.com/gifs/dn.gif" title="ICC T20 World Cup Schedule" /&gt;&lt;br /&gt;21:00  GMT, 17:00 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;West Indies v Afghanistan&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 28&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;South Africa v Sri Lanka&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 28&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Bangladesh v England&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 28&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Afghanistan v Ireland&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 28 &lt;img alt="Day/Night" src="http://www.cricketworld4u.com/gifs/dn.gif" title="ICC T20 World Cup Schedule" /&gt;&lt;br /&gt;21:00  GMT, 17:00 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;West Indies v New Zealand&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Thu 29&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;England v South Africa&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Thu 29&lt;br /&gt;17:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;Warm-up – &lt;strong&gt;Windward Islands v Australia&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Fri 30&lt;br /&gt;17:00 GMT,  13:00 local&lt;/td&gt; &lt;td width="68%"&gt;1st Match, Group B – &lt;strong&gt;Sri Lanka v New Zealand&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Fri 30 &lt;img alt="Day/Night" src="http://www.cricketworld4u.com/gifs/dn.gif" title="ICC T20 World Cup Schedule" /&gt;&lt;br /&gt;21:00  GMT, 17:00 local&lt;/td&gt; &lt;td width="68%"&gt;2nd Match, Group D – &lt;strong&gt;West Indies v Ireland&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2"&gt;May-2010&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sat 01&lt;br /&gt;13:30  GMT, 09:30 local&lt;/td&gt; &lt;td width="68%"&gt;3rd Match, Group C – &lt;strong&gt;India v Afghanistan&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sat 01&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;4th Match, Group A – &lt;strong&gt;Pakistan v Bangladesh&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sun 02&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;5th Match, Group C – &lt;strong&gt;India v South Africa&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sun 02&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;6th Match, Group A – &lt;strong&gt;Pakistan v Australia&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Mon 03&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;7th Match, Group B – &lt;strong&gt;Zimbabwe v Sri Lanka&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Mon 03&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;8th Match, Group D – &lt;strong&gt;West Indies v England&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 04&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;9th Match, Group B – &lt;strong&gt;New Zealand v Zimbabwe&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 04&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;10th Match, Group D – &lt;strong&gt;England v Ireland&lt;/strong&gt;&lt;br /&gt;Providence  Stadium, Guyana&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 05&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;11th Match, Group A – &lt;strong&gt;Australia v Bangladesh&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Wed 05&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;11th Match, Group C – &lt;strong&gt;South Africa v Afghanistan&lt;/strong&gt;&lt;br /&gt;Kensington  Oval, Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Thu 06&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;13th Match – &lt;strong&gt;A1 v D2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Thu 06&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;14th Match – &lt;strong&gt;C1 v B2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Fri 07&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;15th Match – &lt;strong&gt;A2 v C2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Fri 07&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;16th Match – &lt;strong&gt;B1 v D1&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sat 08&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;17th Match – &lt;strong&gt;C1 v D2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sat 08&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;18th Match – &lt;strong&gt;A1 v B2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sun 09&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;19th Match – &lt;strong&gt;C2 v D1&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sun 09&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;20th Match – &lt;strong&gt;B1 v A2&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Mon 10&lt;br /&gt;13:30 GMT,  09:30 local&lt;/td&gt; &lt;td width="68%"&gt;21st Match – &lt;strong&gt;B2 v D2&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Mon 10&lt;br /&gt;17:30 GMT,  13:30 local&lt;/td&gt; &lt;td width="68%"&gt;22nd Match – &lt;strong&gt;A1 v C1&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 11&lt;br /&gt;17:00 GMT,  13:00 local&lt;/td&gt; &lt;td width="68%"&gt;23rd Match – &lt;strong&gt;B1 v C2&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Tue 11 &lt;img alt="Day/Night" src="http://www.cricketworld4u.com/gifs/dn.gif" title="ICC T20 World Cup Schedule" /&gt;&lt;br /&gt;21:00  GMT, 17:00 local&lt;/td&gt; &lt;td width="68%"&gt;24th Match – &lt;strong&gt;D1 v A2&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Thu 13&lt;br /&gt;15:30 GMT,  11:30 local&lt;/td&gt; &lt;td width="68%"&gt;1st Semi-Final – &lt;strong&gt;TBC v TBC&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Fri 14&lt;br /&gt;15:30 GMT,  11:30 local&lt;/td&gt; &lt;td width="68%"&gt;2nd Semi-Final – &lt;strong&gt;TBC v TBC&lt;/strong&gt;&lt;br /&gt;Beausejour  Cricket Ground, St. Lucia&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td colspan="2" height="1"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr valign="top"&gt; &lt;td width="32%"&gt;Sun 16&lt;br /&gt;15:30 GMT,  11:30 local&lt;/td&gt; &lt;td width="68%"&gt;The Final – &lt;strong&gt;TBC v TBC&lt;/strong&gt;&lt;br /&gt;Kensington Oval,  Barbados&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/6078944045066267379-4933733413041376480?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4933733413041376480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4933733413041376480'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/icc-t20-world-cup-schedule.html' title='ICC T20 World Cup Schedule'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-2137577606297516373</id><published>2010-05-07T03:33:00.000-07:00</published><updated>2010-05-07T03:33:38.213-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CHM Files'/><title type='text'>CHM file(book) error, not displaying content</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Sometime when you download a chm help file or chm book from internet, or copy it from any usb drive it does not open or when open does not show any content.&lt;br /&gt;this is actually security problem. Windows does not allow chm files to open.&lt;br /&gt;&lt;br /&gt;Solution: right click the file-&amp;gt;properties. at bottom of proper you will see a button &lt;strong&gt;unblock. click that button. it means windows will now not block the opening of the file. User marked it safe for opening.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Secondly: copy it to another folder/another drive or desktop and then try to open, sometimes it works.&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-2137577606297516373?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2137577606297516373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2137577606297516373'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/chm-filebook-error-not-displaying.html' title='CHM file(book) error, not displaying content'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7412993272246268628</id><published>2010-05-07T03:31:00.000-07:00</published><updated>2010-05-07T03:31:12.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Books'/><title type='text'>C# 2005 three ebooks</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;In this page, I am giving information regarding three C# 2005 books. You can download ebooks of this three books.&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;Beginning C# 2005 Databases: From Novice to Professional &lt;/li&gt;&lt;li&gt;Microsoft Visual C# 2005 Step by Step&lt;/li&gt;&lt;li&gt;Visual C# 2005 How to Program&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Beginning C# 2005 Databases: From Novice to Professional &lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;This C# book is written by James Huddleston, Ranga Raghuram, Syed Fahad Gilani, Jacob Hammer Pedersen and Jon Reid. This book helps you to install C#, learning SQL, C# programming constructs and ADO.Net database Connectivity, etc. Moreover there are good examples and C# source code in this book.&lt;br /&gt;&lt;a href="http://freecsharp-ebooks.blogspot.com/2008/11/beginning-c-2005-databases-from-novice.html"&gt;Read More/Download&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Microsoft Visual C# 2005 Step by Step&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;This C# book is written by John Sharp. This is a step by step reference book to learn C# programming. Companion CD of this C# book helps you with C# examples and source code. Moreover you can learn C# client server web based applications.&lt;br /&gt;&lt;a href="http://freecsharp-ebooks.blogspot.com/2008/11/microsoft-visual-c-2005-step-by-step.html"&gt;Read More/Download&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Visual C# 2005 How to Program&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;This C# book is written by H.M. Deitel and P.J. Deitel. You can learn OOP with C#, XML Services in C#, database application development in C# and UML case studies, etc.&lt;br /&gt;&lt;a href="http://freecsharp-ebooks.blogspot.com/2008/05/visual-c-2005-how-to-program.html"&gt;Read More/Download&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;span style="color: red; font-weight: bold;"&gt;Related C# Programming Ebooks&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://more-csharp.blogspot.com/2008/12/c-development-c-yellow-book.html"&gt;C# Development - C# Yellow Book&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://more-csharp.blogspot.com/2008/01/free-c-ebooks-download.html"&gt;Other C# ebooks&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-7412993272246268628?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7412993272246268628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7412993272246268628'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/c-2005-three-ebooks.html' title='C# 2005 three ebooks'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-492944446157768409</id><published>2010-05-07T03:29:00.001-07:00</published><updated>2010-05-07T03:29:51.530-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# vs VB.NET'/><title type='text'>Top 7 reasons C# is better than VB.NET</title><content type='html'>&lt;ol style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;In C# the line ends when I type the semicolon. Allowing you to write all your code on one line of the need is required&lt;/li&gt;&lt;li&gt;Features for VB.NET such as MVC are written and available in C# first then VB.&lt;/li&gt;&lt;li&gt;Most third party control libraries that supply source code are in C# so any bug fixes you need to make will require C# coding&lt;/li&gt;&lt;li&gt;Comments in C# are just better.  Its easier to read them when not using Visual Studio&lt;/li&gt;&lt;li&gt;Microsoft codes a majority of their stuff in C#&lt;/li&gt;&lt;li&gt;You can more easily access the API from C#.  No need for Declare statements&lt;/li&gt;&lt;li&gt;Most C# developers can code VB but less VB developers can code C#.&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/6078944045066267379-492944446157768409?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/492944446157768409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/492944446157768409'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/top-7-reasons-c-is-better-than-vbnet.html' title='Top 7 reasons C# is better than VB.NET'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7982628444036943192</id><published>2010-05-07T03:27:00.001-07:00</published><updated>2010-05-07T03:27:46.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Sites'/><title type='text'>top 10 c# sites</title><content type='html'>&lt;ol style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;a href="http://weblogs.asp.net/Scottgu/"&gt;Scott Gu's blog&lt;/a&gt;&amp;nbsp; &lt;/li&gt;&lt;li&gt;&lt;a href="http://aspnet.4guysfromrolla.com/"&gt;4 guys from rolla&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://aspalliance.com/"&gt;ASP Alliance&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.msdn.com/"&gt;msdn&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.devx.com/dotnet/"&gt;devx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://blogs.msdn.com/"&gt;MSDN Blog&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/"&gt;code project&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://geekswithblogs.net/"&gt;Geeks with blogs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://odetocode.com/"&gt;Ode To Code&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://asp.net/"&gt;asp.net&lt;/a&gt; and &lt;a href="http://forums.asp.net/"&gt;asp.net forums&lt;/a&gt;&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/6078944045066267379-7982628444036943192?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7982628444036943192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7982628444036943192'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/top-10-c-sites.html' title='top 10 c# sites'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3023179839463569984</id><published>2010-05-07T03:26:00.002-07:00</published><updated>2010-05-07T03:26:53.772-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Red-Gate'/><title type='text'>Finding what version of dlls an exe is referencing</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you are getting an error about a version of a dll not matching when you run the exe then you need to get the right version of the dll. The way to find the dll version is to use an application like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.red-gate.com/products/reflector/"&gt;http://www.red-gate.com/products/reflector/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-3023179839463569984?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3023179839463569984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3023179839463569984'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/finding-what-version-of-dlls-exe-is.html' title='Finding what version of dlls an exe is referencing'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8686534710283232122</id><published>2010-05-07T03:26:00.000-07:00</published><updated>2010-05-07T03:26:19.063-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ajax'/><title type='text'>Detecting an Ajax Async PostBack on page_load</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;if(!ScriptManager.GetCurrent(this).IsInAsyncPostBack)&lt;br /&gt;{   &lt;br /&gt;//code when it is a sync postback&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{   &lt;br /&gt;//code when it is an async postback&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/6078944045066267379-8686534710283232122?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8686534710283232122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8686534710283232122'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/detecting-ajax-async-postback-on.html' title='Detecting an Ajax Async PostBack on page_load'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6314055113527775090</id><published>2010-05-07T03:24:00.001-07:00</published><updated>2010-05-07T03:24:32.540-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Acronyms'/><title type='text'>Web Acronyms</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;ASCII – American Standard Code for Information Interchange&lt;br /&gt;AJAX – Asynchronous Javascript&lt;br /&gt;ASP – Active Server Pages&lt;br /&gt;CGI – Common Gateway Interface&lt;br /&gt;CF – Cold Fusion&lt;br /&gt;CFM – Cold Fusion&lt;br /&gt;CFML – Cold Fusion&lt;br /&gt;CSS – Cascading Style Sheet&lt;br /&gt;DB – Database&lt;br /&gt;DHTML – Dynamic Hypertext Markup Language&lt;br /&gt;DMX – Dreamweaver MX&lt;br /&gt;DOM – Document Object Model&lt;br /&gt;DTD – Document Type Definition&lt;br /&gt;DW – Dreamweaver&lt;br /&gt;FF – Firefox&lt;br /&gt;FE – Front-end&lt;br /&gt;FEE – Front-end Engineer&lt;br /&gt;FH – Freehand&lt;br /&gt;FL – Flash&lt;br /&gt;FP – Fireworks&lt;br /&gt;FTP – File Transfer Protocol&lt;br /&gt;FW – Fireworks&lt;br /&gt;GIF – Graphic interchange Format&lt;br /&gt;GUI – Graphical User Interface&lt;br /&gt;HDML – Handheld Device Markup Language&lt;br /&gt;HTML – Hypertext Markup Language&lt;br /&gt;HTTP – Hypertext Transfer Protocol&lt;br /&gt;HTTPS – Secure Hypertext Transfer Protocol&lt;br /&gt;IDE – Integrated Development/Design Environment&lt;br /&gt;IE – Internet Explorer&lt;br /&gt;IP – Internet Protocol&lt;br /&gt;IRI – Internationalized Resource Identifier&lt;br /&gt;JPG/JPEG – Joint Photographic Experts Group&lt;br /&gt;JS – Javascript&lt;br /&gt;JSP – JavaServer Pages&lt;br /&gt;LAMP – Linux, Apache, MySQL, PHP/Perl/Python&lt;br /&gt;MIME – Multipurpose Internet Mail Extensions&lt;br /&gt;MM – Macromedia&lt;br /&gt;MOZ – Mozilla&lt;br /&gt;MSIE – Microsoft Internet Explorer&lt;br /&gt;NN – Netscape Navigator&lt;br /&gt;PERL – Practical Extraction/Expansion and Report Language&lt;br /&gt;PHP – Hypertext Preprocessor&lt;br /&gt;PNG – Portable Network Graphics&lt;br /&gt;POP – Post Office Protocol&lt;br /&gt;PS – Photoshop&lt;br /&gt;RDF – Resource Description Framework&lt;br /&gt;REST – Representational State Transfer&lt;br /&gt;RPC – Remote Procedure Call&lt;br /&gt;RS – Recordset&lt;br /&gt;RTSP – Realtime Streaming Protocol&lt;br /&gt;SB – Server Behavior&lt;br /&gt;SGML – Standard Generalized Markup Language&lt;br /&gt;SMIL – Synchronized Multimedia Integration Language&lt;br /&gt;SMTP – Simple Mail Transfer Protocol&lt;br /&gt;SOAP – Simple Object Access Protocol&lt;br /&gt;SQL – Structured Query Language&lt;br /&gt;SRGS – Speech Recognition Grammar Specification&lt;br /&gt;SSI – Server Side Includes&lt;br /&gt;SSML – Speech Synthesis Markup Language&lt;br /&gt;SSL – Secure Sockets Layer&lt;br /&gt;SVG – Scalable Vector Graphics&lt;br /&gt;TCP/IP – Transmission Control Protocol over Internet Protocol&lt;br /&gt;TLS – Transport Layer Security&lt;br /&gt;UCS – Universal Character Set&lt;br /&gt;UI – User Interface&lt;br /&gt;URI – Uniform Resource Identifier&lt;br /&gt;URL – Uniform Resource Locator&lt;br /&gt;UTF – Unicode Transformation Format&lt;br /&gt;W3C – World Wide Web Consortium&lt;br /&gt;WAI – Web Accessibility Initiative&lt;br /&gt;WASP – Windows, Apache, SQL, PHP&lt;br /&gt;WML – Wireless Markup Language&lt;br /&gt;WSDL – Web Services Description Language&lt;br /&gt;WWW – World Wide Web&lt;br /&gt;WYSIWYG – What You See Is What You Get&lt;br /&gt;XHTML – Extensible HyperText Markup Language&lt;br /&gt;XML – Extensible Markup Language&lt;br /&gt;XPATH – XML Path Language&lt;br /&gt;XRI – Extensible Resource Identifier&lt;br /&gt;XSL – Extensible Stylesheet Language&lt;br /&gt;XSLT – Extensible Stylesheet Language Transformations&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-6314055113527775090?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6314055113527775090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6314055113527775090'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/web-acronyms.html' title='Web Acronyms'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-1173381091170516797</id><published>2010-05-07T03:23:00.000-07:00</published><updated>2010-05-07T03:23:15.021-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Debugging a windows service</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;It took me a while to find this again. If you place this line of code in your onstart event then it will launch the prompt to debug and you can run your service in visual studio.&lt;br /&gt;&lt;br /&gt;System.Diagnostics.Debugger.Break()&lt;br /&gt;&lt;br /&gt;Hope this helps you as well.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-1173381091170516797?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1173381091170516797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1173381091170516797'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/debugging-windows-service.html' title='Debugging a windows service'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-4560988773543991714</id><published>2010-05-07T03:21:00.001-07:00</published><updated>2010-05-07T03:21:43.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>JavaScript: How To Force Page To Reload</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;When you want to load a page on a browser, you would normally click the Refresh / Reload button or press F5 or CTRL-R on your keyboard. If you set your browser to cache previously viewed pages, doing a normal page reload will cause the browser to fetch the requested page from cache unless otherwise instructed by a script or meta tag in the page. When this happens, images and css will be read from cache and form fields will also retain their values (this included text, textarea, radio button and checkbox). &lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In order to completely force a page to reload, which means, instructing the browser to skip the cached data and re-fetch everything from the server, you need to press CTRL-F5 on IE and Firefox or Command-R on Mac-Safari.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In JavaScript, there are also different ways to reload a page. Here are the methods for a normal page reload:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;window.location.assign(url);&lt;/code&gt;&lt;br /&gt;Loads the page at the the provided URL.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;window.location.replace(url);&lt;/code&gt;&lt;br /&gt;Same as &lt;code&gt;assign()&lt;/code&gt; method except that when &lt;code&gt;replace()&lt;/code&gt; is used, the current page will not be saved in the session history as it was replaced by the provided URL.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;document.location = url;&lt;/code&gt;&lt;br /&gt;Technically, location is a read-only property of the document. But some browsers allow you to assign a URL to it, which causes the page to reload. The reason for this is because whenever the location property is modified, a page will reload with the new assigned URL. I recommend using &lt;code&gt;window.location&lt;/code&gt; for browser compatibility.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;window.location.href = url;&lt;/code&gt;&lt;br /&gt;Same as &lt;code&gt;document.location&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The other properties of location that when modified will reload the page are &lt;code&gt;hash, host, hostname, pathname, port, protocol and search&lt;/code&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;What if you want to completely force a page to reload?&lt;/strong&gt; Say, you want to clear all entered values in a form or maybe you have modified your CSS and you want to make sure that the page will pickup the new changes. In order to do so, you can do the following:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;window.location.reload(true);&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The &lt;code&gt;reload&lt;/code&gt; method accepts a boolean value, which, when it is &lt;code&gt;true&lt;/code&gt;, causes the page to always fetch document from the server. When none is specified, it defaults to &lt;code&gt;false&lt;/code&gt;, which may reload the page from its cache.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;As you can see, the methods for forcing a page to reload has their own purposes. If you simply want to reload the page and do not care about displaying fresh data, you should not always force it to reload from the server to avoid making http requests, which is an expensive call and a waste of bandwidth. You are not only calling the page itself but you maybe reloading an external CSS page too.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-4560988773543991714?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4560988773543991714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4560988773543991714'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/05/javascript-how-to-force-page-to-reload.html' title='JavaScript: How To Force Page To Reload'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-2090834199503833592</id><published>2010-04-27T05:11:00.001-07:00</published><updated>2010-04-27T05:11:11.637-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Code'/><title type='text'>C# : Remove HTML from string</title><content type='html'>&lt;pre style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;public string RemoveHTML(string strSource)&lt;br /&gt;{            &lt;br /&gt;  //Here strSource is string containing HTML Code&lt;br /&gt;  return  Server.HtmlDecode(Regex.Replace(strSource, "&amp;lt;(.|\n)*?&amp;gt;", ""));&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-2090834199503833592?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2090834199503833592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2090834199503833592'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/c-remove-html-from-string.html' title='C# : Remove HTML from string'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-1799003727253688330</id><published>2010-04-27T05:08:00.000-07:00</published><updated>2010-04-27T05:08:42.507-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Word to PDF'/><title type='text'>Convert Word Document to HTML, PDF, and other formats</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Convert Word Document to HTML, PDF, and other formats&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;You can convert word document to PDF, HTML and many other formats with google document it is simple and free service.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;I have created a sample document for conversion&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://4.bp.blogspot.com/_nuQwSyDoLk8/SEWuYp52-0I/AAAAAAAAAhY/qtmcCEJGYV4/s1600-h/image1.JPG" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5207760282712472386" src="http://4.bp.blogspot.com/_nuQwSyDoLk8/SEWuYp52-0I/AAAAAAAAAhY/qtmcCEJGYV4/s400/image1.JPG" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Convert Word Document in &lt;a class="kLink" href="http://dotnetguts.blogspot.com/search/label/Tips%20and%20Tricks#" id="KonaLink4" style="position: static; text-decoration: underline ! important;" target="undefined"&gt;&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; position: relative;"&gt;PDF &lt;/span&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; position: relative;"&gt;Format&lt;/span&gt;&lt;/span&gt;&lt;span class="preLoadWrap" id="preLoadWrap4" style="position: relative;"&gt;&lt;div id="preLoadLayer4" style="display: none; left: -18px; position: absolute; top: -32px; z-index: 4000;"&gt;&lt;img class="preloadImg" src="http://kona.kontera.com/javascript/lib/imgs/grey_loader.gif" style="border: medium none; height: 22px; width: 22px;" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://2.bp.blogspot.com/_nuQwSyDoLk8/SEWtkcDBcuI/AAAAAAAAAhA/SAPPBkOIFtc/s1600-h/convert.JPG" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5207759385639613154" src="http://2.bp.blogspot.com/_nuQwSyDoLk8/SEWtkcDBcuI/AAAAAAAAAhA/SAPPBkOIFtc/s400/convert.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Word document in PDF format with all the formatting available.&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://1.bp.blogspot.com/_nuQwSyDoLk8/SEWtuZUEl5I/AAAAAAAAAhI/hC32qcdx7xU/s1600-h/pdf.JPG" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5207759556704507794" src="http://1.bp.blogspot.com/_nuQwSyDoLk8/SEWtuZUEl5I/AAAAAAAAAhI/hC32qcdx7xU/s400/pdf.JPG" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Word Document converted in HTML Format&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://3.bp.blogspot.com/_nuQwSyDoLk8/SEWuC6xkZBI/AAAAAAAAAhQ/J-HnuhLzDJE/s1600-h/html.JPG" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5207759909283980306" src="http://3.bp.blogspot.com/_nuQwSyDoLk8/SEWuC6xkZBI/AAAAAAAAAhQ/J-HnuhLzDJE/s400/html.JPG" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-1799003727253688330?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1799003727253688330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1799003727253688330'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/convert-word-document-to-html-pdf-and.html' title='Convert Word Document to HTML, PDF, and other formats'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_nuQwSyDoLk8/SEWuYp52-0I/AAAAAAAAAhY/qtmcCEJGYV4/s72-c/image1.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3894538772861527617</id><published>2010-04-27T05:06:00.001-07:00</published><updated>2010-04-27T05:06:44.118-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PDF using C#'/><title type='text'>Create PDF Document on Fly in C# using iTextSharp</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Create &lt;a class="kLink" href="http://dotnetguts.blogspot.com/search/label/Tips%20and%20Tricks#" id="KonaLink1" style="position: static; text-decoration: underline ! important;" target="undefined"&gt;&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: 400; position: relative;"&gt;PDF &lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: 400; position: relative;"&gt;Document&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; on Fly in C# and VB.Net using iTextSharp&lt;br /&gt;&lt;br /&gt;Step 1: &lt;a href="http://sourceforge.net/projects/itextsharp/" target="_blank"&gt;Download iTextSharp DLL Files&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Step 2: Follow instruction from article which explains &lt;a href="http://www.dotnetspark.com/kb/654-simple-way-to-create-pdf-document-using.aspx" target="_blank"&gt;step by step approach to create PDF Document on Fly in C#&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-3894538772861527617?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3894538772861527617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3894538772861527617'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/create-pdf-document-on-fly-in-c-using.html' title='Create PDF Document on Fly in C# using iTextSharp'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6286372016944412730</id><published>2010-04-27T05:05:00.000-07:00</published><updated>2010-04-27T05:05:13.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005 Functions'/><title type='text'>Function Execution in SQL Server 2005</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;In this article you will learn, everything about using &lt;span style="font-weight: bold;"&gt;Function Execution in&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;SQL Server 2005&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;String Functions&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Date and Time Functions&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Mathematical Functions&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;span style="color: #000099;"&gt;String Functions&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;String Functions are used for manipulating string expression.  Note: string expression should be passed within single quote.&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Len('&lt;string expression=""&gt;')&lt;/string&gt;&lt;/span&gt; - Returns length of string.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:  select Len("Shri Ganesh") will return 11&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Lower('&lt;string expression=""&gt;')&lt;/string&gt;&lt;/span&gt; - Convert all characters to lowercase characters.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select Lower('Shri Ganesh') will return shri ganesh&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Upper('&lt;string expression=""&gt;')&lt;/string&gt;&lt;/span&gt; - Convert all characters to uppercase characters.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select Upper('Shri Ganesh') will return SHRI GANESH&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;LTrim('')&lt;/span&gt; - Removes spaces from given character strings on left.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select LTrim('          Shri Ganesh') will return Shri Ganesh&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: It doesn't removes tab or line feed character.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;RTrim('')&lt;/span&gt; - Removes space from given character strings on right.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select LTrim('Shri Ganesh          ') will return Shri Ganesh&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: It doesn't removes tab or line feed character.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Trim('')&lt;/span&gt; - Removes spaces from given character strings from both left and right.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:  select LTrim('          Shri Ganesh          ') will return Shri Ganesh&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: It doesn't removes tab or line feed character.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;SubString('') &lt;/span&gt;- Returns a part of string from original string.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;SubString(&lt;i&gt;character_expression&lt;/i&gt;, &lt;i&gt;position&lt;/i&gt;, &lt;i&gt;length&lt;/i&gt;)&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;position - specifies where the substring begins.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;length - specifies the length of the substring as number of characters.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select SubString('Shri Ganesh',6,7) where in&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;6 - Starting position of sub string from given string.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;6 - It is no. of characters to be extract from given string, starting from 6.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;That is it will return "Ganesh"  As ganesh start from 6th character upto 6 characters.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Replace('')&lt;/span&gt; - Replace the desired string within the original string.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Replace(character_expression, searchstring, replacementstring)&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;SearchString - string which you want to replace.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;ReplaceString - new string which you want to replace with&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select replace('Think High To Achieve High','High','Low')&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;here, function search for every occurrence of High and replace it with Low.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Original - Think High To Achieve High&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Result - Think Low To Achieve Low&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Right('') &lt;/span&gt;- extract particular characters from right part of given string expression.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select right('Think High To Achieve High',15) will return "To Achieve High"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;This function will be helpful when you want particular characters from right part.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: Let say i have social security nos. and i want to extract last 4 digit of it.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select right('111-11-1111',4) will return 1111&lt;br /&gt;select right('222-22-2222',4) will return 2222&lt;br /&gt;select right('333-33-3333',4) will return 3333&lt;br /&gt;select right('444-44-4444',4) will return 4444&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="color: #000099;"&gt;Date and Time Functions&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Date and Time Functions are used for manipulating Date and Time expression. &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;GetDate()&lt;string expression=""&gt;&lt;/string&gt;&lt;/span&gt; - Returns current date and time of a system.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:  select GetDate() will return something like "2007-10-10 15:34:37.287"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;GetUTCDate()&lt;/span&gt; - Returns current date and time information as per UTC (Universal Time Coordinate or Greenwich Mean Time)&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:  select GetDate() will return something like "2007-10-10 15:34:37.287"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;DatePart and Abbrevation, which we will be using with DatePart, DateADD, DateDIFF function.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;/span&gt;&lt;table border="1" cellpadding="0" cellspacing="0" style="background-color: #cccccc; font-family: Arial,Helvetica,sans-serif; height: 242px; width: 353px;" xmlns=""&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;Datepart &lt;/span&gt;&lt;/th&gt; &lt;th style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;Abbreviations &lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Year&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;yy, yyyy&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Quarter&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;qq, q&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Month&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;mm, m&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Dayofyear&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;dy, y&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Day&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;dd, d&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Week&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;wk, ww&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Weekday&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;dw, w&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Hour&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Hh&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Minute&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;mi, n&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Second&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;ss, s&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Millisecond&lt;/span&gt;&lt;/td&gt; &lt;td&gt; &lt;span style="font-size: small;"&gt;Ms&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;DatePart()&lt;/span&gt; - Returns an integer representing a datepart of a date.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: Example are based on considering "2007-10-10 15:34:37.287" as GetDate()&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DatePart("day",GetDate()) will return 10.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DatePart("hour",GetDate()) will return 16.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DatePart("dayofyear",GetDate()) will return 283. And so on...&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;DateADD()&lt;/span&gt; - Returns adds a date or time interval to a specified date.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Syntax: DateADD(Abbrevation, number to be added, date)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DateAdd("day",7,GetDate()) will return 2007-10-17 16:09:18.280&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DateAdd("month",20,GetDate()) will return 2009-06-10 16:10:02.643&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;And so on...&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;DateDIFF() &lt;/span&gt;- Returns difference between two specified dates.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Syntax: DateDIFF(Abbrevation, startdate, enddate)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: If the end date is earlier than the start date, the function returns a negative number. If the start and end dates are equal or fall within the same interval, the function returns zero.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select DATEDIFF("mm", Getdate()-500,GETDATE()) will return 17&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;You must pass valid start and end date otherwise you will receive error.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="color: #000099; font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Mathematical Functions&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Mathematical Functions are used for manipulating Mathematical expression.&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;ABS()&lt;/span&gt; - Returns positive value of numeric expression.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: In following example both statement will return 3.14&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select ABS(3.14)&lt;br /&gt;select ABS(-3.14)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Ceiling()&lt;/span&gt; - Returns the smallest integer that is greater than or equal to a numeric  expression.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select Ceiling(3.14) will return 4&lt;br /&gt;select Ceiling(-3.14) will return 3.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Floor()&lt;/span&gt; -Returns the largest integer that is less than or equal to a numeric  expression. &lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select Floor(3.14) will return 3&lt;br /&gt;select Floor(-3.14) will return 4&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Round()&lt;/span&gt; - Returns a numeric expression that is rounded to the specified length or  precision.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select Round(3.14, 1) will return 3.10&lt;br /&gt;select Round(-3.17, 1) will return -3.20&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select Round(3.12345, 4) will return 3.12350&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;select Round(3.12345, 3) will return 3.12300&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Power()&lt;/span&gt; - POWER&lt;i&gt;(numeric_expression, power)&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: select power(2,3) will return 8&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-6286372016944412730?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6286372016944412730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6286372016944412730'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/function-execution-in-sql-server-2005.html' title='Function Execution in SQL Server 2005'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3159327974476718891</id><published>2010-04-27T05:04:00.001-07:00</published><updated>2010-04-27T05:04:20.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Free Database Compare Software for SQL Server</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;@ Colleague Thanks for providing useful information.&lt;br /&gt;&lt;br /&gt;Free Database Compare Software for SQL Server , MY SQL and MS Access. It will also allow you to create snapshots of a database and compare a live database to a snapshot. A &lt;a class="kLink" href="http://dotnetguts.blogspot.com/search/label/SQL#" id="KonaLink3" style="position: static; text-decoration: underline ! important;" target="undefined"&gt;&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; font-weight: 400; position: relative;"&gt;database &lt;/span&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; font-weight: 400; position: relative;"&gt;structure&lt;/span&gt;&lt;/span&gt;&lt;span class="preLoadWrap" id="preLoadWrap3" style="position: relative;"&gt;&lt;div id="preLoadLayer3" style="display: none; left: -18px; position: absolute; top: -32px; z-index: 4000;"&gt;&lt;img class="preloadImg" src="http://kona.kontera.com/javascript/lib/imgs/grey_loader.gif" style="border: medium none; height: 22px; width: 22px;" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/a&gt; viewer is included. You can filter the comparison results by type of object and you can also choose to exclude the comparison of constraints and fields.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_nuQwSyDoLk8/R4ZK81MVnNI/AAAAAAAAAZ0/VTrqD7SFUmk/s1600-h/SqlCompareMedium.jpg" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5153889232503545042" src="http://1.bp.blogspot.com/_nuQwSyDoLk8/R4ZK81MVnNI/AAAAAAAAAZ0/VTrqD7SFUmk/s400/SqlCompareMedium.jpg" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;a href="http://www.starinix.com/" target="_blank"&gt;Download Now&lt;/a&gt;&lt;/strong&gt;&lt;/span&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/6078944045066267379-3159327974476718891?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3159327974476718891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3159327974476718891'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/free-database-compare-software-for-sql.html' title='Free Database Compare Software for SQL Server'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_nuQwSyDoLk8/R4ZK81MVnNI/AAAAAAAAAZ0/VTrqD7SFUmk/s72-c/SqlCompareMedium.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-5167755869069852363</id><published>2010-04-27T05:03:00.001-07:00</published><updated>2010-04-27T05:03:31.255-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005'/><title type='text'>Minus Keyword in SQL Server</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; line-height: normal; margin-bottom: 0.0001pt;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span&gt;Minus Keyword in&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; position: static;"&gt;&lt;span class="kLink" style="color: blue ! important; position: relative;"&gt;&lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; position: relative;"&gt;&lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; position: relative;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; line-height: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;Oracle supports "Minus" Keyword, but today suddenly when i tried to execute same in SQL Server it won't work.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; line-height: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;So, I have found out Alternate way to use "Minus" in SQL Server &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; line-height: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span&gt;Alternate Way for "Minus" Keyword in SQL Server is used "Except" Keyword&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; line-height: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span&gt;Example:&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Select City, State&lt;br /&gt;from Employee&lt;br /&gt;&lt;b&gt;Minus&lt;/b&gt;&lt;br /&gt;Select City, State&lt;br /&gt;from Customer&lt;br /&gt;&lt;br /&gt;This will work fine with Oracle, but won't work with SQL Server.&lt;br /&gt;&lt;br /&gt;So alternate way to use "Minus" Keyword in SQL Server&lt;br /&gt;&lt;br /&gt;Select City, State&lt;br /&gt;from Employee&lt;br /&gt;&lt;b&gt;Except&lt;/b&gt;&lt;br /&gt;Select City, State&lt;br /&gt;from Customer  &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-5167755869069852363?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/5167755869069852363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/5167755869069852363'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/minus-keyword-in-sql-server.html' title='Minus Keyword in SQL Server'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-8822303066716481729</id><published>2010-04-27T05:02:00.001-07:00</published><updated>2010-04-27T05:02:52.292-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005'/><title type='text'>InStr Function in SQL Server</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Visual basic support “InStr” Function, which Returns the starting position of the specified expression in a character string.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;To perform same task in SQL Server used &lt;b&gt;CHARINDEX Function.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;“CharIndex” Function is equivalent to “InStr” Function of SQL Server.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Example 1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;select&lt;/span&gt;&lt;span&gt; Phone&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: magenta;"&gt;charindex&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: red;"&gt;'-'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;Phone&lt;span style="color: grey;"&gt;)&lt;/span&gt; &lt;span style="color: blue;"&gt;from&lt;/span&gt; customers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span&gt;Result&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; font-family: Arial,Helvetica,sans-serif; margin-left: 4.65pt; width: 191px;"&gt;&lt;tbody&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;030-0074321&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(5)   555-4729&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(5)   555-3932&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(171)   555-7788&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0921-12   34 65&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0621-08460&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;88.60.15.31&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;You can also specify start position&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Example 2:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;select&lt;/span&gt;&lt;span&gt; Phone&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: magenta;"&gt;charindex&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: red;"&gt;'-'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;Phone&lt;span style="color: grey;"&gt;,&lt;/span&gt;5&lt;span style="color: grey;"&gt;)&lt;/span&gt; &lt;span style="color: blue;"&gt;from&lt;/span&gt; customers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;here start position is 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Result&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; font-family: Arial,Helvetica,sans-serif; margin-left: 4.65pt; width: 191px;"&gt;&lt;tbody&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;030-0074321&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(5)   555-4729&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(5)   555-3932&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;(171)   555-7788&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0921-12   34 65&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0621-08460&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr style="height: 12.75pt;"&gt;   &lt;td nowrap="nowrap" style="height: 12.75pt; padding: 0in 5.4pt; width: 95pt;" valign="bottom" width="127"&gt;   &lt;div class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;88.60.15.31&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td nowrap="nowrap" num="" style="height: 12.75pt; padding: 0in 5.4pt; width: 48pt;" valign="bottom" width="64"&gt;   &lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;span style="font-size: small;"&gt;&lt;span&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/div&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/6078944045066267379-8822303066716481729?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8822303066716481729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/8822303066716481729'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/instr-function-in-sql-server.html' title='InStr Function in SQL Server'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-5949833960453440509</id><published>2010-04-27T05:01:00.001-07:00</published><updated>2010-04-27T05:01:58.236-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005'/><title type='text'>SQL Server Utility Functions for Searching String in SQL Server 2005</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Set of Utility Function for SQL Server 2005&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;AT()&lt;/strong&gt;: Returns the beginning numeric position of the nth occurrence of a character expression within another character expression, counting from the leftmost character.&lt;br /&gt;&lt;strong&gt;RAT()&lt;/strong&gt;: Returns the numeric position of the last (rightmost) occurrence of a character string within another character string.&lt;br /&gt;&lt;strong&gt;OCCURS()&lt;/strong&gt;: Returns the number of times a character expression occurs within another character expression (including overlaps).&lt;br /&gt;&lt;strong&gt;OCCURS2()&lt;/strong&gt;: Returns the number of times a character expression occurs within another character expression (excluding overlaps).&lt;br /&gt;&lt;strong&gt;PADL()&lt;/strong&gt;: Returns a string from an expression, padded with spaces or characters to a specified length on the left side.&lt;br /&gt;&lt;strong&gt;PADR()&lt;/strong&gt;: Returns a string from an expression, padded with spaces or characters to a specified length on the right side.&lt;br /&gt;&lt;strong&gt;PADC()&lt;/strong&gt;: Returns a string from an expression, padded with spaces or characters to a specified length on the both sides.&lt;br /&gt;&lt;strong&gt;CHRTRAN()&lt;/strong&gt;: Replaces each character in a character expression that matches a character in a second character expression with the corresponding character in a third character expression.&lt;br /&gt;&lt;strong&gt;STRTRAN()&lt;/strong&gt;: Searches a character expression for occurrences of a second character expression, and then replaces each occurrence with a third character expression. Unlike a built-in function Replace, STRTRAN has three additional parameters.&lt;br /&gt;&lt;strong&gt;STRFILTER()&lt;/strong&gt;: Removes all characters from a string except those specified.&lt;br /&gt;&lt;strong&gt;GETWORDCOUNT()&lt;/strong&gt;: Counts the words in a string.&lt;br /&gt;&lt;strong&gt;GETWORDNUM()&lt;/strong&gt;: Returns a specified word from a string.&lt;br /&gt;&lt;strong&gt;GETNUMWORD()&lt;/strong&gt;: Returns the index position of a word in a string.&lt;br /&gt;&lt;strong&gt;GETALLWORDS()&lt;/strong&gt;: Inserts the words from a string into the table.&lt;br /&gt;&lt;strong&gt;PROPER()&lt;/strong&gt;: Returns from a character expression a string capitalized as appropriate for proper names.&lt;br /&gt;&lt;strong&gt;RCHARINDEX()&lt;/strong&gt;: Similar to the Transact-SQL function Charindex, with a Right search.&lt;br /&gt;&lt;strong&gt;ARABTOROMAN()&lt;/strong&gt;: Returns the character Roman numeral equivalent of a specified numeric expression (from 1 to 3999).&lt;br /&gt;&lt;strong&gt;ROMANTOARAB()&lt;/strong&gt;: Returns the number equivalent of a specified character Roman numeral expression (from I to MMMCMXCIX).&lt;br /&gt;&lt;br /&gt;You can get code from this web link for each of this functions &lt;a href="http://it.toolbox.com/wiki/index.php/User-Defined_string_Functions_MS_SQL_Server_2005_Transact-SQL_SQLCLR" target="_blank"&gt;http://it.toolbox.com/wiki/index.php/User-Defined_string_Functions_MS_SQL_Server_2005_Transact-SQL_SQLCLR&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-5949833960453440509?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/5949833960453440509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/5949833960453440509'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/sql-server-utility-functions-for.html' title='SQL Server Utility Functions for Searching String in SQL Server 2005'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-1582240018259526216</id><published>2010-04-27T05:00:00.001-07:00</published><updated>2010-04-27T05:00:44.550-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql server 2005'/><title type='text'>Space Used by Database and Table SQL Server Command</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: #3333ff;"&gt;How to know how much space is consumed by your database.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Exec sp_spaceused&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Output&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;database_name &amp;nbsp; &amp;nbsp;database_size &amp;nbsp; &amp;nbsp; &amp;nbsp;unallocated space&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;------------------------------------------------ ---&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Northwind &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 58.38 MB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8.23 MB&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;reserved &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; index_size &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unused&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;------------------ ------------------ --------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;12056 KB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10464 KB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1104 KB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;488 KB&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #3333ff; font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: #3333ff;"&gt;How to know how much space is consumed by each table in your database&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;EXEC sp_MSforeachtable @command1="EXEC sp_spaceused '?'"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Well i cannot display output information but you can certainly try it SQL Analyzer and see the useful information about your database to control its size and remove unnecessary data.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-1582240018259526216?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1582240018259526216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/1582240018259526216'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/space-used-by-database-and-table-sql.html' title='Space Used by Database and Table SQL Server Command'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-3237953061481891491</id><published>2010-04-27T04:58:00.000-07:00</published><updated>2010-04-27T04:58:14.962-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net Webservices'/><title type='text'>All About Web Service in .Net</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;This article will explain you everything about Web Services in .Net, so lets get started with Web Service&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is Web Service?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Web Service is an application that is designed to interact directly with other applications over the internet. In simple sense, Web Services are means for interacting with objects over the Internet.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Web Service is&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Language Independent&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Protocol Independent&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Platform Independent&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;It assumes a stateless service architecture.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;We will discuss more on web service as the article proceed. Before that lets understand bit on how web service comes into picture.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;History of Web Service or How Web Service comes into existence?&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;As i have mention before that Web Service is nothing but means for Interacting with objects over the Internet.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;1.  Initially Object - Oriented Language comes which allow us to interact with two object within same application.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;2. Than comes Component Object Model (COM) which allows to interact two objects on the same computer, but in different applications.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;3. Than comes Distributed Component Object Model (DCOM) which allows to interact two objects on different computers, but within same &lt;a class="kLink" href="http://dotnetguts.blogspot.com/search/label/C%23#" id="KonaLink4" style="position: static; text-decoration: underline ! important;" target="undefined"&gt;&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; font-weight: 400; position: relative;"&gt;local &lt;/span&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid blue; color: blue ! important; font-weight: 400; position: relative;"&gt;network&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;4. And finally the web services, which allows two object to interact internet. That is it allows to interact between two object on different computers and even not within same local network.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Example of Web Service&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Weather Reporting:&lt;/span&gt;  You can use Weather Reporting web service to display weather information in your personal website.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Stock Quote:&lt;/span&gt; You can display latest update of Share market with Stock Quote on your web site.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a class="kLink" href="http://dotnetguts.blogspot.com/search/label/C%23#" id="KonaLink5" style="position: static; text-decoration: underline ! important;" target="undefined"&gt;&lt;span style="color: blue ! important; font-family: Verdana,sans-serif; font-weight: bold; position: static;"&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: bold; position: relative;"&gt;News &lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: bold; position: relative;"&gt;Headline&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;:&lt;/span&gt; You can display latest news update by using News Headline Web Service in your website.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;In summary you can any use any web service which is available to use. You can make your own web service and let others use it. Example you can make Free SMS Sending Service with footer with your companies advertisement, so whosoever use this service indirectly advertise your company... You can apply your ideas in N no. of ways to take advantage of it.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Web Service Communication&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Web Services communicate by using standard web protocols and data formats, such as&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;HTTP&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;XML&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;SOAP&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Advantages of Web Service Communication&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Web Service messages are formatted as XML, a standard way for communication between two incompatible system. And this message is sent via HTTP, so that they can reach to any machine on the internet without being blocked by firewall.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Terms which are frequently used with web services&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;What is SOAP?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;SOAP are remote function calls that invokes method and execute them on Remote machine and translate the object communication into XML format. In short, SOAP are way by which method calls are translate into XML format and sent via HTTP.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;What is WSDL?&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;WSDL stands for Web Service Description Language, a standard by which a web service can tell clients what messages it accepts and which results it will return.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;WSDL contains every details regarding using web service&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Method and Properties provided by web service&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;URLs from which those method can be accessed.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Data Types used.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Communication Protocol used.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;What is UDDI?&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;UDDI allows you to find web services by connecting to a directory.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;What is Discovery or .Disco Files?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Discovery files are used to group common services together on a web server.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Discovery files .Disco and .VsDisco are XML based files that contains link in the form of URLs to resources that provides discovery information for a web service.&lt;/span&gt;&lt;/li&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;.Disco File (static)&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;.Disco File contains&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;URL for the WSDL&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;URL for the documentation&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;URL to which SOAP messages should be sent.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;A static discovery file is an XML document that contains links to other resources that describe web services.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;.VsDisco File (dynamic)&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;A dynamic discovery files are dynamic discovery document that are automatically generated by VS.Net during the development phase of a web service.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;What is difference between Disco and UDDI?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Disco is Microsoft's Standard format for discovery documents which contains information about Web Services, while UDDI is a multi-vendor standard for discovery documents which contains information about Web Services.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;What is Web Service Discovery Tool (disco.exe) ?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;The Web Services Discovery Tool (disco.exe) can retrieve discovery information from a server that exposes a web service.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;What is Proxy Class?&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;A proxy class is code that looks exactly like the class it meant to represent; however the proxy class doesn't contain any of the application logic. Instead, the proxy class contains marshalling and transport logic.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;A proxy class object allows a client to access a web service as if it were a local COM object.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;The Proxy must be on the computer that has the web application.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;What is Web Service Description Language Tool (wsdl.exe)?&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;This tool can take a WSDL file and generate a corresponding proxy class that you can use to invoke the web service.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Alternate of generating Proxy class through WSDL.exe is you can use web reference.  &lt;span style="font-weight: bold;"&gt;Web Reference&lt;/span&gt; automatically generate a proxy classes for a web service by setting a web reference to point to the web service.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Advantage of using Web Reference as compare to using WSDL.exe Tool&lt;/span&gt;&lt;/span&gt; is you can update changes done in web service class easily by updating web reference, which is more tedious task with WSDL.exe tool.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Testing a Web Service?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;You can test web service without building an entire client application.&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;With Asp.net you can simply run the application and test the method by entering valid input paramters.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;You can also use .Net Web Service Studio Tool comes from Microsoft.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;Example of Creating Web Service in .Net&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;This Web Service will retrieve CustomerList Country Wise and return as dataset to client application for display.&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Step1:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Create a Web Service Application by File &amp;gt; New &amp;gt; Web Site &amp;gt; Asp.net Web Services&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Named the web service, for example here i have choosen name "WSGetCustomerCountryWise"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step2:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Rename the default Service.asmx file to proper name, you also need to switch design view and change the class name with the same name you use to rename the service.asmx.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;For example, "WSGetCustomerCountryWise.asmx" and switch to design view and change the class="Service" to class="WSGetCustomerCountryWise"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step3:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Rename the Service.CS File to proper name, you need to change the class name and constructor name too.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;For example, "WSGetCustomerCountryWise.CS" and switch to code view and change the class and constructor name to "WSGetCustomerCountryWise"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;After three steps your solution explorer looks as shown in figure&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://2.bp.blogspot.com/_nuQwSyDoLk8/RvWhBZahW6I/AAAAAAAAAJg/KvTlCRwuUhU/s1600-h/WS1.bmp" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113169997323131810" src="http://2.bp.blogspot.com/_nuQwSyDoLk8/RvWhBZahW6I/AAAAAAAAAJg/KvTlCRwuUhU/s400/WS1.bmp" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step4:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Create a Logic for Web Service&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Create a Method "GetCustomerCountryWise"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Note: You need to specify &lt;span style="font-weight: bold;"&gt;[WebMethod] &lt;/span&gt;before method definition, if you want it to be accessible public, otherwise the method would not be accessible remotely.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Specify proper argument and return type for method in web service.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;It is also good practise to specify the use "Description" attribute to tell what method is meant for.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;For example, here i need to access data of northwind customers and want to return customer list country wise, so add namespace for&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;using System.Data;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;using System.Data.SqlClient;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;using System.Configuration;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;    [WebMethod(Description="It will generate Customer List, Country Wise")]&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;    public System.Xml.XmlElement GetCustomerCountryWise(string sCountry) &lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;string sConn = ConfigurationManager.ConnectionStrings["connStr"].ToString();&lt;br /&gt;&lt;br /&gt;string sSQL = "select CustomerId, CompanyName, ContactTitle, City " +&lt;br /&gt;" from Customers where country = '" + sCountry + "'";&lt;br /&gt;&lt;br /&gt;SqlConnection connCustomer = new SqlConnection(sConn);&lt;br /&gt;&lt;br /&gt;DataSet dsCustomer = new DataSet();&lt;br /&gt;&lt;br /&gt;SqlDataAdapter daCustomer = new SqlDataAdapter(sSQL, sConn);&lt;br /&gt;&lt;br /&gt;daCustomer.Fill(dsCustomer,"Customers");&lt;br /&gt;&lt;br /&gt;//Known bug while return "DataSet" is "Data source is an invalid type.&lt;br /&gt;It must be either an IListSource, IEnumerable, or IDataSource."&lt;br /&gt;//For more details on Error: http://support.microsoft.com/kb/317340&lt;br /&gt;&lt;br /&gt;//So to access data we need to make use of XmlElement.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;        // Return the DataSet as an XmlElement.&lt;/span&gt;&lt;br /&gt;System.Xml.XmlDataDocument xdd = new System.Xml.XmlDataDocument(dsCustomer);&lt;br /&gt;System.Xml.XmlElement docElem = xdd.DocumentElement;&lt;br /&gt;return docElem;&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Step5:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Build Web Service and Run the Web Service for testing by pressing F5 function key.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://3.bp.blogspot.com/_nuQwSyDoLk8/RvWnEpahW7I/AAAAAAAAAJo/dEYgSLu_HVI/s1600-h/WS2.bmp" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113176650227473330" src="http://3.bp.blogspot.com/_nuQwSyDoLk8/RvWnEpahW7I/AAAAAAAAAJo/dEYgSLu_HVI/s400/WS2.bmp" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://3.bp.blogspot.com/_nuQwSyDoLk8/RvWnnpahW8I/AAAAAAAAAJw/UTFuJmCx5M0/s1600-h/WS3.bmp" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113177251522894786" src="http://3.bp.blogspot.com/_nuQwSyDoLk8/RvWnnpahW8I/AAAAAAAAAJw/UTFuJmCx5M0/s400/WS3.bmp" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;By pressing "Invoke" button will generate XML File.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;So you are done creating web service application.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Example of Testing Web Service in .Net&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;This Web Service will display the information which had been retrieved from Remote computer by accessing public method "GetCustomerCountryWise".&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step1:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Create a Test Web Site  by File &amp;gt; New &amp;gt; Web Site &amp;gt; Asp.net Web Site&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Named the web site, for example here i have choosen name "TestGetCustomerCountryWise"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step2:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Displaying data in gridview, so drag the gridview on to the form.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step3:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Right Click Solution Explorer and Choose "Add Web Reference"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://1.bp.blogspot.com/_nuQwSyDoLk8/RvWqvJahW9I/AAAAAAAAAJ4/xOVYdtLONP0/s1600-h/WS4.bmp" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113180678906797010" src="http://1.bp.blogspot.com/_nuQwSyDoLk8/RvWqvJahW9I/AAAAAAAAAJ4/xOVYdtLONP0/s400/WS4.bmp" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step4:  &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Choose the option Web Service on the local machine or you can enter the .WSDL File address directly in URL space and press Go button.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://4.bp.blogspot.com/_nuQwSyDoLk8/RvWro5ahW-I/AAAAAAAAAKA/wgZZJdzZmT0/s1600-h/WS5.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113181671044242402" src="http://4.bp.blogspot.com/_nuQwSyDoLk8/RvWro5ahW-I/AAAAAAAAAKA/wgZZJdzZmT0/s400/WS5.JPG" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step5:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Press "Add Reference button"&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://2.bp.blogspot.com/_nuQwSyDoLk8/RvWsTZahW_I/AAAAAAAAAKI/rdEBNep1n9I/s1600-h/WS6.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113182401188682738" src="http://2.bp.blogspot.com/_nuQwSyDoLk8/RvWsTZahW_I/AAAAAAAAAKI/rdEBNep1n9I/s400/WS6.JPG" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step6:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Writing Code for Displaying data in GridView&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Here note: I have Pass "USA" as parameter in Country Field.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;   protected void Page_Load(object sender, EventArgs e)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;   {&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;       if (!Page.IsPostBack)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;       {&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;      //Create object of WSGetCustomerCountryWise Object&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           localhost.WSGetCustomerCountryWise objGetCustomerCountryWise&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;                       = new localhost.WSGetCustomerCountryWise();&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           DataSet dsCustomer = new DataSet();&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;            // Get the data from Webservice.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           XmlElement elem = objGetCustomerCountryWise.GetCustomerCountryWise(&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;"USA"&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;);&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;            // Load the XML to the Typed DataSet that you want.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           XmlNodeReader nodeReader = new XmlNodeReader(elem);&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           dsCustomer.ReadXml(nodeReader, XmlReadMode.Auto);&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           GridView1.DataSource = dsCustomer;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;           GridView1.DataBind();&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;       }&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;   }&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Step7:&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; Output as data displayed in GridView.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://4.bp.blogspot.com/_nuQwSyDoLk8/RvWxZ5ahXAI/AAAAAAAAAKQ/FWAM38hPk-0/s1600-h/WS7.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5113188010415971330" src="http://4.bp.blogspot.com/_nuQwSyDoLk8/RvWxZ5ahXAI/AAAAAAAAAKQ/FWAM38hPk-0/s400/WS7.JPG" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Few Facts about Web Service in .Net&lt;/span&gt;&lt;/span&gt;     &lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Each Response from web service is a new object, with a new state.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Web Service are asynchronous because the request object from the client application and the response object from the web service are unique SOAP envelopes that do not require shared connection.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;This allow client application and the web service to continue processing while the interaction is ongoing.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Instead of a user interface, it provides a standard defined interface called a contract.&lt;/span&gt;&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/6078944045066267379-3237953061481891491?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3237953061481891491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/3237953061481891491'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/all-about-web-service-in-net.html' title='All About Web Service in .Net'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_nuQwSyDoLk8/RvWhBZahW6I/AAAAAAAAAJg/KvTlCRwuUhU/s72-c/WS1.bmp' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-2448582070031773590</id><published>2010-04-27T04:56:00.000-07:00</published><updated>2010-04-27T04:56:22.365-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Random string'/><title type='text'>Random Password Generation</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;pre class="csharpcode" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;string&lt;/span&gt; GetRandomPassword(&lt;span class="kwrd"&gt;int&lt;/span&gt; length)&lt;br /&gt;    {&lt;br /&gt;        &lt;span class="kwrd"&gt;char&lt;/span&gt;[] chars = &lt;span class="str"&gt;"$%#@!*abcdefghijklmnopqrstuvwxyz1234567890?;:ABCDEFGHIJKLMNOPQRSTUVWXYZ^&amp;amp;"&lt;/span&gt;.ToCharArray();&lt;br /&gt;        &lt;span class="kwrd"&gt;string&lt;/span&gt; password = &lt;span class="kwrd"&gt;string&lt;/span&gt;.Empty;&lt;br /&gt;        Random random = &lt;span class="kwrd"&gt;new&lt;/span&gt; Random();&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;for&lt;/span&gt; (&lt;span class="kwrd"&gt;int&lt;/span&gt; i = 0; i &amp;lt; length; i++)&lt;br /&gt;        {&lt;br /&gt;            &lt;span class="kwrd"&gt;int&lt;/span&gt; x = random.Next(1,chars.Length);&lt;br /&gt;            &lt;span class="rem"&gt;//Don't Allow Repetation of Characters&lt;/span&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (!password.Contains(chars.GetValue(x).ToString()))&lt;br /&gt;                password += chars.GetValue(x);&lt;br /&gt;            &lt;span class="kwrd"&gt;else&lt;/span&gt;&lt;br /&gt;                i--;&lt;br /&gt;        }      &lt;br /&gt;        &lt;span class="kwrd"&gt;return&lt;/span&gt; password;&lt;br /&gt;    }&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Its a simple logic instead by generating a random number between 1 and Length of characters. It also checks that same character is not repeated in generated password and finally return the randomly generated password string of desired length. &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-2448582070031773590?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2448582070031773590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2448582070031773590'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/random-password-generation.html' title='Random Password Generation'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-460207857393008799</id><published>2010-04-27T04:54:00.001-07:00</published><updated>2010-04-27T04:54:24.720-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Zipcode'/><title type='text'>Finding Distance based on Zipcode or City Name for USA</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Finding Distance based on Zipcode or City Name for USA&lt;/strong&gt;&lt;br /&gt;A really good article sharing how to find distance between two zip codes or cities of USA.&lt;br /&gt;&lt;br /&gt;For whom this article is useful&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;It finds distance in miles between two zipcodes of USA.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;It finds distance in miles between two cities of USA.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Finding County based on city or zipcode name.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.populardata.com/downloads.html" target="_blank"&gt;&lt;strong&gt;Free Zipcode database of USA&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Article is written in C#&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.codeproject.com/KB/cs/zipcodeutil.aspx" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;Finding Distance based on Zipcode or City Name for USA&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Note: When you will download the Zipcode of USA Cities and Import to SQL Server, it append inverted comma to data, to remove that you might need to run following update cursor script. Remember you need to change name of column as mentioned in script.&lt;/span&gt;&lt;/span&gt;&lt;pre class="csharpcode" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;DECLARE&lt;/span&gt; c1 &lt;span class="kwrd"&gt;CURSOR&lt;/span&gt; READ_ONLY&lt;br /&gt;&lt;span class="kwrd"&gt;FOR&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;select&lt;/span&gt; ZipCode,Latitude,Longitude,City,&lt;span class="kwrd"&gt;State&lt;/span&gt;,County,ZipClass &lt;span class="kwrd"&gt;from&lt;/span&gt; Zip_Codes&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @ZipCodeOriginal &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @ZipCode &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @Latitude &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @Longitude &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @City &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @&lt;span class="kwrd"&gt;State&lt;/span&gt; &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @County &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;span class="kwrd"&gt;declare&lt;/span&gt; @ZipClass &lt;span class="kwrd"&gt;varchar&lt;/span&gt;(50)&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;open&lt;/span&gt; c1&lt;br /&gt;&lt;span class="kwrd"&gt;FETCH&lt;/span&gt; &lt;span class="kwrd"&gt;NEXT&lt;/span&gt; &lt;span class="kwrd"&gt;FROM&lt;/span&gt; c1&lt;br /&gt;&lt;span class="kwrd"&gt;Into&lt;/span&gt; @ZipCode,@Latitude,@Longitude,@City,@&lt;span class="kwrd"&gt;State&lt;/span&gt;,@County,@ZipClass&lt;br /&gt;&lt;span class="kwrd"&gt;WHILE&lt;/span&gt; &lt;span class="preproc"&gt;@@FETCH_STATUS&lt;/span&gt; = 0&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @ZipCodeOriginal = @ZipCode&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @ZipCode = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@ZipCode,2,len(@ZipCode) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @Latitude = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@Latitude,2,len(@Latitude) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @Longitude = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@Longitude,2,len(@Longitude) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @City = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@City,2,len(@City) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @&lt;span class="kwrd"&gt;State&lt;/span&gt; = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@&lt;span class="kwrd"&gt;State&lt;/span&gt;,2,len(@&lt;span class="kwrd"&gt;State&lt;/span&gt;) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @County = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@County,2,len(@County) - 2)&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; @ZipClass = &lt;span class="kwrd"&gt;substring&lt;/span&gt;(@ZipClass,2,len(@ZipClass) - 2)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--&lt;span class="kwrd"&gt;Update&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;update&lt;/span&gt; Zip_Codes&lt;br /&gt;&lt;span class="kwrd"&gt;set&lt;/span&gt; ZipCode=@ZipCode,&lt;br /&gt;    Latitude = @Latitude,&lt;br /&gt;    Longitude = @Longitude,&lt;br /&gt;    City = @City,&lt;br /&gt;    &lt;span class="kwrd"&gt;State&lt;/span&gt; = @&lt;span class="kwrd"&gt;State&lt;/span&gt;,&lt;br /&gt;    County = @County,&lt;br /&gt;    ZipClass = @ZipClass&lt;br /&gt;&lt;span class="kwrd"&gt;where&lt;/span&gt;&lt;br /&gt;--Uniqueness Checking&lt;br /&gt;ZipCode = @ZipCodeOriginal&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;FETCH&lt;/span&gt; &lt;span class="kwrd"&gt;NEXT&lt;/span&gt; &lt;span class="kwrd"&gt;FROM&lt;/span&gt; c1&lt;br /&gt;&lt;span class="kwrd"&gt;Into&lt;/span&gt; @ZipCode,@Latitude,@Longitude,@City,@&lt;span class="kwrd"&gt;State&lt;/span&gt;,@County,@ZipClass&lt;br /&gt;&lt;span class="kwrd"&gt;END&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;CLOSE&lt;/span&gt; c1&lt;br /&gt;&lt;span class="kwrd"&gt;DEALLOCATE&lt;/span&gt; c1&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-460207857393008799?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/460207857393008799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/460207857393008799'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/finding-distance-based-on-zipcode-or.html' title='Finding Distance based on Zipcode or City Name for USA'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6057500456696744312</id><published>2010-04-27T04:53:00.001-07:00</published><updated>2010-04-27T04:53:34.709-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Converter'/><title type='text'>C++ to C# Converter Utility</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;C++ to C# Converter Utility&lt;br /&gt;&lt;br /&gt;For migration project from C++ to C# Converter, a online utility might be helpful for getting startup stuff ready.&lt;br /&gt;&lt;br /&gt;Check out &lt;a href="http://code2code.net/" target="_blank"&gt;&lt;strong&gt;C++ to C# Converter&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-6057500456696744312?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6057500456696744312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/6057500456696744312'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/c-to-c-converter-utility.html' title='C++ to C# Converter Utility'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-7084830936967750825</id><published>2010-04-27T04:52:00.000-07:00</published><updated>2010-04-27T04:52:14.391-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net Assemblies'/><title type='text'>Assemblies Concept in .Net</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-weight: bold;"&gt;Understanding Assemblies Concept in .Net&lt;br /&gt;&lt;br /&gt;What is Assemblies in .Net?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Assembly is a logical collection of smallest unit in .Net Framework.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example: .DLL File contains the application code, the .aspx file, .ascx user controls, .gif, .bmp, .ico file and other files like Resource file (.resx), etc.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;In summary, Assemblies is a basic fundamental unit of application development and deployment in the .Net Framework&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;An assembly contains the MSIL code, which the common language runtime executes,  and the type metadata. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;An assembly also contains an assembly manifest that contains the assembly metadata. This metadata contains information about the assembly version, &lt;span style="color: blue ! important; font-family: Verdana,sans-serif; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: 400; position: relative;"&gt;its &lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: 400; position: relative;"&gt; &lt;/span&gt;&lt;span class="kLink" style="color: blue ! important; font-weight: 400; position: relative;"&gt;security&lt;/span&gt;&lt;/span&gt; identity, the resources required by the assembly, and the scope of the  assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Assemblies are the smallest units to which the .NET Framework grants permissions. They provide security boundaries within the .NET Framework. You specify the permission required by your application while building assemblies. When the assembly is loaded into the runtime, the assembly sends a request to the runtime to grant the permission.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;So now, lets Get Started with Assemblies .Net and understand concept of Assemblies in .Net by easy step by step explanation.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Assembly Manifest?&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Assembly Manifest contains the metadata for the assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Example, Assembly Manifest contains&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Name and Version Information of Assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Files (or Resource) that are made up the assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Set of permissions required for the assembly to run properly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;And few other details depends on assembly.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;How Assembly Manifest is useful?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;When the Common Language Runtime (CLR) loads an assembly, it first reads the manifest to get the information regarding assembly.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;Benefits of Assemblies?&lt;/span&gt;&lt;/span&gt;&lt;ol style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;It is used in &lt;span style="font-weight: bold;"&gt;Versioning&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;For Type Identification&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;For Security&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;For Deployment&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;For Referencing.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Improving Application Performance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Better Code Management and Maintenance&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is "DLL Hell" Problem?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;"DLL Hell" problem occurs due to version incompatibility of dll's.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;DLL HELL is the problem that occures when an installation of a newer application might break or hinder other application as newer DLLs are copied into the system and the older application do not support or not compatible with them. .net overcomes this problem by supporting multiple versions of an assembly at any given time.this is called &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;side-by-side component versioning&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-style: italic;"&gt;More on "DLL Hell" Problem.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-style: italic;"&gt;"DLL Hell" is a problem occurs when multiple applications attempt to share a common component like a dynamic link library (DLL) or a Component Object Model (COM) class. In the most typical case, one application will install a new version of the shared component that is not backward compatible with the version already on the machine. Although the application that has just been installed works well, existing applications that depended on a previous version of the shared component might no longer work. &lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How Assembly used in Avoiding "DLL Hell" Problem?&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;"DLL Hell" Problem is solved in .Net using Assembly.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Each assembly has a version number. All the types and resources in an assembly share the same version number to make it easy for applications to refer to the correct version of files and avoid problem of "DLL Hell". Thus assemblies allows the execution of multiple versions of the same assembly on the same machine. The side-by-side execution of assemblies overcomes the problem known as "&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;DLL hell&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;," which is one of the major problems associated  with COM applications.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How Assembly can Improve Application Performance?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;CLR is place where .Net Application codes gets compiled. Whenever you made an request to ASP.NET page, the page gets compiled first and then is transferred to the user. The compilation process is also completed in two steps.&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;1. An IL (&lt;b&gt;&lt;i&gt;Intermediate  Language&lt;/i&gt;&lt;/b&gt;) is generated and then this is handed over for JIT&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;2. JIT (&lt;b&gt;&lt;i&gt;Just  In Time&lt;/i&gt;&lt;/b&gt;) compilation  which produces the machine code and our pages  get displayed with their dynamic content.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;The performance of our web application can be improved by creating pre-compiled libraries of IL which can then be handed over to JIT directly without having the inclusion of an extra process to make the conversion. This method is called &lt;span style="font-weight: bold;"&gt;componentization&lt;/span&gt;. Components are pre-compiled set of classes  that have been developed in the form of &lt;b&gt;&lt;i&gt;DLL&lt;/i&gt;&lt;/b&gt; files and can then be  included within our projects. This is also known as an assembly.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How Assembly can be used for Better Code Management and Maintenance&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;As we use &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Componentization&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;(refer above description), if a code change require you need to change the component code compile it, so you do not require to change all the reference of code for minor change. For better understanding understand the example of component given below.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Types of Assemblies in .Net&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Static and Dynamic Assemblies&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Single-File and Multifile Assemblies&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Private and Shared Assemblies&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Satellite and Resource-only Assemblies&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Static Assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;A static assembly is created when you compile the program using any of the .NET  language compilers. A &lt;/span&gt;&lt;span class="emphasis" style="font-family: Arial,Helvetica,sans-serif;"&gt;static assembly&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; contains the types, interfaces, and various resources required by the assembly. A static assembly is stored on the hard disk in the form of a portable executable (.exe or .dll) file. In a simple term, when you compile through VS.Net it generates files which are physically stored on the disk, this files are called static assembly.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Dynamic Assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Assemblies which are created and execute on the fly are called dynamic assembly. You can create dynamic assembly through System.Reflection.Emit namespace.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Single-File Assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;A single-file assembly consists of a single .exe or .dll file.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://dotnetguts.blogspot.com/2007/09/creating-component-in-net.html" style="font-family: Arial,Helvetica,sans-serif;"&gt;Example of Single File Assembly&lt;/a&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;In the example the Shape.dll generated is a Single File Assembly.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Multifile Assembly?&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;A multifile assembly is an assembly that can include multiple file, but it should contain atleast one .dll or .exe file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Assembly manifest in multifile assembly can be attached to any assembly file or can be created seperately just the manifest.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Satellite Assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Resource-only assemblies are assembly's that stores only resource and no code. example, Image. Resource-only assemblies that store the culture-specific information are known as satellite assemblies.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Private Assembly?&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;When you deploy an assembly which can be use by single application, than this assembly is called a private assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Private assemblies can be used by only one application they are deployed with.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Private assemblies are deployed in the directory where the main application is installed.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is Shared Assembly?&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;When you deploy an assembly which can be used by several application, than this assembly is called shared assembly.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Shared assemblies are stored in a special folder called Global Assembly Cache (GAC), which is accessible by all applications.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Shared assemblies must have a strong name. A strong name consists of an assembly name, a version number, a culture, a public key and an optional digital signature.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;GAC is capable of maintaining multiple copies of an assembly with the same name but different versions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How to assign strong name to assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You can use strong name tool &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;sn.exe tool &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;to assign strong name to assembly.  It provides&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Name&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Version&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Integrity Protection.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How to provide High Security to assembly?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You can provide high security to assembly with the help of File Signing Tool, &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;signcode.exe&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;. It attach a publisher's digital signature to assembly. You can sign an assembly with both Strong Name Tool and the File Signing Tool, but when you use both make sure that you use Strong Name Tool before you use the File Signing Tool.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;How to view content of GAC?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;To view content of GAC open explorer and go to c:\Windows\assembly.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Native Assembly Vs JIT-Compiled Assembly&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Assemblies store code in the MSIL (Microsoft Intermediate Language) Format. When a method is invoked for the first time, the CLR just-in-time (JIT) compiles that method into native machine code. The native code is stored in memory and directly used for subsequent calls to this method. In the JIT compilation mode, a method is slow when it is called for the first time because an additional step of compilation is invoked, but any subsequent calls to that method will run as fast as native code itself.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; When you view the GAC, note that some assemblies have their type marked as native images, meaning that these assemblies were precompiled in native code before they were installed in the native image cache. The advangate of using a native image is that even the first call of any method in an assembly will be as fast as its subsequent calls. You too can create a native image for your assembly by using the &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Native Image Generator Tool&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;, &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;ngen.exe&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;, which is installed as part of .net framework.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-7084830936967750825?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7084830936967750825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/7084830936967750825'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/assemblies-concept-in-net.html' title='Assemblies Concept in .Net'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-9123156168972435873</id><published>2010-04-27T04:49:00.000-07:00</published><updated>2010-04-27T04:49:15.322-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008'/><title type='text'>New Features in Visual Studio 2008</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: x-small;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;Useful links for Visual Studio 2008&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb386063%28VS.90%29.aspx" style="font-weight: bold;" target="_blank"&gt;A List of Features included in VS.Net 2008&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms165079%28VS.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl79|ctl00_LibFrame_ctl80',this);" style="font-weight: bold;" target="_blank"&gt;Getting Started with Visual Studio&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: x-small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a class="CollapseRegionLink" href="http://msdn2.microsoft.com/en-us/library/bb386063%28VS.90%29.aspx#" onclick="ShowHideCollapsibleArea('ctl00_LibFrame_ctl63fa4e0fb','ctl00_LibFrame_ctl63img');return false;" style="font-weight: bold;" target="_blank"&gt;More About What's New in Languages and Technologies&lt;/a&gt;&lt;br /&gt;&lt;a href="" name="sectionToggle7"&gt;&lt;/a&gt;&lt;div class="HxLinkTable"&gt;&lt;table class="HxLinkTable"&gt;&lt;thead&gt;&lt;tr valign="top"&gt;&lt;th style="text-align: center;"&gt;Topic&lt;/th&gt;&lt;th style="text-align: center;"&gt;Location&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb397835%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl65',this);" target="_blank" title=".NET Compact Framework Version 3.5"&gt;.NET Compact Framework Version 3.5&lt;/a&gt;&lt;/td&gt;&lt;td&gt;.NET Compact Framework&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb332048%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl66',this);" target="_blank" title=".NET Framework Version 3.5"&gt;.NET Framework Version 3.5&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Understanding  the .NET Framework&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/ex6y04yf%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl67',this);" target="_blank" title="What's New in ADO.NET"&gt;What's New in ADO.NET&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Accessing Data with ADO.NET&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb386044%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl68',this);" target="_blank" title="What's New in Architecture Edition"&gt;What's New in Architecture Edition&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Visual Studio Enterprise - User Interface&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/87sfaezs%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl69',this);" target="_blank" title="What's New in Data"&gt;What's New in Data&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Data Access in Visual Studio&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/5h2db54x%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl70',this);" target="_blank" title="What's New in Deployment"&gt;What's New in Deployment&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Deployment in Visual Studio&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb384036%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl71',this);" target="_blank" title="What's New in Smart Device Projects"&gt;What's New in Smart Device Projects&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Smart Device Projects&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/y17w47af%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl72',this);" target="_blank" title="What's New in the Visual Basic Language"&gt;What's New in the Visual Basic Language&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Visual Basic Language Reference&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/01xdt7cs%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl73',this);" target="_blank" title="What's New in the Visual Studio Debugger"&gt;What's New in the Visual Studio Debugger&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Debugging with Visual Studio&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/we86c8x2%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl74',this);" target="_blank" title="What's New in Visual Basic"&gt;What's New in Visual Basic&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Visual Basic Concepts&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb383815%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl75',this);" target="_blank" title="What's New in Visual C#"&gt;What's New in Visual C#&lt;/a&gt;&lt;/td&gt;&lt;td&gt;C# Programmer's Reference&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb384632%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl76',this);" target="_blank" title="What's New in Visual C++ 2008"&gt;What's New in Visual C++ 2008&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Getting Started with Visual C++&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/bb385832%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl77',this);" target="_blank" title="What's New in Visual Studio Team System"&gt;What's New in Visual Studio Team System&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Visual Studio Team System Help&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;a class="HxLinkTable" href="http://msdn2.microsoft.com/en-us/86bkz018%28vs.90%29.aspx" onclick="javascript:Track('ctl00_LibFrame_ctl64|ctl00_LibFrame_ctl78',this);" target="_blank" title="What's New in Visual Studio Tools for Office"&gt;What's New in Visual Studio Tools for Office&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Visual Studio Tools for Office Concepts&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-9123156168972435873?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/9123156168972435873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/9123156168972435873'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/new-features-in-visual-studio-2008.html' title='New Features in Visual Studio 2008'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-9185952520970265964</id><published>2010-04-27T04:47:00.001-07:00</published><updated>2010-04-27T04:47:50.883-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DOM'/><title type='text'>What is XML DOM (Document Object Model)</title><content type='html'>&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-weight: bold;"&gt;Why is XML DOM?&lt;/span&gt;&lt;br /&gt;XML is a standard by which two incompatible system can communicate. XML DOM works with XML data in your application. It is used to read, write and modify XML document programatically.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Understanding Nodes in XML Document&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;/span&gt;&lt;table class="normal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td style="font-weight: bold;"&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Node type&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;td style="font-weight: bold;"&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Root&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;This node type is the container for all the nodes and is also  known as the &lt;span class="emphasis"&gt;document&lt;/span&gt; &lt;span class="emphasis"&gt;root&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Element&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;This node type represents element nodes.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Attribute&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;This node type represents the attributes of an element  node.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;Text&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;td&gt; &lt;div class="normal"&gt;&lt;span style="font-size: x-small;"&gt;This node type represents the text that belongs to a particular  node or to an attribute.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-size: x-small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Example of XML Document, employee.xml&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;employees&gt;&lt;/employees&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;employee&gt;&lt;/employee&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;firstname&gt;Ajay&lt;/firstname&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;lastname&gt;Thakur&lt;/lastname&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;dateofbirth&gt;08/09/1968&lt;/dateofbirth&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;dateofjoining&gt;04/01/1992&lt;/dateofjoining&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;address&gt;2010 Stanley Dr., Charlotte, NJ 08830&lt;/address&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;basic&gt;2100&lt;/basic&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;designation&gt;HR Manager&lt;/designation&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;leavebalance&gt;12&lt;/leavebalance&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;employee&gt;&lt;/employee&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;firstname&gt;Ganesh&lt;/firstname&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;lastname&gt;Patil&lt;/lastname&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;dateofbirth&gt;01/12/1972&lt;/dateofbirth&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;dateofjoining&gt;06/01/2000&lt;/dateofjoining&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;address&gt;7862 Freepoint Pkwy, Tampa, NJ 08820&lt;/address&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;basic&gt;1400&lt;/basic&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;designation&gt;Software Professional&lt;/designation&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;leavebalance&gt;4&lt;/leavebalance&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Understanding XML Document&lt;/span&gt;&lt;/span&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span&gt;Every XML Document contains a single root element that contains all other nodes of the XML Document. Here &lt;employees&gt; is a root element.&lt;/employees&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span&gt;XML Element is a Record which contains information.  Here &lt;employee&gt;&lt;/employee&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span&gt;XML Element Attribute further describe the Record details. Here &lt;firstname&gt; etc are XML Element Attributes.&lt;/firstname&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: x-small;"&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;What is XML Document Object?&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;XMLDocument provides an in-memory representation of and XML document.&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Example of XML Document&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Create a Asp.net Website&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Create a XML Document and name it employee.xml&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Loading of XML Document&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You can load xml document using XMLDocument object's load method&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;protected void Page_Load(object sender, EventArgs e)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;{&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    if (!Page.IsPostBack)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    {&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        XmlDocument EmpXMLDoc = new XmlDocument();&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;string XMLDocPath = Server.MapPath("Employee.xml");&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        EmpXMLDoc.Load(XMLDocPath);&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        Response.Write(EmpXMLDoc.InnerText.ToString());&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    }&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;}&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Saving XML Document&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You can save XML Document with XMLDocument.Save method&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Example:  XMLDocument.Save("Employee.xml");&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;Read XML Document and display&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;on WebPage&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;protected void Page_Load(object sender, EventArgs e)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;{&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    if (!Page.IsPostBack)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    {&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        XmlDocument EmpXMLDoc = new XmlDocument();&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;string XMLDocPath = Server.MapPath("Employee.xml");&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        EmpXMLDoc.Load(XMLDocPath);&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;            //Read XML Document&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;            //Note: Begin for ChildNode[1]&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;            foreach (&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;XmlNode&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; node1 in &lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;EmpXMLDoc.ChildNodes[1]&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        {           &lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;            foreach (XmlNode node2 in node1.ChildNodes)&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;            {               &lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;                Response.Write("&lt;b&gt;" + node2.Name + "&lt;/b&gt;: " + node2.InnerText + " ");&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;            }&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;            Response.Write("&lt;br /&gt;");&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;        }       &lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;    }&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;}&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"&gt;//Output&lt;/span&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;br style="font-family: Arial,Helvetica,sans-serif;" /&gt;&lt;a href="http://4.bp.blogspot.com/_nuQwSyDoLk8/Rv_cUZahXLI/AAAAAAAAAMA/34X_Rrqo5_A/s1600-h/xml1.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="font-family: Arial,Helvetica,sans-serif;" target="_blank"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5116049944693791922" src="http://4.bp.blogspot.com/_nuQwSyDoLk8/Rv_cUZahXLI/AAAAAAAAAMA/34X_Rrqo5_A/s400/xml1.JPG" style="cursor: pointer;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6078944045066267379-9185952520970265964?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/9185952520970265964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/9185952520970265964'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/what-is-xml-dom-document-object-model.html' title='What is XML DOM (Document Object Model)'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_nuQwSyDoLk8/Rv_cUZahXLI/AAAAAAAAAMA/34X_Rrqo5_A/s72-c/xml1.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-2830575506161638115</id><published>2010-04-27T04:45:00.001-07:00</published><updated>2010-04-27T04:45:26.547-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net Assemblies'/><title type='text'>FAQ for Assemblies in .Net</title><content type='html'>&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;strong&gt;Complete Information on .Net Assemblies working in the form of FAQ.&lt;/strong&gt;&lt;/span&gt; &lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.devtopics.com/net-assembly-faq-part-1/" target="_blank"&gt;.NET Assembly FAQ - Part 1&lt;/a&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.devtopics.com/net-assembly-faq-part-2-attributes/" target="_blank"&gt;.NET Assembly FAQ - Part 2 - Attributes&lt;/a&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/" target="_blank"&gt;.Net Assembly FAQ - Part 3- Strong Name and Signing&lt;/a&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.devtopics.com/net-assembly-faq-part-4-global-assembly-cache/" target="_blank"&gt;.NET Assembly FAQ - Part 4 - Global Assembly Cache&lt;/a&gt;&lt;/span&gt; &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/6078944045066267379-2830575506161638115?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2830575506161638115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/2830575506161638115'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/faq-for-assemblies-in-net.html' title='FAQ for Assemblies in .Net'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-4220404509928657116</id><published>2010-04-27T04:44:00.000-07:00</published><updated>2010-04-27T04:44:44.618-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dot Net Webservices'/><title type='text'>Free Web Services in .Net</title><content type='html'>&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;strong&gt;List of Free Web Services in .Net, this are some basic utility web services.&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/ws/WSDetails.aspx?WSID=9&amp;amp;CATID=2" target="_blank"&gt;Stock Quote Web Service in .Net&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/ws/WSDetails.aspx?WSID=10&amp;amp;CATID=2" target="_blank"&gt;Currency Convertor Web Service&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/ws/WSDetails.aspx?WSID=68&amp;amp;CATID=12" target="_blank"&gt;Weather Forecast Web Service&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/ws/WSDetails.aspx?WSID=64&amp;amp;CATID=12" target="_blank"&gt;Find Country based on User IP Web Service&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/WS/WSDetails.aspx?WSID=63&amp;amp;CATID=12" target="_blank"&gt;Translation Web Service&lt;/a&gt; (Translate data from one language to another)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/WS/WSDetails.aspx?CATID=4&amp;amp;WSID=60" target="_blank"&gt;Free SMS Sending Web Service&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/div&gt;&lt;ul style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;Free &lt;a href="http://www.xmethods.net/ve2/Directory.po;jsessionid=FAoFwsm2h7_-gbN2u6dpDBL5" target="_blank"&gt;Web Services on XMethods.Net&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.webservicex.net/" target="_blank"&gt;Free Web Service on WebServiceX.Net&lt;/a&gt;&lt;/span&gt;&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/6078944045066267379-4220404509928657116?l=vipinc007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4220404509928657116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6078944045066267379/posts/default/4220404509928657116'/><link rel='alternate' type='text/html' href='http://vipinc007.blogspot.com/2010/04/free-web-services-in-net.html' title='Free Web Services in .Net'/><author><name>Vipin Cherukara</name><uri>http://www.blogger.com/profile/17184458303089989459</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6078944045066267379.post-6113300803851567081</id><published>2010-04-27T04:43:00.000-07:00</published><updated>2010-04-27T04:43:04.763-07:0
