<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Galin Iliev [Galcho]  Blog!</title>
    <link>http://www.galcho.com/Blog/</link>
    <description>Walking on water and developing software from a specification are easy if both are frozen.</description>
    <copyright>Galin Iliev</copyright>
    <lastBuildDate>Mon, 09 Nov 2009 22:20:29 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>blog@galcho.com</managingEditor>
    <webMaster>blog@galcho.com</webMaster>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/galcho" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=734d91c9-a463-43be-8df9-bea421196434</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
          <tbody>
            <tr>
              <td valign="top" width="200">
                <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MicrosoftSDKforFacebook_C9B9/facebook%201_thumb%5B1%5D_2.jpg" rel="lightbox">
                  <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="facebook%201_thumb[1]" border="0" alt="facebook%201_thumb[1]" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MicrosoftSDKforFacebook_C9B9/facebook%201_thumb%5B1%5D_thumb.jpg" width="244" height="105" />
                </a>
              </td>
              <td valign="top">
Today Microsoft put live latest release of the Facebook .NET SDK  that supports
the newest Facebook services delivered through the <a href="http://wiki.developers.facebook.com/index.php/Using_the_Open_Stream_API">Facebook
Open Stream API</a> and can be used in any of your favorite Microsoft development
platforms; Silverlight, WPF, ASP.NET, ASP.NET MVC, and Windows Forms. 
</td>
            </tr>
          </tbody>
        </table>
        <p>
Get started today at <a href="http://www.microsoft.com/facebooksdk">www.microsoft.com/facebooksdk</a>. 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=734d91c9-a463-43be-8df9-bea421196434" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/Sor__QcbkEA" height="1" width="1" /></body>
      <title>Microsoft SDK for Facebook</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/Sor__QcbkEA/PermaLink.aspx</link>
      <pubDate>Mon, 09 Nov 2009 22:20:29 GMT</pubDate>
      <description>&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;table border="0" cellspacing="0" cellpadding="0" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="200"&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MicrosoftSDKforFacebook_C9B9/facebook%201_thumb%5B1%5D_2.jpg" rel="lightbox"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="facebook%201_thumb[1]" border="0" alt="facebook%201_thumb[1]" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MicrosoftSDKforFacebook_C9B9/facebook%201_thumb%5B1%5D_thumb.jpg" width="244" height="105" /&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top"&gt;
Today Microsoft put live latest release of the Facebook .NET SDK&amp;#160; that supports
the newest Facebook services delivered through the &lt;a href="http://wiki.developers.facebook.com/index.php/Using_the_Open_Stream_API"&gt;Facebook
Open Stream API&lt;/a&gt; and can be used in any of your favorite Microsoft development
platforms; Silverlight, WPF, ASP.NET, ASP.NET MVC, and Windows Forms. 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
Get started today at &lt;a href="http://www.microsoft.com/facebooksdk"&gt;www.microsoft.com/facebooksdk&lt;/a&gt;. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=734d91c9-a463-43be-8df9-bea421196434" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</comments>
      <category>.NET Development</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=734d91c9-a463-43be-8df9-bea421196434</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <table border="0" cellspacing="0" cellpadding="0" width="724">
          <tbody>
            <tr>
              <td valign="top" width="200">
                <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VisualStudio2010Beta2ishere_DABD/vs2010logo%5B1%5D_2.png" rel="lightbox">
                  <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010logo[1]" border="0" alt="vs2010logo[1]" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VisualStudio2010Beta2ishere_DABD/vs2010logo%5B1%5D_thumb.png" width="244" height="98" />
                </a>
              </td>
              <td valign="top" width="522">
Microsoft Visual Studio 2010 Beta 2 is here with a new logo. 
<br />
It can be <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx">downloaded
from here</a> . 
<br />
 </td>
            </tr>
          </tbody>
        </table>
        <p>
There are many walkthroughs that can help you reveal new features in your favorite
programming IDE
</p>
        <h4>
          <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx">Visual Studio
2010 and .NET Framework 4 Beta 2 Walkthroughs</a>
        </h4>
        <ul>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Sharepoint">SharePoint
Development</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Silverlight">Silverlight
and WPF Data Binding</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Core">Core Coding Experience</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Native">Native Development</a>
          </li>
        </ul>
        <ul>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Parallel">Parallel
Computing</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Extensibility">Visual
Studio Extensibility</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Office">Office Development</a>
          </li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Workflow">Workflow
Foundation</a>
          </li>
        </ul>
        <p>
Enjoy!
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=9e8d7b14-b023-405d-9a0a-ece4943f859e" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/e-s-fQw00Xg" height="1" width="1" /></body>
      <title>Visual Studio 2010 Beta 2 is here</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/e-s-fQw00Xg/PermaLink.aspx</link>
      <pubDate>Mon, 19 Oct 2009 23:06:18 GMT</pubDate>
      <description>&lt;table border="0" cellspacing="0" cellpadding="0" width="724"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="200"&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VisualStudio2010Beta2ishere_DABD/vs2010logo%5B1%5D_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010logo[1]" border="0" alt="vs2010logo[1]" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VisualStudio2010Beta2ishere_DABD/vs2010logo%5B1%5D_thumb.png" width="244" height="98" /&gt;&lt;/a&gt; 
&lt;/td&gt;
&lt;td valign="top" width="522"&gt;
Microsoft Visual Studio 2010 Beta 2 is here with a new logo. 
&lt;br /&gt;
It can be &lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"&gt;downloaded
from here&lt;/a&gt; . 
&lt;br /&gt;
&amp;#160;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
There are many walkthroughs that can help you reveal new features in your favorite
programming IDE
&lt;/p&gt;
&lt;h4&gt;&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx"&gt;Visual Studio
2010 and .NET Framework 4 Beta 2 Walkthroughs&lt;/a&gt;
&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Sharepoint"&gt;SharePoint
Development&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Silverlight"&gt;Silverlight
and WPF Data Binding&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Core"&gt;Core Coding Experience&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Native"&gt;Native Development&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Parallel"&gt;Parallel
Computing&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Extensibility"&gt;Visual
Studio Extensibility&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Office"&gt;Office Development&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Workflow"&gt;Workflow
Foundation&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Enjoy!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=9e8d7b14-b023-405d-9a0a-ece4943f859e" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</comments>
      <category>.NET Development</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=9e8d7b14-b023-405d-9a0a-ece4943f859e</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=64624265-764d-475e-b3a4-f7792d57c7b8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just found very useful command from TFS Power Toys: tfpt unshelve. It’s capable of
migrating a shelveset from a branch to another, it does that by performing a baseless
merge, so you will need to resolve the conflicts produced. The syntax of the command
looks like the following:
</p>
        <div>
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span> tfpt
unshelve shelvsetName /migrate /source:$/SourceBranch /target:$/TargetBranch</pre>
          </div>
        </div>
        <div> 
</div>
        <div>(Reposted from <a href="http://blogs.msdn.com/mohamedg/archive/2009/04/30/how-to-move-a-shelveset-to-another-branch.aspx">here</a>)
</div>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=64624265-764d-475e-b3a4-f7792d57c7b8" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/7LMJAERAhf4" height="1" width="1" /></body>
      <title>[TFS] How to: Move a shelve set to another branch?</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/7LMJAERAhf4/PermaLink.aspx</link>
      <pubDate>Fri, 16 Oct 2009 22:34:38 GMT</pubDate>
      <description>&lt;p&gt;
