This text file contains example code from: Chapter 5 - WCF Services Book - SOA with .NET & Windows Azure: Realizing Service-Orientation with the Microsoft Platform Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl (www.soabooks.com/community) Certification - These examples are used as part of the Certified SOA .NET Developer curriculum (www.soaschool.com) <programlisting linenumbering="unnumbered">Uri[] baseAddresses = new Uri[] { new Uri(ConfigurationManager.AppSettings["tcpBaseAddress"]), new Uri(ConfigurationManager.AppSettings["httpBaseAddress"]) }; <emphasis role="pd_red">ServiceHost serviceHost =</emphasis> <emphasis role="pd_red">new ServiceHost(typeof(AccountService), baseAddresses);</emphasis> serviceHost.Open();</programlisting> </example>