<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>You had me at "Hello World!" : IIS</title><link>http://blogs.msdn.com/nikola/archive/tags/IIS/default.aspx</link><description>Tags: IIS</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Configuring IIS 7 to work with WCF Web Services for Silverlight 2</title><link>http://blogs.msdn.com/nikola/archive/2008/03/06/configuring-iis-7-to-work-with-wcf-web-services-for-silverlight-2-beta-1-scenario.aspx</link><pubDate>Fri, 07 Mar 2008 00:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8079156</guid><dc:creator>nikola</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/nikola/comments/8079156.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikola/commentrss.aspx?PostID=8079156</wfw:commentRss><description>&lt;P&gt;I've tried these, and there are some interesting parts that can take some time figuring out by digging in docs. &lt;/P&gt;
&lt;P&gt;This post will probably solve the 404.3 error (svc not registered as MIME type)&lt;/P&gt;
&lt;P&gt;So here's the whole solution for &lt;STRONG&gt;getting a WCF service started up and using it from Silverlight 2 Beta 1&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;To build the service:&amp;nbsp;&lt;A id=ctl00_rs1_mainContentContainer_ctl02 onclick="javascript:Track('ctl00_rs1_mainContentContainer_ctl00|ctl00_rs1_mainContentContainer_ctl02',this);" href="http://msdn2.microsoft.com/en-us/library/cc197940(VS.95).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/cc197940(VS.95).aspx"&gt;How to: Build a Service for Silverlight Clients&lt;/A&gt; &lt;BR&gt;2. To enable cross-domain for the service, if needed: &lt;A id=ctl00_rs1_mainContentContainer_ctl03 onclick="javascript:Track('ctl00_rs1_mainContentContainer_ctl00|ctl00_rs1_mainContentContainer_ctl03',this);" href="http://msdn2.microsoft.com/en-us/library/cc197955(VS.95).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/cc197955(VS.95).aspx"&gt;How to: Make a Service Available Across Domain Boundaries&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;3. To add the service to IIS 7:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create new IIS 7 application - Right-click on Default Web Site in the IIS Manager console, Add application, setup the folder (e.g. D:\test\SampleAppFolder) and name. Click OK&lt;/LI&gt;
&lt;LI&gt;Deploy your service to &lt;A href="http://localhost/SampleApp" mce_href="http://localhost/SampleApp"&gt;http://localhost/SampleApp&lt;/A&gt; (or your app virtual name)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Important&lt;/STRONG&gt; This step took me a while to figure out: install WCF: open admin cmd prompt, and execute ServiceModelreg -i in c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation folder.&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;c:\&amp;gt;&lt;B style="mso-bidi-font-weight: normal"&gt;cd c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&amp;gt;&lt;B style="mso-bidi-font-weight: normal"&gt;ServiceModelreg -i&lt;/B&gt;&lt;BR&gt;Microsoft(R) Windows Communication Foundation Installation Utility&lt;BR&gt;[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]&lt;BR&gt;Copyright (c) Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;&lt;BR&gt;Installing: Machine.config Section Groups and Handlers&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: System.Web Build Provider&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: System.Web Compilation Assemblies&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: HTTP Handlers&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: HTTP Modules&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: ListenerAdapter node for protocol net.tcp&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: Protocol node for protocol net.tcp&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: TransportConfiguration node for protocol net.tcp&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: ListenerAdapter node for protocol net.pipe&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: Protocol node for protocol net.pipe&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: TransportConfiguration node for protocol net.pipe&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: ListenerAdapter node for protocol net.msmq&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: Protocol node for protocol net.msmq&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: TransportConfiguration node for protocol net.msmq&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: ListenerAdapter node for protocol msmq.formatname&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: Protocol node for protocol msmq.formatname&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: TransportConfiguration node for protocol msmq.formatname&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: HTTP Modules (WAS)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;Installing: HTTP Handlers (WAS)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing style="BACKGROUND: #d9d9d9; MARGIN: 0in 0in 0pt; mso-background-themecolor: background1; mso-background-themeshade: 217"&gt;&lt;SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"&gt;c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Hope this helps. If you have any other suggestions or things you stumbled upon please let me know. I appreciate your feedback!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8079156" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikola/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/nikola/archive/tags/WCF/default.aspx">WCF</category><category domain="http://blogs.msdn.com/nikola/archive/tags/Web+Service/default.aspx">Web Service</category><category domain="http://blogs.msdn.com/nikola/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>