Just found very useful command from TFS Power Toys: tfpt unshelve. It’s capable of
migrating a shelveset from a branch to another, it does that by performing a baseless
merge, so you will need to resolve the conflicts produced. The syntax of the command
looks like the following:
&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; tfpt
unshelve shelvsetName /migrate /source:$/SourceBranch /target:$/TargetBranch&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&amp;#160;
&lt;/div&gt;
&lt;div&gt;(Reposted from &lt;a href="http://blogs.msdn.com/mohamedg/archive/2009/04/30/how-to-move-a-shelveset-to-another-branch.aspx"&gt;here&lt;/a&gt;)
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=64624265-764d-475e-b3a4-f7792d57c7b8" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</comments>
      <category>.NET Development</category>
      <category>Tip&amp;Tricks</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=64624265-764d-475e-b3a4-f7792d57c7b8</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There are several articles showing how to host non-http protocols on IIS7. Some steps
are like black box while others could easily be misconfigured.  
</p>
        <p>
The tasks is complicated additionally by obscured error messages returned in the browser
:)
</p>
        <p>
So let’s started (the example below is in Windows Server 2008. In Vista/Windows7 is
similar but not exactly same):
</p>
        <h3>Phase 1: Prepare server (prerequisites)
</h3>
        <p>
          <strong>1. Add Web Server Role</strong>
        </p>
        <ul>
          <li>
Select following features as a minimum: 
</li>
          <li>
Common HTTP Features - all 
</li>
          <li>
Application Development 
</li>
          <li>
ASP.NET 
</li>
          <li>
.NET Extensibility 
</li>
          <li>
ISAPI extensions 
</li>
          <li>
ISAPI Filters 
</li>
          <li>
Security – all 
</li>
        </ul>
        <p>
          <strong>2. Add Application Role</strong>
        </p>
        <p>
Add Application Server role and select all features (confirm all dependencies):
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_2.png" rel="lightbox">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb.png" width="648" height="493" />
          </a>
        </p>
        <p>
With this Phase 1 is complete. We should be able to navigate to Internet Information
Services (IIS) Manage console in Administrative tools.
</p>
        <p>
Phase 2: Deploying WCF application
</p>
        <p>
1. Build WCF application with netTcpBinding :) (kindda obvious). For service endpoints
leave address <strong>relative or empty</strong>.
</p>
        <div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, 'Courier New', courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px">
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span>
              <span style="color: #0000ff">&lt;</span>
              <span style="color: #800000">services</span>
              <span style="color: #0000ff">&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 2:</span>
              <span style="color: #0000ff">&lt;</span>
              <span style="color: #800000">service</span>
              <span style="color: #ff0000">name</span>
              <span style="color: #0000ff">="Microsoft.Test.Service"</span>
              <span style="color: #ff0000">behaviorConfiguration</span>
              <span style="color: #0000ff">="Service.ServiceBehavior"</span>
              <span style="color: #0000ff">&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 3:</span>
              <span style="color: #008000">&lt;!--
Service Endpoints --&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 4:</span>
              <span style="color: #0000ff">&lt;</span>
              <span style="color: #800000">endpoint</span>
              <span style="color: #ff0000">name</span>
              <span style="color: #0000ff">="netTcp"</span>
              <strong>
                <span style="color: #ff0000">address</span>
                <span style="color: #0000ff">=""</span>
              </strong>
              <span style="color: #ff0000">binding</span>
              <span style="color: #0000ff">="netTcpBinding"</span>
              <span style="color: #ff0000">bindingConfiguration</span>
              <span style="color: #0000ff">="bigMessages"</span>
              <span style="color: #ff0000">contract</span>
              <span style="color: #0000ff">="Microsoft.Test.IService"</span>
              <span style="color: #0000ff">/&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 5:</span>
              <span style="color: #0000ff">&lt;</span>
              <span style="color: #800000">endpoint</span>
              <span style="color: #ff0000">name</span>
              <span style="color: #0000ff">="mexNetTcp"</span>
              <strong>
                <span style="color: #ff0000">address</span>
                <span style="color: #0000ff">="mex"</span>
              </strong>
              <span style="color: #ff0000">binding</span>
              <span style="color: #0000ff">="mexTcpBinding"</span>
              <span style="color: #ff0000">contract</span>
              <span style="color: #0000ff">="IMetadataExchange"</span>
              <span style="color: #0000ff">/&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 6:</span>
              <span style="color: #0000ff">&lt;/</span>
              <span style="color: #800000">service</span>
              <span style="color: #0000ff">&gt;</span>
            </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 7:</span>
              <span style="color: #0000ff">&lt;/</span>
              <span style="color: #800000">services</span>
              <span style="color: #0000ff">&gt;</span>
            </pre>
          </div>
        </div>
        <p>
2. Create website that will host it in IIS
</p>
        <p>
Since it is not a challenge to create it via IIS Manager here is how it can be achieved
via script (JS). This can be used as custom action in WiX/MSI as well
</p>
        <div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 0px; width: 97.5%; padding-right: 4px; font-family: consolas, 'Courier New', courier, monospace; max-height: 2000px; font-size: 8pt; overflow: hidden; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px">
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span>
              <span style="color: #0000ff">var</span> adminManager
= <span style="color: #0000ff">new</span> ActiveXObject(<span style="color: #006080">'Microsoft.ApplicationHost.WritableAdminManager'</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 2:</span> adminManager.CommitPath
= <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 3:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 4:</span>
              <span style="color: #0000ff">var</span> sitesSection
= adminManager.GetAdminSection(<span style="color: #006080">"system.applicationHost/sites"</span>, <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 5:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 6:</span>
              <span style="color: #0000ff">var</span> sitesCollection
= sitesSection.Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 7:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 8:</span>
              <span style="color: #0000ff">var</span> siteElement
= sitesCollection.CreateNewElement(<span style="color: #006080">"site"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 9:</span> siteElement.Properties.Item(<span style="color: #006080">"name"</span>).Value
= <span style="color: #006080">"WcfNetTcp"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 10:</span> siteElement.Properties.Item(<span style="color: #006080">"id"</span>).Value
= 7;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 11:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 12:</span>
              <span style="color: #0000ff">var</span> bindingsCollection
= siteElement.ChildElements.Item(<span style="color: #006080">"bindings"</span>).Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 13:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 14:</span>
              <span style="color: #0000ff">var</span> bindingElement
= bindingsCollection.CreateNewElement(<span style="color: #006080">"binding"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 15:</span> bindingElement.Properties.Item(<span style="color: #006080">"protocol"</span>).Value
= <span style="color: #006080">"http"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 16:</span> bindingElement.Properties.Item(<span style="color: #006080">"bindingInformation"</span>).Value
= <span style="color: #006080">"*:80:"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 17:</span> bindingsCollection.AddElement(bindingElement);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 18:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 19:</span>
              <span style="color: #0000ff">var</span> siteCollection
= siteElement.Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 20:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 21:</span>
              <span style="color: #0000ff">var</span> applicationElement
= siteCollection.CreateNewElement(<span style="color: #006080">"application"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 22:</span> applicationElement.Properties.Item(<span style="color: #006080">"path"</span>).Value
= <span style="color: #006080">"D:\\Hosting\\WcfApp"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 23:</span> applicationElement.Properties.Item(<span style="color: #006080">"applicationPool"</span>).Value
= <span style="color: #006080">"DefaultAppPool"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 24:</span> siteCollection.AddElement(applicationElement);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 25:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 26:</span> sitesCollection.AddElement(siteElement);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 27:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 28:</span> adminManager.CommitChanges();</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 29:</span>  </pre>
          </div>
        </div>
        <p>
3. Add net.tcp protocol:
</p>
        <p>
Here is how it should look from GUI:
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_6.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb_2.png" width="445" height="272" />
          </a>
        </p>
        <p>
And the script for it
</p>
        <div>
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span>
              <span style="color: #0000ff">var</span> adminManager
= <span style="color: #0000ff">new</span> ActiveXObject(<span style="color: #006080">'Microsoft.ApplicationHost.WritableAdminManager'</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 2:</span> adminManager.CommitPath
= <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 3:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 4:</span>
              <span style="color: #0000ff">var</span> sitesSection
= adminManager.GetAdminSection(<span style="color: #006080">"system.applicationHost/sites"</span>, <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 5:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 6:</span>
              <span style="color: #0000ff">var</span> sitesCollection
= sitesSection.Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 7:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 8:</span>
              <span style="color: #0000ff">var</span> siteElementPos
= FindElement(sitesCollection, <span style="color: #006080">"site"</span>,
[<span style="color: #006080">"name"</span>, <span style="color: #006080">"WcfNetTcp"</span>]);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 9:</span>
              <span style="color: #0000ff">if</span> (siteElementPos
== -1) <span style="color: #0000ff">throw</span><span style="color: #006080">"Element
not found!"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 10:</span>
              <span style="color: #0000ff">var</span> siteElement
= sitesCollection.Item(siteElementPos);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 11:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 12:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 13:</span>
              <span style="color: #0000ff">var</span> bindingsCollection
= siteElement.ChildElements.Item(<span style="color: #006080">"bindings"</span>).Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 14:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 15:</span>
              <span style="color: #0000ff">var</span> bindingElement
= bindingsCollection.CreateNewElement(<span style="color: #006080">"binding"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 16:</span> bindingElement.Properties.Item(<span style="color: #006080">"protocol"</span>).Value
= <span style="color: #006080">"net.tcp"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 17:</span> bindingElement.Properties.Item(<span style="color: #006080">"bindingInformation"</span>).Value
= <span style="color: #006080">"809:*"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 18:</span> bindingsCollection.AddElement(bindingElement);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 19:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 20:</span> adminManager.CommitChanges();</pre>
          </div>
        </div>
        <p>
4. Enable net.tcp for website (Virtual Application) that hosts Wcf Service – in this
example we’re hosting in the root of website
</p>
        <p>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_8.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb_3.png" width="423" height="313" />
          </a>
        </p>
        <p>
And of course the script:
</p>
        <div>
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span>
              <span style="color: #0000ff">var</span> adminManager
= <span style="color: #0000ff">new</span> ActiveXObject(<span style="color: #006080">'Microsoft.ApplicationHost.WritableAdminManager'</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 2:</span> adminManager.CommitPath
= <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 3:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 4:</span>
              <span style="color: #0000ff">var</span> sitesSection
= adminManager.GetAdminSection(<span style="color: #006080">"system.applicationHost/sites"</span>, <span style="color: #006080">"MACHINE/WEBROOT/APPHOST"</span>);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 5:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 6:</span>
              <span style="color: #0000ff">var</span> sitesCollection
= sitesSection.Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 7:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 8:</span>
              <span style="color: #0000ff">var</span> siteElementPos
= FindElement(sitesCollection, <span style="color: #006080">"site"</span>,
[<span style="color: #006080">"name"</span>, <span style="color: #006080">"WcfNetTcp"</span>]);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 9:</span>
              <span style="color: #0000ff">if</span> (siteElementPos
== -1) <span style="color: #0000ff">throw</span><span style="color: #006080">"Element
not found!"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 10:</span>
              <span style="color: #0000ff">var</span> siteElement
= sitesCollection.Item(siteElementPos);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 11:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 12:</span>
              <span style="color: #0000ff">var</span> siteCollection
= siteElement.Collection;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 13:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 14:</span>
              <span style="color: #0000ff">var</span> applicationElementPos
= FindElement(siteCollection, <span style="color: #006080">"application"</span>,
[<span style="color: #006080">"path"</span>, <span style="color: #006080">"/"</span>]);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 15:</span>
              <span style="color: #0000ff">if</span> (applicationElementPos
== -1) <span style="color: #0000ff">throw</span><span style="color: #006080">"Element
not found!"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 16:</span>
              <span style="color: #0000ff">var</span> applicationElement
= siteCollection.Item(applicationElementPos);</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 17:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 18:</span> applicationElement.Properties.Item(<span style="color: #006080">"enabledProtocols"</span>).Value
= <span style="color: #006080">"http,net.tcp"</span>;</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 19:</span>  </pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 20:</span> adminManager.CommitChanges();</pre>
          </div>
        </div>
        <p>
          <strong>
            <u>Warning: Do not put any spaces in “Enabled Protocols” field. Although it
might works for HTTP it doesn’t for net.tcp.</u>
          </strong>
        </p>
        <p>
5. (Optional) Run in elevated mode (As Administrator): 
</p>
        <div>
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span> “%WINDIR%\Microsoft.NET\Framework\v3.0\Windows
Communication Foundation\ServiceModelReg.exe" –i</pre>
          </div>
        </div>
        <p>
I will cover why it is optional in next posts.
</p>
        <p>
Note: Scripts are generated using IIS 7.5 IIS Management console and Windows 7
</p>
        <p>
        </p>
        <p>
Hope that helps.
</p>
        <p>
P.S. <a href="http://www.galcho.com/blog/content/binary/findElement.zip">Here is the
helper js function FindElement().</a> It is slightly modified from original generated
by IIS Manager so it will compare values in case insensitive way.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/9sdNUlN54K4" height="1" width="1" /></body>
      <title>Hosting WCF service over net.tcp protocol in IIS7 (WAS)</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/9sdNUlN54K4/PermaLink.aspx</link>
      <pubDate>Fri, 16 Oct 2009 22:28:33 GMT</pubDate>
      <description>&lt;p&gt;
There are several articles showing how to host non-http protocols on IIS7. Some steps
are like black box while others could easily be misconfigured.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
The tasks is complicated additionally by obscured error messages returned in the browser
:)
&lt;/p&gt;
&lt;p&gt;
So let’s started (the example below is in Windows Server 2008. In Vista/Windows7 is
similar but not exactly same):
&lt;/p&gt;
&lt;h3&gt;Phase 1: Prepare server (prerequisites)
&lt;/h3&gt;
&lt;p&gt;
&lt;strong&gt;1. Add Web Server Role&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Select following features as a minimum: 
&lt;/li&gt;
&lt;li&gt;
Common HTTP Features - all 
&lt;/li&gt;
&lt;li&gt;
Application Development 
&lt;/li&gt;
&lt;li&gt;
ASP.NET 
&lt;/li&gt;
&lt;li&gt;
.NET Extensibility 
&lt;/li&gt;
&lt;li&gt;
ISAPI extensions 
&lt;/li&gt;
&lt;li&gt;
ISAPI Filters 
&lt;/li&gt;
&lt;li&gt;
Security – all 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;strong&gt;2. Add Application Role&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Add Application Server role and select all features (confirm all dependencies):
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_2.png" rel="lightbox"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb.png" width="648" height="493" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
With this Phase 1 is complete. We should be able to navigate to Internet Information
Services (IIS) Manage console in Administrative tools.
&lt;/p&gt;
&lt;p&gt;
Phase 2: Deploying WCF application
&lt;/p&gt;
&lt;p&gt;
1. Build WCF application with netTcpBinding :) (kindda obvious). For service endpoints
leave address &lt;strong&gt;relative or empty&lt;/strong&gt;.
&lt;/p&gt;
&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;Microsoft.Test.Service&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;Service.ServiceBehavior&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt; &lt;span style="color: #008000"&gt;&amp;lt;!--
Service Endpoints --&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;netTcp&amp;quot;&lt;/span&gt; &lt;strong&gt;&lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;&amp;quot;&lt;/span&gt;&lt;/strong&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;netTcpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;bigMessages&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;Microsoft.Test.IService&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mexNetTcp&amp;quot;&lt;/span&gt; &lt;strong&gt;&lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mex&amp;quot;&lt;/span&gt;&lt;/strong&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mexTcpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;IMetadataExchange&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
2. Create website that will host it in IIS
&lt;/p&gt;
&lt;p&gt;
Since it is not a challenge to create it via IIS Manager here is how it can be achieved
via script (JS). This can be used as custom action in WiX/MSI as well
&lt;/p&gt;
&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 0px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; max-height: 2000px; font-size: 8pt; overflow: hidden; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; adminManager
= &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ActiveXObject(&lt;span style="color: #006080"&gt;'Microsoft.ApplicationHost.WritableAdminManager'&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; adminManager.CommitPath
= &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesSection
= adminManager.GetAdminSection(&lt;span style="color: #006080"&gt;&amp;quot;system.applicationHost/sites&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesCollection
= sitesSection.Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 8:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteElement
= sitesCollection.CreateNewElement(&lt;span style="color: #006080"&gt;&amp;quot;site&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 9:&lt;/span&gt; siteElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;WcfNetTcp&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 10:&lt;/span&gt; siteElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;id&amp;quot;&lt;/span&gt;).Value
= 7;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 11:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 12:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; bindingsCollection
= siteElement.ChildElements.Item(&lt;span style="color: #006080"&gt;&amp;quot;bindings&amp;quot;&lt;/span&gt;).Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 13:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 14:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; bindingElement
= bindingsCollection.CreateNewElement(&lt;span style="color: #006080"&gt;&amp;quot;binding&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 15:&lt;/span&gt; bindingElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;protocol&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;http&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 16:&lt;/span&gt; bindingElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;bindingInformation&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;*:80:&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 17:&lt;/span&gt; bindingsCollection.AddElement(bindingElement);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 18:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 19:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteCollection
= siteElement.Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 20:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 21:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; applicationElement
= siteCollection.CreateNewElement(&lt;span style="color: #006080"&gt;&amp;quot;application&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 22:&lt;/span&gt; applicationElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;path&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;D:\\Hosting\\WcfApp&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 23:&lt;/span&gt; applicationElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;applicationPool&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;DefaultAppPool&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 24:&lt;/span&gt; siteCollection.AddElement(applicationElement);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 25:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 26:&lt;/span&gt; sitesCollection.AddElement(siteElement);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 27:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 28:&lt;/span&gt; adminManager.CommitChanges();&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 29:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
3. Add net.tcp protocol:
&lt;/p&gt;
&lt;p&gt;
Here is how it should look from GUI:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_6.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb_2.png" width="445" height="272" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
And the script for it
&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; adminManager
= &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ActiveXObject(&lt;span style="color: #006080"&gt;'Microsoft.ApplicationHost.WritableAdminManager'&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; adminManager.CommitPath
= &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesSection
= adminManager.GetAdminSection(&lt;span style="color: #006080"&gt;&amp;quot;system.applicationHost/sites&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesCollection
= sitesSection.Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 8:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteElementPos
= FindElement(sitesCollection, &lt;span style="color: #006080"&gt;&amp;quot;site&amp;quot;&lt;/span&gt;,
[&lt;span style="color: #006080"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;WcfNetTcp&amp;quot;&lt;/span&gt;]);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 9:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (siteElementPos
== -1) &lt;span style="color: #0000ff"&gt;throw&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;Element
not found!&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 10:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteElement
= sitesCollection.Item(siteElementPos);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 11:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 12:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 13:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; bindingsCollection
= siteElement.ChildElements.Item(&lt;span style="color: #006080"&gt;&amp;quot;bindings&amp;quot;&lt;/span&gt;).Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 14:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 15:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; bindingElement
= bindingsCollection.CreateNewElement(&lt;span style="color: #006080"&gt;&amp;quot;binding&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 16:&lt;/span&gt; bindingElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;protocol&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;net.tcp&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 17:&lt;/span&gt; bindingElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;bindingInformation&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;809:*&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 18:&lt;/span&gt; bindingsCollection.AddElement(bindingElement);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 19:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 20:&lt;/span&gt; adminManager.CommitChanges();&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
4. Enable net.tcp for website (Virtual Application) that hosts Wcf Service – in this
example we’re hosting in the root of website
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_8.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HostingWCFserviceov.tcpprotocolinIIS7WAS_F0D7/image_thumb_3.png" width="423" height="313" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
And of course the script:
&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; adminManager
= &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ActiveXObject(&lt;span style="color: #006080"&gt;'Microsoft.ApplicationHost.WritableAdminManager'&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; adminManager.CommitPath
= &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesSection
= adminManager.GetAdminSection(&lt;span style="color: #006080"&gt;&amp;quot;system.applicationHost/sites&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;MACHINE/WEBROOT/APPHOST&amp;quot;&lt;/span&gt;);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; sitesCollection
= sitesSection.Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 8:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteElementPos
= FindElement(sitesCollection, &lt;span style="color: #006080"&gt;&amp;quot;site&amp;quot;&lt;/span&gt;,
[&lt;span style="color: #006080"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;WcfNetTcp&amp;quot;&lt;/span&gt;]);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 9:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (siteElementPos
== -1) &lt;span style="color: #0000ff"&gt;throw&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;Element
not found!&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 10:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteElement
= sitesCollection.Item(siteElementPos);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 11:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 12:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; siteCollection
= siteElement.Collection;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 13:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 14:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; applicationElementPos
= FindElement(siteCollection, &lt;span style="color: #006080"&gt;&amp;quot;application&amp;quot;&lt;/span&gt;,
[&lt;span style="color: #006080"&gt;&amp;quot;path&amp;quot;&lt;/span&gt;, &lt;span style="color: #006080"&gt;&amp;quot;/&amp;quot;&lt;/span&gt;]);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 15:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (applicationElementPos
== -1) &lt;span style="color: #0000ff"&gt;throw&lt;/span&gt; &lt;span style="color: #006080"&gt;&amp;quot;Element
not found!&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 16:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; applicationElement
= siteCollection.Item(applicationElementPos);&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 17:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 18:&lt;/span&gt; applicationElement.Properties.Item(&lt;span style="color: #006080"&gt;&amp;quot;enabledProtocols&amp;quot;&lt;/span&gt;).Value
= &lt;span style="color: #006080"&gt;&amp;quot;http,net.tcp&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 19:&lt;/span&gt;&amp;#160; &lt;/pre&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 20:&lt;/span&gt; adminManager.CommitChanges();&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;strong&gt;&lt;u&gt;Warning: Do not put any spaces in “Enabled Protocols” field. Although it
might works for HTTP it doesn’t for net.tcp.&lt;/u&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
5. (Optional) Run in elevated mode (As Administrator): 
&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; “%WINDIR%\Microsoft.NET\Framework\v3.0\Windows
Communication Foundation\ServiceModelReg.exe&amp;quot; –i&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
I will cover why it is optional in next posts.
&lt;/p&gt;
&lt;p&gt;
Note: Scripts are generated using IIS 7.5 IIS Management console and Windows 7
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Hope that helps.
&lt;/p&gt;
&lt;p&gt;
P.S. &lt;a href="http://www.galcho.com/blog/content/binary/findElement.zip"&gt;Here is the
helper js function FindElement().&lt;/a&gt; It is slightly modified from original generated
by IIS Manager so it will compare values in case insensitive way.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</comments>
      <category>.NET Development</category>
      <category>IIS</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=2f8e0253-970d-4e8e-b1db-d2dcd4c80cee</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://timheuer.com/blog">Tim Heuer</a> posted a great series of articles
targeted a new Silverlight developers. These can be used to ramp up with new things
in v3 as well as Silverlight concepts.
</p>
        <ul>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-1-hello-world.aspx">Part
1: Really getting started</a> – the tools you need and getting your first Hello World 
</li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-2-defining-layout.aspx">Part
2: Defining UI Layout</a> – understanding layout and using Blend to help 
</li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-3-accessing-data.aspx">Part
3: Accessing data</a> – how to get data from where 
</li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-4-binding-data.aspx">Part
4: Binding the data</a> – once you get the data, how can you use it? 
</li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-5-using-controls.aspx">Part
5: Integrating additional controls</a> – using controls that aren’t a part of the
core 
</li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-6-styling-and-templating.aspx">Part
6: Polishing the UI with styles and templates</a>
          </li>
          <li>
            <a href="http://timheuer.com/blog/articles/silverlight-get-started-part-7-taking-out-of-browser.aspx">Part
7: Taking the application out-of-browser</a>
          </li>
        </ul>
        <p>
Original post <a href="http://timheuer.com/blog/articles/getting-started-with-silverlight-development.aspx">here</a>.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=ee9fe245-3cc9-4366-aae8-19f86649acd4" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/H00Cf3W355E" height="1" width="1" /></body>
      <title>Getting started with Silverlight</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/H00Cf3W355E/PermaLink.aspx</link>
      <pubDate>Thu, 15 Oct 2009 22:19:03 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://timheuer.com/blog"&gt;Tim Heuer&lt;/a&gt; posted a great series of articles
targeted a new Silverlight developers. These can be used to ramp up with new things
in v3 as well as Silverlight concepts.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-1-hello-world.aspx"&gt;Part
1: Really getting started&lt;/a&gt; – the tools you need and getting your first Hello World 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-2-defining-layout.aspx"&gt;Part
2: Defining UI Layout&lt;/a&gt; – understanding layout and using Blend to help 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-3-accessing-data.aspx"&gt;Part
3: Accessing data&lt;/a&gt; – how to get data from where 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-4-binding-data.aspx"&gt;Part
4: Binding the data&lt;/a&gt; – once you get the data, how can you use it? 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-5-using-controls.aspx"&gt;Part
5: Integrating additional controls&lt;/a&gt; – using controls that aren’t a part of the
core 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-6-styling-and-templating.aspx"&gt;Part
6: Polishing the UI with styles and templates&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://timheuer.com/blog/articles/silverlight-get-started-part-7-taking-out-of-browser.aspx"&gt;Part
7: Taking the application out-of-browser&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Original post &lt;a href="http://timheuer.com/blog/articles/getting-started-with-silverlight-development.aspx"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=ee9fe245-3cc9-4366-aae8-19f86649acd4" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</comments>
      <category>.NET Development</category>
      <category>Silverlight</category>
      <category>Web</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=ee9fe245-3cc9-4366-aae8-19f86649acd4</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=adac815e-0af5-4659-a237-b2952668c069</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I am attending a very interesting even called <a href="http://www.sqlsaturday.com">SQLSaturday</a> at
the newest MS building complex The Commons. This is a three track event about SQL
server and has very interesting topics. Speakers are MVPs form northwest and MSFTs. 
</p>
        <p>
This event is held in different locations in USA. It is highly recommended for DB
devs and admins who want to learn some tips, trick and get some advises learned hard
way.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=adac815e-0af5-4659-a237-b2952668c069" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/1y0cavmwIng" height="1" width="1" /></body>
      <title>SQL on Saturday</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/1y0cavmwIng/PermaLink.aspx</link>
      <pubDate>Sat, 03 Oct 2009 17:30:30 GMT</pubDate>
      <description>&lt;p&gt;
I am attending a very interesting even called &lt;a href="http://www.sqlsaturday.com"&gt;SQLSaturday&lt;/a&gt; at
the newest MS building complex The Commons. This is a three track event about SQL
server and has very interesting topics. Speakers are MVPs form northwest and MSFTs. 
&lt;/p&gt;
&lt;p&gt;
This event is held in different locations in USA. It is highly recommended for DB
devs and admins who want to learn some tips, trick and get some advises learned hard
way.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=adac815e-0af5-4659-a237-b2952668c069" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</comments>
      <category>SQL</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=adac815e-0af5-4659-a237-b2952668c069</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Recently there was a Silverlight Firestarter event in Redmond:
</p>
        <blockquote>
          <p>
When you wake on Sept. 17th the year of 2009 you have a smile on your face. Not only
did you get the day of for “training”, but the “training” is actually something you’re
very interested in.  Maybe you haven’t had the chance yet, or you’re looking
for additional guidance; but today you’re going on a tour of Silverlight 3, Expression
Blend, SketchFlow, the Silverlight Toolkit, RIA Services and XAML Power toys.
</p>
        </blockquote>
        <p>
Since this event is in the past there is still a way to catch up: <a href="http://timheuer.com/blog">Tim
Heuer</a> and <a href="http://blogs.msdn.com/mithund">Mithun</a> posted <a href="http://timheuer.com/blog/archive/2009/09/29/seattle-firestarter-videos-available-online.aspx">videos
from the event</a> and I highly encourage all interested in Silverlight 3 to look
at them.
</p>
        <p>
Enjoy
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/FbFmKbvUdJw" height="1" width="1" /></body>
      <title>Silverlight Firestarter in Redmond</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/FbFmKbvUdJw/PermaLink.aspx</link>
      <pubDate>Wed, 30 Sep 2009 00:06:17 GMT</pubDate>
      <description>&lt;p&gt;
Recently there was a Silverlight Firestarter event in Redmond:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
When you wake on Sept. 17th the year of 2009 you have a smile on your face. Not only
did you get the day of for “training”, but the “training” is actually something you’re
very interested in.&amp;#160; Maybe you haven’t had the chance yet, or you’re looking
for additional guidance; but today you’re going on a tour of Silverlight 3, Expression
Blend, SketchFlow, the Silverlight Toolkit, RIA Services and XAML Power toys.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Since this event is in the past there is still a way to catch up: &lt;a href="http://timheuer.com/blog"&gt;Tim
Heuer&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/mithund"&gt;Mithun&lt;/a&gt; posted &lt;a href="http://timheuer.com/blog/archive/2009/09/29/seattle-firestarter-videos-available-online.aspx"&gt;videos
from the event&lt;/a&gt; and I highly encourage all interested in Silverlight 3 to look
at them.
&lt;/p&gt;
&lt;p&gt;
Enjoy
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</comments>
      <category>Silverlight</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=afe4b65b-62c9-4ea4-be9e-41fc0a8eb04a</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=63b742b6-0348-4df2-9ab0-017592477d17</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I haven’t blogged for a while since I have been enjoying non-typical sunny and hot
summer here at Washington. 
</p>
        <p>
Now the summer is over and it is time to go back into tech area. Since you’ve noticed
there are no WPF/Silverlight posts on my blog and this is about to change :) 
</p>
        <p>
I got new laptop and after installing recently released RTM of Windows Server 2008
R2 RTM and converted to workstation. For more details you can see previous posts.
And of course it contains <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade">booting
from VHD</a>… multiple VHDs. I think this is great new feature that speeds up testing
and playing with different technologies a lot…
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=63b742b6-0348-4df2-9ab0-017592477d17" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/Y_XmYtUeEGo" height="1" width="1" /></body>
      <title>Started silverlighting…</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/Y_XmYtUeEGo/PermaLink.aspx</link>
      <pubDate>Tue, 29 Sep 2009 23:56:48 GMT</pubDate>
      <description>&lt;p&gt;
I haven’t blogged for a while since I have been enjoying non-typical sunny and hot
summer here at Washington. 
&lt;/p&gt;
&lt;p&gt;
Now the summer is over and it is time to go back into tech area. Since you’ve noticed
there are no WPF/Silverlight posts on my blog and this is about to change :) 
&lt;/p&gt;
&lt;p&gt;
I got new laptop and after installing recently released RTM of Windows Server 2008
R2 RTM and converted to workstation. For more details you can see previous posts.
And of course it contains &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade"&gt;booting
from VHD&lt;/a&gt;… multiple VHDs. I think this is great new feature that speeds up testing
and playing with different technologies a lot…
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=63b742b6-0348-4df2-9ab0-017592477d17" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</comments>
      <category>Misc</category>
      <category>Silverlight</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=63b742b6-0348-4df2-9ab0-017592477d17</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=903d344a-455b-4420-9cdb-382685d99ad2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
AdCenter test team is expanding and there are open positions at different levels.
If you want to be part of long discussed Microsoft-Yahoo deal, to take part of ensuring
top quality of our products and services and working in the biggest software company
and yet in a new field for it drop me your resume at the <a href="http://www.galcho.com/contacts.aspx">email
on contact page</a>. 
</p>
        <p>
Here are some job descriptions:
</p>
        <h2>Senior Software Development Engineer in Test
</h2>
        <p>
We are looking for a Senior SDET for the Search Advertising area within RnR, who is
excited to take on these challenges. You will drive innovations in test by building
quality test tools, test automation and breakthrough test technologies. You will help
structure our algorithm experiments in an adaptive trials framework. You should be
comfortable with sampling methods and be able to dive in and diagnose inconsistencies
with our current sampling strategies and design meaningful experiments while improving
the experimentation systems. 
<br />
A successful candidate will have 7+ years of strong technical experience; 7+ years
of broad testing experience; 5+ years of strong hands on product development or test
development work, effective written and oral communication skills; engineering experience
acquired from shipping multiple large commercial software products or online services;
ability to influence all disciplines on quality and product strategy decisions; and
ability to experiment sophisticated algorithms and statistical models highly desirable.
Degree in Computer Science or equivalent experience required.
</p>
        <p>
 
</p>
        <h2>Software Development Engineer in Test
</h2>
        <p>
We are looking for talented, innovative and highly motivated SDETs with strong technical
and design skills to help us assure that the web components of AdCenter, as part of
our highly scalable multi-tiered advertiser management system, meets the highest quality
standard. You will have the opportunity to impact the architecture of these core platform
services, and at the same time be challenged with building world class test automation
and tools. As an SDET, your primary responsibilities include test plan and test case
preparation to ensure test coverage and test methods are appropriate. You will also
participate in critiquing functional and technical specification reviews, establishing
test infrastructure, rapid automated testing of features, adapting to changing requirements/processes,
enforcing Engineering Excellence practices, and driving quality upstream in all phases
of development. You are encouraged to adopt more creative test methods to meet the
needs of agile development process so as to keep the testing with right coverage on
schedule. 
<br />
You possess the following skills:
</p>
        <ul>
          <li>
Understand software testing methodology and experience in test automation tool development.</li>
          <li>
Strong analytical and problem-solving abilities.</li>
          <li>
Passion for product quality and solving complex automation problems. 
</li>
          <li>
Knowledge of Internet based services, Web technologies.</li>
          <li>
Familiarity with IIS/XML Web Services.</li>
          <li>
3+ years of software development and/or test experience with fluency in C# and ASP.NET.</li>
          <li>
BA or BS in Computer Science or related discipline. 
</li>
          <li>
Familiarity with SQL Server, web services and multi-tiered client and server distributed
applications is preferred.</li>
          <li>
Experience with the following technologies is a plus: 
<br />
o VS Team Edition for Testers 
<br />
o TFS 
<br />
o KAF 
<br />
o Selenium</li>
        </ul>
        <h2>Systems Engineer 
</h2>
        <p>
Key Responsibilities: 
<br />
Automate - Develop production quality solutions to reduce risks in manual task and
drive efficiency. 
<br />
Optimize and innovate - Tuning and optimization tactics and build systems management
automation and tooling capabilities. 
<br />
Analyze trends- Provide systems statistical trending and analysis, server capacity
and threshold testing. 
<br />
Evaluate systems and technology - Assess new systems designs and technical strategies. 
<br />
Evangelize - Represent operations team on technical, product direction and service
quality. 
<br />
Deliver - Deploy and Operate large scale systems. 
<br />
Maintain - Maintain and manage Enterprise san and servers. 
</p>
        <p>
Requirements: 
<br /><strong>Software</strong>: 
<br />
Strong knowledge in Windows OS (Windows 2003 and Windows 2008) is must. 
<br />
Strong knowledge in TCP/IP and networking is a must. 
<br />
Scripting in VB, Powershell, Perl, and Telnet is must. 
<br />
IIS and SQL knowledge is desired. 
<br />
Virtulization knowledge is desired. 
<br />
A minimum of 5 years of demonstrated work experience in IT. 
<br /><strong>Hardware</strong>: 
<br />
Minimum of 5 years in SAN. Experience in EMC SAN (DMX and Clariion) and Brocade SAN
switch is preferred. 
<br />
Strong knowledge in storage and raid. 
<br />
Strong knowledge in Servers (Processor, Bus, and Memory). Experience in HP servers
is preferred. 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=903d344a-455b-4420-9cdb-382685d99ad2" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/MaQILM8MwFg" height="1" width="1" /></body>
      <title>AdCenter team is hiring</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/MaQILM8MwFg/PermaLink.aspx</link>
      <pubDate>Wed, 12 Aug 2009 04:52:47 GMT</pubDate>
      <description>&lt;p&gt;
AdCenter test team is expanding and there are open positions at different levels.
If you want to be part of long discussed Microsoft-Yahoo deal, to take part of ensuring
top quality of our products and services and working in the biggest software company
and yet in a new field for it drop me your resume at the &lt;a href="http://www.galcho.com/contacts.aspx"&gt;email
on contact page&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
Here are some job descriptions:
&lt;/p&gt;
&lt;h2&gt;Senior Software Development Engineer in Test
&lt;/h2&gt;
&lt;p&gt;
We are looking for a Senior SDET for the Search Advertising area within RnR, who is
excited to take on these challenges. You will drive innovations in test by building
quality test tools, test automation and breakthrough test technologies. You will help
structure our algorithm experiments in an adaptive trials framework. You should be
comfortable with sampling methods and be able to dive in and diagnose inconsistencies
with our current sampling strategies and design meaningful experiments while improving
the experimentation systems. 
&lt;br /&gt;
A successful candidate will have 7+ years of strong technical experience; 7+ years
of broad testing experience; 5+ years of strong hands on product development or test
development work, effective written and oral communication skills; engineering experience
acquired from shipping multiple large commercial software products or online services;
ability to influence all disciplines on quality and product strategy decisions; and
ability to experiment sophisticated algorithms and statistical models highly desirable.
Degree in Computer Science or equivalent experience required.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h2&gt;Software Development Engineer in Test
&lt;/h2&gt;
&lt;p&gt;
We are looking for talented, innovative and highly motivated SDETs with strong technical
and design skills to help us assure that the web components of AdCenter, as part of
our highly scalable multi-tiered advertiser management system, meets the highest quality
standard. You will have the opportunity to impact the architecture of these core platform
services, and at the same time be challenged with building world class test automation
and tools. As an SDET, your primary responsibilities include test plan and test case
preparation to ensure test coverage and test methods are appropriate. You will also
participate in critiquing functional and technical specification reviews, establishing
test infrastructure, rapid automated testing of features, adapting to changing requirements/processes,
enforcing Engineering Excellence practices, and driving quality upstream in all phases
of development. You are encouraged to adopt more creative test methods to meet the
needs of agile development process so as to keep the testing with right coverage on
schedule. 
&lt;br /&gt;
You possess the following skills:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Understand software testing methodology and experience in test automation tool development.&lt;/li&gt;
&lt;li&gt;
Strong analytical and problem-solving abilities.&lt;/li&gt;
&lt;li&gt;
Passion for product quality and solving complex automation problems. 
&lt;/li&gt;
&lt;li&gt;
Knowledge of Internet based services, Web technologies.&lt;/li&gt;
&lt;li&gt;
Familiarity with IIS/XML Web Services.&lt;/li&gt;
&lt;li&gt;
3+ years of software development and/or test experience with fluency in C# and ASP.NET.&lt;/li&gt;
&lt;li&gt;
BA or BS in Computer Science or related discipline. 
&lt;/li&gt;
&lt;li&gt;
Familiarity with SQL Server, web services and multi-tiered client and server distributed
applications is preferred.&lt;/li&gt;
&lt;li&gt;
Experience with the following technologies is a plus: 
&lt;br /&gt;
o VS Team Edition for Testers 
&lt;br /&gt;
o TFS 
&lt;br /&gt;
o KAF 
&lt;br /&gt;
o Selenium&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Systems Engineer 
&lt;/h2&gt;
&lt;p&gt;
Key Responsibilities: 
&lt;br /&gt;
Automate - Develop production quality solutions to reduce risks in manual task and
drive efficiency. 
&lt;br /&gt;
Optimize and innovate - Tuning and optimization tactics and build systems management
automation and tooling capabilities. 
&lt;br /&gt;
Analyze trends- Provide systems statistical trending and analysis, server capacity
and threshold testing. 
&lt;br /&gt;
Evaluate systems and technology - Assess new systems designs and technical strategies. 
&lt;br /&gt;
Evangelize - Represent operations team on technical, product direction and service
quality. 
&lt;br /&gt;
Deliver - Deploy and Operate large scale systems. 
&lt;br /&gt;
Maintain - Maintain and manage Enterprise san and servers. 
&lt;/p&gt;
&lt;p&gt;
Requirements: 
&lt;br /&gt;
&lt;strong&gt;Software&lt;/strong&gt;: 
&lt;br /&gt;
Strong knowledge in Windows OS (Windows 2003 and Windows 2008) is must. 
&lt;br /&gt;
Strong knowledge in TCP/IP and networking is a must. 
&lt;br /&gt;
Scripting in VB, Powershell, Perl, and Telnet is must. 
&lt;br /&gt;
IIS and SQL knowledge is desired. 
&lt;br /&gt;
Virtulization knowledge is desired. 
&lt;br /&gt;
A minimum of 5 years of demonstrated work experience in IT. 
&lt;br /&gt;
&lt;strong&gt;Hardware&lt;/strong&gt;: 
&lt;br /&gt;
Minimum of 5 years in SAN. Experience in EMC SAN (DMX and Clariion) and Brocade SAN
switch is preferred. 
&lt;br /&gt;
Strong knowledge in storage and raid. 
&lt;br /&gt;
Strong knowledge in Servers (Processor, Bus, and Memory). Experience in HP servers
is preferred. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=903d344a-455b-4420-9cdb-382685d99ad2" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</comments>
      <category>Microsoft</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=903d344a-455b-4420-9cdb-382685d99ad2</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Working with MSI-enabled deployment could be quite difficult especially when test
machine has one version of application any attempt to deploy new build is just skipped.
</p>
        <p>
          <a href="http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx">Aaron Stebner
has some tips how previous version can be uninstalled</a> even if it doesn’t show
in Add Remove programs.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e0d5c4b1-489e-450e-9bf0-3fc3531d438f" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/HR9qN44eN4M" height="1" width="1" /></body>
      <title>Tricks: How to uninstall an application when it does not appear in Add/Remove Programs</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/HR9qN44eN4M/PermaLink.aspx</link>
      <pubDate>Thu, 23 Jul 2009 04:18:06 GMT</pubDate>
      <description>&lt;p&gt;
Working with MSI-enabled deployment could be quite difficult especially when test
machine has one version of application any attempt to deploy new build is just skipped.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx"&gt;Aaron Stebner
has some tips how previous version can be uninstalled&lt;/a&gt; even if it doesn’t show
in Add Remove programs.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e0d5c4b1-489e-450e-9bf0-3fc3531d438f" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</comments>
      <category>Tip&amp;Tricks</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=e0d5c4b1-489e-450e-9bf0-3fc3531d438f</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today Microsoft <a href="http://windowsteamblog.com/blogs/windows7/archive/2009/07/22/windows-7-has-been-released-to-manufacturing.aspx">announced
that Windows 7 and Windows Server 2008 R2</a> code is signed off and is ready to go
to <a href="http://en.wikipedia.org/wiki/Release_to_manufacture#RTM">manufacture</a> –
so this will be the code that end user will use. 
</p>
        <p>
Even more - partners and business customers <a href="http://www.infoworld.com/d/windows/windows-7-rtm-code-available-next-month-183">can
get their hands on Windows 7 RTM code</a> starting next month.
</p>
        <p>
I have been using Windows 7 and Windows Server 2008 R2 since their Beta and I dare
to say that this is the fastest OS, I’ve ever worked with. You will like it for sure.
</p>
        <p>
Both client (<a href="http://windows.microsoft.com/en-US/windows7/products/features">Windows
7</a>) and server (<a href="http://www.microsoft.com/windowsserver2008/en/us/R2.aspx">Windows
Server 2008 R2</a>) are full with <a href="http://windows.microsoft.com/en-US/windows7/products/features">improvements</a> and
for sure these increase both the pleasure and the productivity.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=977a22e7-52eb-4daf-809c-1d5fa54f0183" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/neSyLBgP5gY" height="1" width="1" /></body>
      <title>Windows 7 RTM – code fully cooked</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/neSyLBgP5gY/PermaLink.aspx</link>
      <pubDate>Thu, 23 Jul 2009 04:09:54 GMT</pubDate>
      <description>&lt;p&gt;
Today Microsoft &lt;a href="http://windowsteamblog.com/blogs/windows7/archive/2009/07/22/windows-7-has-been-released-to-manufacturing.aspx"&gt;announced
that Windows 7 and Windows Server 2008 R2&lt;/a&gt; code is signed off and is ready to go
to &lt;a href="http://en.wikipedia.org/wiki/Release_to_manufacture#RTM"&gt;manufacture&lt;/a&gt; –
so this will be the code that end user will use. 
&lt;/p&gt;
&lt;p&gt;
Even more - partners and business customers &lt;a href="http://www.infoworld.com/d/windows/windows-7-rtm-code-available-next-month-183"&gt;can
get their hands on Windows 7 RTM code&lt;/a&gt; starting next month.
&lt;/p&gt;
&lt;p&gt;
I have been using Windows 7 and Windows Server 2008 R2 since their Beta and I dare
to say that this is the fastest OS, I’ve ever worked with. You will like it for sure.
&lt;/p&gt;
&lt;p&gt;
Both client (&lt;a href="http://windows.microsoft.com/en-US/windows7/products/features"&gt;Windows
7&lt;/a&gt;) and server (&lt;a href="http://www.microsoft.com/windowsserver2008/en/us/R2.aspx"&gt;Windows
Server 2008 R2&lt;/a&gt;) are full with &lt;a href="http://windows.microsoft.com/en-US/windows7/products/features"&gt;improvements&lt;/a&gt; and
for sure these increase both the pleasure and the productivity.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=977a22e7-52eb-4daf-809c-1d5fa54f0183" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</comments>
      <category>Web</category>
      <category>Window Server System</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <h3>After I was using <a href="http://software.intel.com/en-us/blogs/2008/02/12/windows-server-2008-aero-enabled-workstation-edition/">Windows
Server 2008 as a workstation</a> for a while I decided to move to R2.
</h3>
        <p>
Having the option to boot form VHD it was a nice idea- I could have as many OS-es
as I want and they fully utilize the hardware. But one question remained: How I can
turn Windows Server 2008 R2 into workstation and having all goodies of workstation
including Aero interface.
</p>
        <p>
The default installation seems to have following notable features:
</p>
        <ul>
          <li>
Only x64 editions</li>
          <li>
Less driver support than Windows 7</li>
          <li>
No audio</li>
          <li>
Wireless disabled by default (after installing the driver)</li>
          <li>
Cannot select Windows 7 theme even after video driver selection.</li>
        </ul>
        <p>
So let’s nail those one by one:
</p>
        <h4>Only x64 editions
</h4>
        <p>
Well… nothing can be done here. Time to move to x64 bit platform. Fortunately my laptop’s
CPU was Intel Core2 Duo and can do it.
</p>
        <h4>Less driver support than Windows 7
</h4>
        <p>
Luckily Windows 7 drivers work – as long as they support x64 bit. I had a hard time
to find some for my Dell machine though… Note: Windows Vista x64 drivers worked for
me as well…
</p>
        <h4>No Audio
</h4>
        <p>
This was easy. The drivers were in place (with installation) and only had to play
with some services: 
</p>
        <ul>
          <li>
Windows Audio</li>
          <li>
Windows Audio Endpoint Builder</li>
        </ul>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_thumb.png" width="568" height="37" />
          </a>
        </p>
        <p>
I just started the first one and there was sound J
</p>
        <h4>Wireless disabled by default
</h4>
        <table border="1" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
              <td valign="top" width="319">
                <p>
This was tough one (for me). I installed correct drivers. Everything seemed normal
except I couldn’t enable the adapter. It was constantly disabled.
</p>
              </td>
              <td valign="top" width="319">
                <p>
                  <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_2.png" rel="lightbox">
                    <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_thumb.png" width="312" height="78" />
                  </a>
                </p>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
After every attempt to enable it remained disabled. In Event viewer I saw the following
message:
</p>
        <p>
“<i>Application popup: BCMWLTRY.EXE - System Error : The program can't start because
Wlanapi.dll is missing from your computer. Try reinstalling the program to fix this
problem.</i>”
</p>
        <p>
The solution was to add the feature “Wireless LAN Service”
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_thumb.png" width="277" height="301" />
          </a>
        </p>
        <p>
Just go to “Server Manager”, select Features from the tree on the left and select
“Add Features”
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_thumb.png" width="454" height="88" />
          </a>
        </p>
        <h4>Enable Aero theme.
</h4>
        <p>
This one was tough as well… I had to do several steps:
</p>
        <ol>
          <li>
Install video driver</li>
          <li>
Add “Desktop experience” feature (together with .NET Framework 3.5.1) 
</li>
          <li>
Start “Theme” Windows service. 
<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_2.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_thumb.png" width="459" height="19" /></a></li>
        </ol>
        <p>
4. Select performance options from System applet in Control Panel 
<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_2.jpg" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_thumb.jpg" width="461" height="307" /></a></p>
        <p>
5. Select theme from “Personalization” window
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_2.jpg" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_thumb.jpg" width="468" height="286" />
          </a>
        </p>
        <p>
          <a href="http://www.decisionengine.com/Default.html">Happy binging! :)</a>
        </p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=96f475f7-fda8-4bad-b6bc-d0107774e928" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
<xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/galcho/~4/HDP2wxzzzR4" height="1" width="1" /></body>
      <title>How to turn Windows Server 2008 R2 into workstation with Aero</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</guid>
      <link>http://feedproxy.google.com/~r/galcho/~3/HDP2wxzzzR4/PermaLink.aspx</link>
      <pubDate>Sat, 30 May 2009 07:26:13 GMT</pubDate>
      <description>&lt;h3&gt;After I was using &lt;a href="http://software.intel.com/en-us/blogs/2008/02/12/windows-server-2008-aero-enabled-workstation-edition/"&gt;Windows
Server 2008 as a workstation&lt;/a&gt; for a while I decided to move to R2.
&lt;/h3&gt;
&lt;p&gt;
Having the option to boot form VHD it was a nice idea- I could have as many OS-es
as I want and they fully utilize the hardware. But one question remained: How I can
turn Windows Server 2008 R2 into workstation and having all goodies of workstation
including Aero interface.
&lt;/p&gt;
&lt;p&gt;
The default installation seems to have following notable features:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Only x64 editions&lt;/li&gt;
&lt;li&gt;
Less driver support than Windows 7&lt;/li&gt;
&lt;li&gt;
No audio&lt;/li&gt;
&lt;li&gt;
Wireless disabled by default (after installing the driver)&lt;/li&gt;
&lt;li&gt;
Cannot select Windows 7 theme even after video driver selection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
So let’s nail those one by one:
&lt;/p&gt;
&lt;h4&gt;Only x64 editions
&lt;/h4&gt;
&lt;p&gt;
Well… nothing can be done here. Time to move to x64 bit platform. Fortunately my laptop’s
CPU was Intel Core2 Duo and can do it.
&lt;/p&gt;
&lt;h4&gt;Less driver support than Windows 7
&lt;/h4&gt;
&lt;p&gt;
Luckily Windows 7 drivers work – as long as they support x64 bit. I had a hard time
to find some for my Dell machine though… Note: Windows Vista x64 drivers worked for
me as well…
&lt;/p&gt;
&lt;h4&gt;No Audio
&lt;/h4&gt;
&lt;p&gt;
This was easy. The drivers were in place (with installation) and only had to play
with some services: 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Windows Audio&lt;/li&gt;
&lt;li&gt;
Windows Audio Endpoint Builder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_thumb.png" width="568" height="37" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I just started the first one and there was sound J
&lt;/p&gt;
&lt;h4&gt;Wireless disabled by default
&lt;/h4&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="319"&gt;
&lt;p&gt;
This was tough one (for me). I installed correct drivers. Everything seemed normal
except I couldn’t enable the adapter. It was constantly disabled.
&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="319"&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_thumb.png" width="312" height="78" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
After every attempt to enable it remained disabled. In Event viewer I saw the following
message:
&lt;/p&gt;
&lt;p&gt;
“&lt;i&gt;Application popup: BCMWLTRY.EXE - System Error : The program can't start because
Wlanapi.dll is missing from your computer. Try reinstalling the program to fix this
problem.&lt;/i&gt;”
&lt;/p&gt;
&lt;p&gt;
The solution was to add the feature “Wireless LAN Service”
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_thumb.png" width="277" height="301" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Just go to “Server Manager”, select Features from the tree on the left and select
“Add Features”
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_thumb.png" width="454" height="88" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;h4&gt;Enable Aero theme.
&lt;/h4&gt;
&lt;p&gt;
This one was tough as well… I had to do several steps:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Install video driver&lt;/li&gt;
&lt;li&gt;
Add “Desktop experience” feature (together with .NET Framework 3.5.1) 
&lt;/li&gt;
&lt;li&gt;
Start “Theme” Windows service. 
&lt;br /&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_thumb.png" width="459" height="19" /&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
4. Select performance options from System applet in Control Panel 
&lt;br /&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_2.jpg" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_thumb.jpg" width="461" height="307" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
5. Select theme from “Personalization” window
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_2.jpg" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_thumb.jpg" width="468" height="286" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.decisionengine.com/Default.html"&gt;Happy binging! :)&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=96f475f7-fda8-4bad-b6bc-d0107774e928" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</comments>
      <category>Window Server System</category>
    <feedburner:origLink>http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</feedburner:origLink></item>
  </channel>
</rss>
