AppFabric ForumInterested in AppFabric? This is the place for questions, suggestions and discussions with regard to using the services.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 05:12:03 Z650f1f7b-ce2a-471e-80b6-aa49173df257http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/fe14e45a-8160-406b-8d9b-e4f9509bfaa5http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/fe14e45a-8160-406b-8d9b-e4f9509bfaa5Keith Newtonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Keith%20NewtonQuestion about ACS and WIFHello, <div><br/></div> <div>My partner and I have never worked with authentication before so please allow me to explain what we're trying to do before I ask the question - it is possible we are going about this the wrong way. We are currently building a silverlight application that runs in a web role on Windows Azure. The goal is to have federated authentication allowing clients to authenticate via their own solution or through our own asp.net forms authentication solution with an azure storage backend. Our understanding of how this should work is based on the WindowsAzureAndPassiveFederation sample in the latest IdentityTrainingKit.</div> <div><br/></div> <div>The plan is when a user with credentials connects to the Default.aspx in the web role they are forwarded to our STS to verify the credentials are from a trusted source, map their roles to our roles, and then return the claims back to the Default.aspx and the embedded silverlight app. If a user has no authentication credentials the silverlight app will start up and provide a login screen. Via WCF the silverlight app will do asp.net forms authentication with the STS to get the claims. I am using the following resources as references for the asp.net forms auth:</div> <div><br/></div> <div><a href="http://www.silverlight.net/learn/videos/silverlight-videos/using-aspnet-secure-services-and-applications-services/">http://www.silverlight.net/learn/videos/silverlight-videos/using-aspnet-secure-services-and-applications-services/</a></div> <div><a href="http://web-snippets.blogspot.com/2008/08/authentication-in-silverlight-using.html">http://web-snippets.blogspot.com/2008/08/authentication-in-silverlight-using.html</a></div> <div><br/></div> <div>My question is where does ACS fit into all of this? It seems to tackle the same problem that our WIF STS is solving - only that with WIF you are capable of achieving more robust solutions. The following blog, <a href="http://www.leastprivilege.com/UsingSilverlightToAccessWIFSecuredWCFServices.aspx">http://www.leastprivilege.com/UsingSilverlightToAccessWIFSecuredWCFServices.aspx</a>, highlights some potential problems with WIF, WCF, and Silverlight however it seems to me that doing the auth in the STS and serializing the claims objects back to the silverlight app would work fine. Is that a scenario where ACS would be the more appropriate solution or should all auth be done via asp.net and just hand off the claims to silverlight? Thanks for the help!</div><hr class="sig">me vs Visual Studio .NET 2005 SDK - round 249873 - FIGHT!Wed, 25 Nov 2009 05:12:02 Z2009-11-25T05:12:03Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/2755185e-a86c-47e8-93ff-1355cc0a370dhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/2755185e-a86c-47e8-93ff-1355cc0a370dAndreas Erbenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Andreas%20ErbenRunning on machines with "autodetect" proxy settings<p>Hi,<br>the customer's machines often have their IE set to automatically detect proxy settings.<br>Running something that works fine when no proxy is present throws an exception (see at the end) when started at a customer machine with automatic proxy settings.<br>This is not unexpected.<br>The problem is that I cannot supply the proxy settings since I have no control over them. I would assume the proxy settings to be automatically picked up in fact since the service bus is made to work behind firewalls and if someone writes an application it should work as magically and as transparent as possible.<br>What to do?<br>Is this a feature (proxy autodetect) you will add soon? Or did I just not find it?<br>Any workaround for now?<br>Thanks,<br><br><br>CreateOrGetChannel&lt;T_I&gt;() : System.ServiceModel.CommunicationException: Unable to reach servicebus.windows.net via TCP (818, 828) or HTTP (80, 443)<br>at Microsoft.ServiceBus.RelayedOnewayManager.CreateConnection(BindingContext context, Uri uri)  <br>at Microsoft.ServiceBus.RelayedOnewayChannelFactory.RelayedOnewayOutputChannel..ctor(RelayedOnewayChannelFactory channelFactory, BindingContext context, EndpointAddress to, Uri via)  <br>at Microsoft.ServiceBus.RelayedOnewayChannelFactory.OnCreateChannel(EndpointAddress remoteAddress, Uri via)  <br>at System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)  <br>at System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)  <br>at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverOutput.CreateInnerChannelBinder(EndpointAddress to, Uri via)  <br>at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)  <br>at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)  <br>at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)  <br>at System.ServiceModel.ChannelFactory`1.CreateChannel()  </p>Wed, 26 Nov 2008 00:53:26 Z2009-11-25T01:16:06Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9f20250e-04b6-426e-ad3b-877c1ea94694http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9f20250e-04b6-426e-ad3b-877c1ea94694bluelinghttp://social.msdn.microsoft.com/Profile/en-US/?user=bluelingWill the final ServiceBus Impl support ISA Server compatible HTTP polling without installing ISA Client?I tried to run the Service Bus samples EchoSample and WebHttpSample from a machine running Windows 7 x64 on a NAT-ed and firewalled LAN behind an ISA Server 2004. Opening the WebServiceHost takes a while and finaly always throws the following exception:<br/> <br/> An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.ServiceBus.dll<br/> <br/> Microsoft.ServiceBus.dll!Microsoft.ServiceBus.Pump.SetComplete(System.Exception ex) + 0x11 bytes    <br/> Microsoft.ServiceBus.dll!Microsoft.ServiceBus.FramingOutputPump.Run() + 0x1f2 bytes    <br/> mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x9b bytes    <br/> mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x4d bytes    <br/> <br/> It thereby makes no difference if I add the line<br/> <pre lang="x-c#">ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http;</pre> <br/> or leave the auto-detection mode unchanged (the only difference I noticed in the ISA logs was that SB no longer tried to initiate tcp connections on port 808 but directly used HTTP)... I also tried to compile the samples with both VS 2008 and VS 2010 Beta 2 .. as expected without any difference.<br/> <br/> <br/> While the WebServiceHost is opening I get the &quot;suspicious&quot; log entries in the ISA log that might be related to the problem, for example:<br/> <table style="height:100%" border=0 cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td class=Logpane-bar colspan=5 width="100%" height=2><a title="Open / Close Logging Details Pane" title="Open / Close Logging Details Pane"><br/> </a></td> </tr> <tr valign=top> <td colspan=5 height=245 bgcolor="#fffbf7"> <table border=0 cellpadding=0> <tbody> <tr bordercolor="#2e4c75"> <th width="100%" align=left><span style="color:#ff0000">Failed Connection Attempt</span> </th> <td width="100%" height=20 align=right><strong>GATEKEEPER 11/24/2009 5:56:46 PM</strong></td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Log type: </strong> Web Proxy (Forward)</td> </tr> <tr bordercolor="#2e4c75"> <td title="12156 The HTTP request includes a non-supported header. Contact your ISA Server administrator. " colspan=2 width="100%" height="100%"><strong>Status: </strong> <span>12156 The HTTP request includes a non-supported header. Contact your ISA Server administrator. </span></td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Rule: </strong></td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Source: </strong> ( 192.168.1.138:0)</td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Destination: </strong> ( 70.37.117.236:80)</td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Request: </strong> POST /102d1a6f-5576-46b8-bcfc-c7feab4fa665/</td> </tr> <tr> <td colspan=2 width="100%" height="100%" align=left><strong>Filter information: </strong> Req ID: 0ffc1d2a</td> </tr> <tr> <td width="100%" height="100%" align=left><strong>Protocol: </strong></td> </tr> <tr> <td width="100%" height="100%" align=left><strong>User: </strong> anonymous</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <br/> <br/> Is there a way to use the ServiceBus functionality on a LAN that is protected by an ISA Server 2004 without installing any additional tools and without opening other TCP ports but the normal HTTP 80 / HTTPS 443 ? Or is there a known problem with the transparent proxy implementation of ISA server that prevents anz correct polling HTTP implementation?<br/> <br/>Tue, 24 Nov 2009 17:33:30 Z2009-11-25T00:18:54Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/c73786eb-c5d0-47aa-a946-9aa489163b2ahttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/c73786eb-c5d0-47aa-a946-9aa489163b2aRama Charanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rama%20Charan"The timeout elapsed upon attempting to obtain a token." Error sometimes<table border=0 width="100%"> <tbody> <tr> <td align=left><span>Hi All,<br/><br/>When running service bus tutorials eg:&quot;Introduction to the .NET Service Bus</span></td> </tr> <tr> <td align=left><span>Exercise 3: Multicast Messaging through&quot; <br/><br/>i get the error <strong>&quot;The timeout elapsed upon attempting to obtain a token.&quot;</strong></span></td> </tr> </tbody> </table> <br/>and restarting the application resolves the issue without any changes.<br/><br/>a)Any suggestions why this happens <br/>b)How this can be prevented to happen at all times?<br/><br/>Regards<br/>Rama charan<hr class="sig">MCTS Web application Technology SpecialistTue, 24 Nov 2009 14:45:29 Z2009-11-24T17:05:32Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/051567ff-9659-4475-ac31-df8f9de479b0http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/051567ff-9659-4475-ac31-df8f9de479b0Yorthttp://social.msdn.microsoft.com/Profile/en-US/?user=Yort.Net Services Security PrimerHi,<br/><br/>Can anybody suggest a link to a primer on security for .Net Services ? I'm interested in a comparison between the different security models (user name &amp; password, certificates, card space etc). For example, if we use certificates can we use self issued/signed certs or do we have to buy from the likes of Verisign ? If we use card space for authentication with our services, can non .Net third parties (PHP for example) still consume our services ? What are the relative pros and cons of each mechanism, and how hard is each to implement ?<br/><br/>I'm very new to this sort of security, and to the whole 'federation' thing and am looking for somewhere to start.<br/><br/>Thanks.<br/>Mon, 19 Oct 2009 20:23:12 Z2009-11-24T02:05:10Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/322986e8-ef12-45bb-8818-f77163121ee8http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/322986e8-ef12-45bb-8818-f77163121ee8Sachin Sanchetihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sachin%20Sancheti,Net service bus not showing in Service metadata/Publicly Listed Services<br/>Hi,<br/>I have created and registered a service on .net service bus, following is the code<br/>But, when I go to the url <a href="https://&lt;my namespace&gt;.servicebus.windows.net/">https://&lt;my namespace&gt;.servicebus.windows.net/</a><br/>I don't see my service listed there in the publicly Listed services.<br/><br/>What could be the reason?<br/><br/> <div style="color:black;background-color:white"> <pre> Uri address; address = ServiceBusEnvironment.CreateServiceUri(<span style="color:#a31515">&quot;http&quot;</span>, SERVICENAMESPACE, <span style="color:#a31515">&quot;MyService&quot;</span>); TransportClientEndpointBehavior userNamePasswordServiceBusCredential = <span style="color:blue">new</span> TransportClientEndpointBehavior(); userNamePasswordServiceBusCredential.CredentialType = TransportClientCredentialType.SharedSecret ; userNamePasswordServiceBusCredential.Credentials.SharedSecret.IssuerName = <span style="color:#a31515">&quot;owner&quot;</span> userNamePasswordServiceBusCredential.Credentials.SharedSecret.IssuerSecret = <span style="color:#a31515">&quot;&lt;defaultkey&gt;&quot;</span>; <span style="color:green">// create the service host reading the configuration</span> ServiceHost host = <span style="color:blue">new</span> ServiceHost(<span style="color:blue">typeof</span>(MyService), address); IEndpointBehavior serviceRegistrySettings = <span style="color:blue">new</span> ServiceRegistrySettings(DiscoveryType.Public); ((ServiceRegistrySettings)serviceRegistrySettings).DisplayName = <span style="color:#a31515">&quot;MyService&quot;</span>; ((ServiceRegistrySettings)serviceRegistrySettings).DiscoveryMode = DiscoveryType.Public; <span style="color:blue">foreach</span> (ServiceEndpoint subscriberEndpoint <span style="color:blue">in</span> host.Description.Endpoints) { subscriberEndpoint.Behaviors.Add(serviceRegistrySettings); subscriberEndpoint.Behaviors.Add(userNamePasswordServiceBusCredential); } Console.WriteLine(<span style="color:#a31515">&quot;Starting My Authentication service...&quot;</span>); host.Open(); Console.WriteLine(<span style="color:#a31515">&quot;My service started.&quot;</span>); Console.WriteLine(<span style="color:#a31515">&quot;Service address: &quot;</span> + address); Console.WriteLine(<span style="color:#a31515">&quot;Press [Enter] to exit&quot;</span>); Console.ReadLine(); Console.WriteLine(<span style="color:#a31515">&quot;Please wait...&quot;</span>); host.Close(); ========================================= Config &lt;bindings&gt; &lt;ws2007HttpBinding&gt; &lt;binding name=<span style="color:#a31515">&quot;default&quot;</span> closeTimeout =<span style="color:#a31515">&quot;00:05:00&quot;</span> openTimeout =<span style="color:#a31515">&quot;00:05:00&quot;</span>&gt; &lt;/binding&gt; &lt;/ws2007HttpBinding&gt; &lt;/bindings&gt; &lt;services&gt; &lt;service name=<span style="color:#a31515">&quot;MyService.MyService&quot;</span> &gt; &lt;endpoint contract=<span style="color:#a31515">&quot;MyService.IMyServiceContract&quot;</span> binding=<span style="color:#a31515">&quot;ws2007HttpBinding&quot;</span> bindingConfiguration =<span style="color:#a31515">&quot;default&quot;</span> /&gt; &lt;/service&gt; &lt;/services&gt; <br/></pre> </div><hr class="sig">Please mark if reply answers your query.Tue, 17 Nov 2009 11:01:22 Z2009-11-23T18:01:06Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/5d2878dd-afb5-4718-8589-b49a05d882bahttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/5d2878dd-afb5-4718-8589-b49a05d882baPedro Felixhttp://social.msdn.microsoft.com/Profile/en-US/?user=Pedro%20FelixPublishing a metadata endpoint on the service bus<p>Is there any way, in the current CTP, to publish the service metadata endpoint on the Service Bus and have this endpoint referenced by the Atom entry?<br><br>Thanks<br>Pedro Felix</p><hr class="sig">pfelix.wordpress.comTue, 17 Feb 2009 13:10:22 Z2009-11-23T07:21:22Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/1c4e1a52-6d50-4898-a699-6b0c6f7cb042http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/1c4e1a52-6d50-4898-a699-6b0c6f7cb042JuanSueroNYChttp://social.msdn.microsoft.com/Profile/en-US/?user=JuanSueroNYCDist TX over servicebusfrom the A Developer's Guide to Service Bus in Windows Azure platform AppFabric<br/><br/>&quot;Transaction flow requires the distributed transaction coordinators of the communicating parties to establish a communication path to each other. When going through the Service Bus, establishing this relationship is very challenging.&quot;<br/><br/>couldnt that be established over that socketshifter technology<br/><a href="http://vasters.com/clemensv/PermaLink,guid,26dc5df1-8b8c-4f71-8765-8904e584505b.aspx"><span style="color:#3399cc">http://vasters.com/clemensv/PermaLink,guid,26dc5df1-8b8c-4f71-8765-...</span></a><br/>or port bridge from Clemens Vasters post here<br/><a href="http://vasters.com/clemensv/PermaLink,guid,3e35d8bd-b755-453f-8c63-1a57c570eb4c.aspx"><span style="color:#3399cc">http://vasters.com/clemensv/PermaLink,guid,3e35d8bd-b755-453f-8c63-...</span></a><br/>or just the regular 3.5 ws* bindings and tunnel everything over this port bridge?<br/>i know it sounds slow right but are you looking for pure speed when doing dist tx? you may just want certainty over speedSun, 22 Nov 2009 04:58:11 Z2009-11-22T04:58:11Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a964b261-be4d-445e-bcb7-e987c8c0c449http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a964b261-be4d-445e-bcb7-e987c8c0c449Rama Charanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rama%20CharanError running Echoclient - Service Bus tutorialHi all,<br/><br/>I am not able to run the Echoclient tutorial.I get an error when i first try to run the service alone at the line<br/><br/>host.open()<br/><br/>the error is &quot;object not set to instance of an object&quot;.<br/><br/>I have a few more queries here<br/>a)does &quot;issuer name&quot; in code refer to the &quot;Default Issuer Name:&quot; under the service bus section in website?<br/>b)does &quot;issuersecret&quot; in code refers to &quot;Default Issuer Key&quot; under the service bus section in website?<br/>c)does &quot;<span style="font-size:x-small">serviceNamespaceDomain&quot; in code </span>refer to just the text after the words &quot;Service Namespace&quot; at the top of description in the website<br/><br/>Any suggestion or help is welcome.<br/>The code i am using is pasted below<br/><br/>----------------------------------------<br/>App config file<br/> <pre lang=x-xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;configuration&gt; &lt;system.serviceModel&gt; &lt;services&gt; &lt;service name=&quot;Microsoft.ServiceBus.Samples.EchoService&quot;&gt; &lt;endpoint contract=&quot;Microsoft.ServiceBus.Samples.IEchoContract&quot; binding=&quot;netTcpRelayBinding&quot; /&gt; &lt;/service&gt; &lt;/services&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt;</pre> EchoService.Cs <pre lang="x-c#">using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace Microsoft.ServiceBus.Samples { [ServiceBehavior(Name = &quot;EchoService&quot;, Namespace = &quot;https://cei-charan-dotnetservicespoc1-dev.servicebus.windows.net/Relay/&quot;)] class EchoService : IEchoContract { public string Echo(string text) { Console.WriteLine(&quot;Echoing: {0}&quot;, text); return text; } } } </pre> <br/><br/>IEchoContract.cs<br/> <pre lang="x-c#">using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace Microsoft.ServiceBus.Samples { [ServiceContract(Name = &quot;IEchoContract&quot;, Namespace = &quot;https://cei-charan-dotnetservicespoc1-dev.servicebus.windows.net/EchoV1/&quot;)] public interface IEchoContract { [OperationContract] String Echo(string text); } public interface IEchoChannel : IEchoContract, IClientChannel { } } </pre> <br/><br/>Program.Cs<br/> <pre lang="x-c#">using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using Microsoft.ServiceBus; using System.ServiceModel.Description; using Microsoft.ServiceBus.Description; namespace Microsoft.ServiceBus.Samples { class Program { static void Main(string[] args) { ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.AutoDetect; //If you are to expand on this tutorial, // be sure to remove your name and password //and replace it with a more sophisticated user interface. string serviceNamespaceDomain = &quot;CEI-Charan-DotnetServicesPOC1-DEV&quot;; string issuerName = &quot;owner&quot;; string issuerSecret = &quot;km0vygixnBuG8WJSoFhf+DMAq94FTd9EhduYKGGqQBs=&quot;; Uri address = ServiceBusEnvironment.CreateServiceUri(&quot;sb&quot;, serviceNamespaceDomain, &quot;EchoService&quot;); TransportClientEndpointBehavior sharedSecretServiceBusCredential = new TransportClientEndpointBehavior(); sharedSecretServiceBusCredential.CredentialType = TransportClientCredentialType.SharedSecret; sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerName = issuerName; sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerSecret = issuerSecret; ServiceHost host = new ServiceHost(typeof(EchoService), address); IEndpointBehavior serviceRegistrySettings = new ServiceRegistrySettings(DiscoveryType.Public); foreach (ServiceEndpoint endpoint in host.Description.Endpoints) { endpoint.Behaviors.Add(serviceRegistrySettings); endpoint.Behaviors.Add(sharedSecretServiceBusCredential); } Console.WriteLine(&quot;Opening host.Please wait...&quot;); host.Open(); Console.WriteLine(&quot;Service address&quot; + address); Console.WriteLine(&quot;Press [Enter] to exit:&quot;); Console.ReadLine(); host.Close(); } } } </pre> <br/><br/>My service namespace is <br/><a href="https://cei-charan-dotnetservicespoc1-dev.servicebus.windows.net/">https://cei-charan-dotnetservicespoc1-dev.servicebus.windows.net/</a> <br/><br/><br/><br/> <hr class=sig> MCTS Web application Technology SpecialistWed, 11 Nov 2009 12:20:17 Z2009-11-23T12:25:11Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a53a7853-dc7f-495b-b864-291112ac47echttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a53a7853-dc7f-495b-b864-291112ac47ecyy2k5http://social.msdn.microsoft.com/Profile/en-US/?user=yy2k5The missing "Add STS Reference" (VS 2008 & WIF)Having uninstalled the Geneva Framework and installed the newly released Windows Identity Foundation RC (<a title=here href="http://blogs.msdn.com/card/archive/2009/11/06/announcing-windows-identity-foundation-wif-release-candidate.aspx" title=here>here</a> ), I find the the previous &quot;Modify STS Reference&quot; is still there (just a unfuncional link) but the &quot;Add STS Reference&quot;, which is supposed to take the place of &quot;Modify STS Reference&quot;, does not show up.<br/> <br/> I spent hours to google for solution, but never succeeded ... Can anyone help? Most appreciation!!<br/>Tue, 10 Nov 2009 06:42:29 Z2009-11-19T20:40:03Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/fab356c2-e309-4e01-b8d5-6348b45e9562http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/fab356c2-e309-4e01-b8d5-6348b45e9562Rama Charanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rama%20CharanNew training kit released on nov 17-09 for updated .net services sdk of nov.new Training kit for updated .net services sdk released on 17 nov<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=413e88f8-5966-4a83-b309-53b7b77edf78&amp;displaylang=en"><br/><br/>http://www.microsoft.com/downloads/details.aspx?FamilyID=413e88f8-5966-4a83-b309-53b7b77edf78&amp;displaylang=en</a> <br/><br/><br/>note .net services sdk is also updated once agin on 16 nov<br/><br/><a href="http://www.microsoft.com/downloads/details.aspx?familyid=C80EBADF-7EB8-4A62-ABCD-0B57FA3855F8&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=C80EBADF-7EB8-4A62-ABCD-0B57FA3855F8&amp;displaylang=en</a><br/><br/><br/> please keep replying  to this item whenever newer updates are avaliable so that whenever anyone come to forums they would be sure issue is not due to old verion<br/><br/>i think atlest the services  blog should have an entry whenever new sdk is released to use it as common place to know about new updates..<br/> <hr class=sig> MCTS Web application Technology SpecialistThu, 19 Nov 2009 11:03:57 Z2009-11-19T11:03:57Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ecff6c2f-88b5-4267-babe-29842434894chttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ecff6c2f-88b5-4267-babe-29842434894cDrNetDohttp://social.msdn.microsoft.com/Profile/en-US/?user=DrNetDoProblem with adding a service to .Net Services SolutionHello!<br/><br/>I am following the Lab exercise : Intro to the .Net Services Bus and though Task 1 - Creating you .Net Services &amp; SQL Services Soultion document has a different graphic than the Nov 2009 CTP site. In spite of that the site did allow me to create a service namespace I'm not finding away to add a sevice to the namespace. Are lab docs out of date? Is there another way to accomplish this &quot;Hands-on&quot;task?<br/><br/>Thanks,<br/><br/>Steph<hr class="sig">StephTue, 17 Nov 2009 08:29:11 Z2009-11-23T10:15:06Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/876ab84a-adfd-4741-9a3d-e785967b09d4http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/876ab84a-adfd-4741-9a3d-e785967b09d4Mike Lorengohttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20LorengoPublishing Sensor Events to Many Clients using NetEventRelay (Ideally Silverlight Clients)<p>Hi,<br/>Let's say I have a temperature sensor that publishes events on an internal service bus. I would like to take that internal event and publish it to multiple external clients. Ideally these would be Silverlight clients.<br/><br/>To accomplish the first part (publishing internal events to external clients), I think I would need to do something like this:<br/><br/>a) Declare a ISensorEventContract<br/>    [ServiceContract(Name = &quot;ISensorEventContract&quot;, Namespace = &quot;<a href="http://labs.lorengo.com/Service/SensorService/">http://labs.lorengo.com/Service/SensorService/</a>&quot;)]<br/>    public interface ISensorEventContract<br/>    {<br/>        [OperationContract(IsOneWay = true)]<br/>        void TemperatureEvent(string eventText);<br/>    }</p> <p>    public interface ISensorEventChannel : ISensorEventContract, IClientChannel<br/>    {<br/>    }<br/><br/>b) Declare a SensorService<br/>    [ServiceBehavior(Name = &quot;SensorEventService&quot;, Namespace = &quot;<a href="http://labs.lorengo.com/Service/SensorService/">http://labs.lorengo.com/Service/SensorService/</a>&quot;)]<br/>    public class SensorEventService : ISensorEventContract<br/>    {<br/>        void ISensorEventContract.TemperatureEvent(string eventText)<br/>        {<br/>          // What should I put here?<br/>          // Should I make my TemperatureEvent return the string?<br/><br/>        }<br/>    }<br/><br/><br/>c) Eventually, I'll want to subscribe to these events in Silverlight. Is this possible? Should I use a duplex channel? Or do I simply use the SensorEventContract in my Silverlight client. Again, I want a PubSub / NetEventRelay model where I can publish one event to many subscribers.<br/><br/>Thanks for listening</p>Wed, 18 Nov 2009 23:54:34 Z2009-11-19T06:25:37Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9ac5680b-0bf8-47a5-815f-0eec395351eahttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9ac5680b-0bf8-47a5-815f-0eec395351eadc10101http://social.msdn.microsoft.com/Profile/en-US/?user=dc10101Service Bus QuotasIn MSDN <a href="http://msdn.microsoft.com/en-us/library/ee732538.aspx">http://msdn.microsoft.com/en-us/library/ee732538.aspx</a>, I find that : <p><strong>Number of simultaneous connections (senders) open per service namespace</strong> has a quota of only 25.<br/><br/>If I want to develop an application which can accept more than 100 connections, what should I do?<br/><br/>Thanks.</p>Fri, 13 Nov 2009 06:03:59 Z2009-11-19T10:54:20Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/017b28b6-2833-41ac-9cd9-481c3c87583fhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/017b28b6-2833-41ac-9cd9-481c3c87583fServiceBusUserhttp://social.msdn.microsoft.com/Profile/en-US/?user=ServiceBusUserlistener and sender quotasCurrent quotas are 100 for sender and 25 for listener.  <br/><br/>Any idea when these limits will be increased? Fri, 13 Nov 2009 23:30:10 Z2009-11-19T10:31:09Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/41b68a66-b5f2-4fdd-9488-a0d97a811a02http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/41b68a66-b5f2-4fdd-9488-a0d97a811a02Rama Charanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rama%20CharanService bus -> Rest tutorial -> not able to see image when url pasted.Hi All,<br/><br/>Steps:<br/>1)just wrote code same as given in new tutorial downloaded on nov 13,2009 for the Rest tutorial under service bus.<br/><br/>2)when i run the code after i replaced code with my issuername and issuer secret for the above the code runs fine<br/><br/>3) when i copy URL in to web browser i dont see the image.( i get no errors)<br/><br/>Environment : windows 7 , .net servies sdk verison of nov 13,09.image is in the same folder as the project <br/><br/>Can you tell me what i am missing,Any suggestions?<br/><br/>the code i use is pasted below<br/><br/> <pre lang=x-xml>App.config file &lt;behaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name=&quot;sharedSecretClientCredentials&quot;&gt; &lt;transportClientEndpointBehavior credentialType=&quot;SharedSecret&quot;&gt; &lt;clientCredentials&gt; &lt;sharedSecret issuerName=&quot;my owner name placed here&quot; issuerSecret=&quot;my secret key placed here&quot; /&gt; &lt;/clientCredentials&gt; &lt;/transportClientEndpointBehavior&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name=&quot;default&quot;&gt; &lt;serviceDebug httpHelpPageEnabled=&quot;false&quot; httpsHelpPageEnabled=&quot;false&quot; /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt;</pre> <pre lang="x-c#">//IImageContract.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Web; using System.IO; namespace ImageListener { [ServiceContract(Name = &quot;IImageContract&quot;, Namespace = &quot;http://samples.microsoft.com/ServiceModel/Relay/&quot;)] public interface IImageContract { [OperationContract,WebGet] Stream GetImage(); } public interface IImageChannel : IImageContract, IClientChannel { } } //////////////////// ImagService.cs ////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.Drawing; using System.Drawing.Imaging; using Microsoft.ServiceBus.Web; using System.IO; using System.ServiceModel.Web; namespace ImageListener { [ServiceBehavior(Name = &quot;ImageService&quot;, Namespace = &quot;http://samples.microsoft.com/ServiceModel/Relay/&quot;)] class ImageService : IImageContract { const string imageFileName = &quot;image.jpg&quot;; Image bitmap; public ImageService() { this.bitmap = Image.FromFile(imageFileName); } #region IImageContract Members public Stream GetImage() { MemoryStream stream = new MemoryStream(); this.bitmap.Save(stream, ImageFormat.Jpeg); stream.Position = 0; WebOperationContext.Current.OutgoingResponse.ContentType = &quot;image/jpeg&quot;; return stream; } #endregion } } ///////////////////////// Program.cs /////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Web; using System.IO; using Microsoft.ServiceBus; namespace ImageListener { class Program { static void Main(string[] args) { string serviceNamespaceDomain = &quot;my name space name goes here&quot;; Uri address = ServiceBusEnvironment.CreateServiceUri(&quot;https&quot;, serviceNamespaceDomain, &quot;Image&quot;); WebServiceHost host = new WebServiceHost(typeof(ImageService), address); host.Open(); Console.WriteLine(&quot;Copy the following address into a browser to see the image: &quot;); Console.WriteLine(address + &quot;GetImage&quot;); Console.WriteLine(); Console.WriteLine(&quot;Press [Enter] to exit&quot;); Console.ReadLine(); host.Close(); } } } </pre><hr class="sig">MCTS Web application Technology SpecialistMon, 16 Nov 2009 11:41:07 Z2009-11-18T07:39:48Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/4e98e381-3544-45b4-9d09-c2c7fc3a55abhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/4e98e381-3544-45b4-9d09-c2c7fc3a55abRiyanahttp://social.msdn.microsoft.com/Profile/en-US/?user=RiyanaWindows Azure Web Role + Access Control Services<div>Hi All,</div> <div>Here, I am looking for a  your valuable advice on selecting best security architecture for my application. Please check the below points to get an overview about my application:</div> <div>1.<span style="white-space:pre"> </span>Windows Azure hosted ASP.NET/Web role application</div> <div>2.<span style="white-space:pre"> </span>Should support role based authorization</div> <div>3.<span style="white-space:pre"> </span>1st release will be with ACS + Windows Live ID STS</div> <div>4.<span style="white-space:pre"> </span>2nd release will be with ADFS(Geneva Server)</div> <div>5.<span style="white-space:pre"> </span>3rd release will be with custom STS provider</div> <div>According to the above facts, I am unable to select the exact security architecture for my application. Even .NET Services November CTP release made me too complex. So, Please be kind enough to advice me. I really appreciate your early attention on this regard. Thank you. </div> <div><br/></div>Mon, 16 Nov 2009 05:16:22 Z2009-11-20T11:06:29Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/61c11a78-f2c2-4f1d-91a9-6a5a8ff3786chttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/61c11a78-f2c2-4f1d-91a9-6a5a8ff3786cdc10101http://social.msdn.microsoft.com/Profile/en-US/?user=dc10101Why did my service application try to access "watchdog.servicebus.windows.net"?<p>Hi, guys:<br/>I tried to run an EchoSample application, but it failed when calling host.Open();<br/>The exception is:<br/>-------------------------------------------<br/>System.ServiceModel.CommunicationException was unhandled<br/>  Message=&quot;Unable to reach watchdog.servicebus.windows.net via TCP (818, 828) or HTTP (80, 443)&quot;<br/>  Source=&quot;Microsoft.ServiceBus&quot;<br/>  StackTrace:<br/>       at Microsoft.ServiceBus.NetworkDetector.ChooseConnectivityModeForAutoDetect(Uri uri)<br/>       at Microsoft.ServiceBus.TcpRelayTransportBindingElement.BuildInnerBindingElement(BindingContext context)<br/>       at Microsoft.ServiceBus.TcpRelayTransportBindingElement.GetProperty[T](BindingContext context)<br/>       at System.ServiceModel.Channels.BindingElement.GetIndividualProperty[T]()<br/>       at System.ServiceModel.Description.DispatcherBuilder.SecurityContractInformationEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters)<br/>       at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)<br/>       at System.ServiceModel.ServiceHostBase.InitializeRuntime()<br/>       at System.ServiceModel.ServiceHostBase.OnBeginOpen()<br/>       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<br/>       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>       at System.ServiceModel.Channels.CommunicationObject.Open()<br/>       at Microsoft.ServiceBus.Samples.Program.Main(String[] args) in C:\Users\dc10101\Documents\Visual Studio 2008\Projects\EchoService\EchoService\Program.cs:line 58<br/>       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br/>       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br/>       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br/>       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br/>       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br/>       at System.Threading.ThreadHelper.ThreadStart()<br/>  InnerException: <br/>-------------------------------------------<br/><strong>Note:</strong> the error message is &quot;Unable to reach watchdog.servicebus.windows.net via TCP (818, 828) or HTTP (80, 443)&quot;. Who can help me? BTW, I cannot access Service Bus Portal website either :(</p>Fri, 13 Nov 2009 04:31:27 Z2009-11-17T07:30:35Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ca6f183e-3ad3-4c34-8e97-3a37c798b226http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ca6f183e-3ad3-4c34-8e97-3a37c798b226Sayooj Parambathhttp://social.msdn.microsoft.com/Profile/en-US/?user=Sayooj%20ParambathRunning the EchoSample Behind Firewall<p>I'm behind a corporate firewall (Websense Web Security Gateway) and I have the outbound ports (808, 818, 819, 828) opened for 65.55.54.16 and I also have the proxy disabled for this address.  When I try to run the EchoSample included with the SDK, I get <strong>EndPointNotFoundException </strong>with error message <strong>- <br/></strong>&quot;Could not connect to net.tcp://xyz.servicebus.windows.net:828/EchoService/. The connection attempt lasted for a time span of 00:00:21.0410000. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <strong>70.37.101.60</strong>:828&quot;. <br/><br/>After opening up the outbound ports for <strong>70.37.101.60</strong>, I was able to run the service part but not the client. But later when I tried again, even the server didn't run and now I get error for <strong>70.37.101.59</strong>. Do I need to get the outbound ports opened for 70.37.*.* also apart from 65.55.54.16 to connect to the service bus? <br/><br/>Stack trace is given below.<br/><br/>   at Microsoft.ServiceBus.RelayedOnewayTcpClient.Connect()<br/>   at Microsoft.ServiceBus.RelayedOnewayTcpClient.EnsureChannel()<br/>   at Microsoft.ServiceBus.RelayedOnewayTcpClient.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.RelayedOnewayTcpListener.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.RefcountedCommunicationObject.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.RelayedOnewayChannelListener.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)<br/>   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<br/>   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.RelayedSocketListener.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.SocketConnectionListener.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.BufferedConnectionListener.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.ConnectionAcceptor.Open(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.ConnectionDemuxer.StartDemuxing(TimeSpan timeout, OnViaDelegate viaDelegate)<br/>   at Microsoft.ServiceBus.SocketConnectionTransportManager.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.TransportManager.Open(TimeSpan timeout, TransportChannelListener channelListener)<br/>   at Microsoft.ServiceBus.Channels.TransportManagerContainer.Open(TimeSpan timeout, SelectTransportManagersCallback selectTransportManagerCallback)<br/>   at Microsoft.ServiceBus.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.SocketConnectionChannelListener`2.OnOpen(TimeSpan timeout)<br/>   at Microsoft.ServiceBus.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)<br/>   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<br/>   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br/>   at System.ServiceModel.Channels.CommunicationObject.Open()<br/>   at Microsoft.ServiceBus.Samples.Program.Main(String[] args) in C:\Program Files\Microsoft .NET Services SDK (Nov 2009 CTP)\Samples\ServiceBus\GettingStarted\Echo\CS35\Service\Program.cs:line 59<br/>   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br/>   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br/>   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br/>   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br/>   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br/>   at System.Threading.ThreadHelper.ThreadStart()</p>Mon, 16 Nov 2009 10:33:16 Z2009-11-17T13:01:02Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/4b0e3a1f-fd91-4d0c-9875-20d5eab661d2http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/4b0e3a1f-fd91-4d0c-9875-20d5eab661d2gvigelethttp://social.msdn.microsoft.com/Profile/en-US/?user=gvigeletBinding configuration errors, which were previously working<span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>The following binding configuration has been working for a while now and is no longer working.  I recieve the Incompatible channel listener settings error when I try to run my program that was once working.  <br/><br/>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">bindings</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>    &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">netTcpRelayBinding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>        &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">name</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ocrDefault</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">connectionMode</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Relayed</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>            &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">security</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">mode</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Transport</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">relayClientAuthenticationType</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">None</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> /&gt;<br/>        &lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>        &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">name</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">mexdefault</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>            &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">security</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">mode</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">None</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">relayClientAuthenticationType</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">None</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">/&gt;<br/>        &lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>    &lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">netTcpRelayBinding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>&lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">bindings</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">services</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>    &lt;</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">service</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">name</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">OCRService.OcrService</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                behaviorConfiguration</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">serviceMetadata</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>        &lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">endpoint</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">name</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">OcrServiceEndpoint</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> <br/></span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      contract</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">OCRService.IOcrService</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> <br/></span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">netTcpRelayBinding</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      bindingConfiguration</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ocrDefault</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> /&gt;<br/><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>        &lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">endpoint</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">name</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">MexEndpoint</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      contract</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">IMetadataExchange</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      binding</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">netTcpRelayBinding</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      bindingConfiguration</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">mexdefault</span></span><span style="font-size:x-small">&quot;<br/></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">                      address</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">mex</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> /&gt;<br/></span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">    &lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">service</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<br/>&lt;/</span></span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">services</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;</span></span></p><hr class="sig">George VigeletteFri, 13 Nov 2009 23:22:52 Z2009-11-19T10:27:36Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/e89941f1-692d-4665-9d0a-51c49a089b27http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/e89941f1-692d-4665-9d0a-51c49a089b27Chris Curryhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20CurryNovember CTP Max Message Size<p>Do we no longer have control over the message size within the November CTP?<br/><br/>I'm sending XML files as a string argument through a simple service.  The file sizes are around 10-40KB.  <br/><br/>Previouslyt my service wasn't getting some of the larger files until I changed the message size limits.<br/><br/>Before the November CTP the following used to work just fine:</p> <pre lang=x-xml> &lt;netTcpRelayBinding&gt; &lt;binding name=&quot;default&quot; closeTimeout=&quot;00:01:00&quot; openTimeout=&quot;00:03:00&quot; maxBufferSize=&quot;1000000&quot; maxReceivedMessageSize=&quot;1000000&quot;&gt; &lt;readerQuotas maxArrayLength=&quot;100000&quot; /&gt; &lt;/binding&gt; &lt;/netTcpRelayBinding&gt;<br/></pre> <br/>Since the November CTP this has stopped working and smaller messages go through but the larger ones do not.  If I step through both the client and the service the client makes the call to the service operation but the message never reaches the service.  <br/>Both client and service are using the same binding.Mon, 16 Nov 2009 19:26:39 Z2009-11-16T22:31:11Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/31861595-dc36-4c4c-9166-aab83ee70465http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/31861595-dc36-4c4c-9166-aab83ee70465Sachin Sanchetihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sachin%20SanchetiHow to Add ACS Custom Issuer - Nov CTPHi, <br/>We had developed a custom IPSTS which was added as an issuer in ACS along with custom claim types. We had also creted rules for this custom IPSTS.<br/>Using ACM.exe how can we create a custom issuer pointing to our IPSTS?<br/>After Nov CTP , What happens to the WSFederation module and controls being used in the Relying party applications?<br/><br/>Please point to sample code if any.<br/><hr class="sig">Please mark if reply answers your query.Mon, 09 Nov 2009 13:17:09 Z2009-11-17T11:50:48Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/0b00f3a8-f586-416e-a1db-42187d772463http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/0b00f3a8-f586-416e-a1db-42187d772463Cyrus Harvesf - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Cyrus%20Harvesf%20-%20MSFTGraphical Tool Prototype for the ACS Management Service<p>The Access Control Service saw some significant changes with the November CTP release. Prior to that release, the portal was a convenient tool for managing ACS resources visually. The linked tool is preview of our plans for a UI tool for managing ACS resources. Please feel free to use it and provide feedback. Your comments are valuable in assisting to create the best possible user experience.<br/><br/>You can find the tool at: <a href="http://code.msdn.microsoft.com/acmbrowser">http://code.msdn.microsoft.com/acmbrowser</a>.<br/><br/>This source code is provided AS IS with no warranties and confers no rights.</p>Sat, 14 Nov 2009 01:15:41 Z2009-11-14T17:34:36Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/96771810-ffcf-4e1d-aa31-87eed8aee5b0http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/96771810-ffcf-4e1d-aa31-87eed8aee5b0Jenny Lohttp://social.msdn.microsoft.com/Profile/en-US/?user=Jenny%20LoThe .NET Services November 2009 CTP Breaking Changes Announcement and Scheduled Maintenance Please see this <a href="http://blogs.msdn.com/netservicesannounce/archive/2009/10/30/the-net-services-november-2009-ctp-breaking-changes-announcement-and-scheduled-maintenance.aspx">blog post</a> for detail.<br/><br/>The .NET Services TeamFri, 30 Oct 2009 21:13:26 Z2009-11-13T23:43:09Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/74c188cc-9af5-4b0c-a6c9-48a732e4d720http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/74c188cc-9af5-4b0c-a6c9-48a732e4d720Wicht101http://social.msdn.microsoft.com/Profile/en-US/?user=Wicht101Service Namespace suddenly deletedHi,<br/><br/>this morning two of my service namespaces were suddenly deleted. Why does this happen?<br/>I used the namespaces frequently, so is there some kind of traffic limit before it gets deleted by Microsoft ?!?!?<br/><br/>Sorry, but the .net services have lots of open issues that makes it impossible to work with them.<br/><br/>Regards,<br/><br/>AxelFri, 13 Nov 2009 08:51:29 Z2009-11-19T10:55:33Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/527becaa-a6f8-4fd0-859b-23e0fe24174fhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/527becaa-a6f8-4fd0-859b-23e0fe24174fMani.http://social.msdn.microsoft.com/Profile/en-US/?user=Mani.Authentication/Authorization using ACSI want to know about the Authentication/Authorization for my app.<br/> I want multiple users to access the application at the same time, of course with proper authentication, and limited access - incremental authorization (think of Role Based Access !!). I want to implement ACS for this.<br/> <br/> As per my knowledge, there can be only one username/password per solution. With this i cant have incremental authorization. So this method goes void.<br/> Currently I dont want to delve into cardspace and Certificates. (I'll try this out later).<br/> Latest CTP release states WLID is no more supported. (If WLID is supported how can I implement it ?)<br/> Finally i have decided to use Active Directory (of my company).<br/> <br/> Now i am totally confused from where to start... :(<br/> <br/> I was going through some other posts. Many of them suggested using &quot;Geneva Framework&quot; ( now Windows Identity Foundation - if I am right) for the Federation of the AD. <br/> <br/> - Is it compulsory to use Geneva Framework? Or is there some other solution? (Can i create my own security token ?)<br/> - Also, how will i associate a scope(/rules) with a particular service?<br/> - What is relevance of the url for the Scope?<br/> - Can I generate my own custom claims (input)?<br/> - Pls provide some guide lines to start coding.<br/> <br/> Thanks. <hr class=sig> ~MANISHThu, 05 Nov 2009 11:35:36 Z2009-11-13T00:51:38Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/d16222b1-4236-431e-a68f-5b54eabc5fbchttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/d16222b1-4236-431e-a68f-5b54eabc5fbcJayesh Oswalhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jayesh%20OswalSecurityTokenException while using Service BusHello,<br/><br/>I have installed the Nov' 09 release of .NET Services and Azure SDK. I tried running the &quot;EchoSample&quot; that ships with .NET Services SDK. I updated the sample to use the issuerName and issuerSecret to connect to the service bus that i had configured. Apart from this I have not done any changes.<br/><br/>I am getting SecurityTokenException while opening the service.<br/>i.e., at host.Open()<br/><br/>It says that &quot;The token provider was unable to provide a security token&quot;<br/><hr class="sig">JayeshTue, 10 Nov 2009 06:07:42 Z2009-11-13T00:41:34Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/d4e35ad0-eeee-4b23-80a2-363ea9e7dee6http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/d4e35ad0-eeee-4b23-80a2-363ea9e7dee6PriyankaSinhahttp://social.msdn.microsoft.com/Profile/en-US/?user=PriyankaSinhaProblem accessing .NET Services for AzureI am having problems accessing your .NET Services for Azure. Until last Friday it worked fine and now when I logon to my account I do not get option to make changes to Access Control or Service bus seetings. I verified this with one of my collegues account and it is same.<br/><br/>Thanks,<br/>PriyankaThu, 12 Nov 2009 08:34:46 Z2009-11-18T09:37:23Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/f1bfe662-1c80-4ed2-98f7-844f9096d93chttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/f1bfe662-1c80-4ed2-98f7-844f9096d93cgvigelethttp://social.msdn.microsoft.com/Profile/en-US/?user=gvigeletSecuring a Web Service while exposing the mex endpoint publically<p>I have a service with two declared endpoints if I put no authentication on either endpoint generating a proxy client does not need credentials.  EXAMPLE<br/><br/><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">system.serviceModel</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">bindings</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">netTcpRelayBinding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt 0.5in"><span style="font-family:'Courier New';color:blue;font-size:8pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">default</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">connectionMode</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">Relayed</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">closeTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">openTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">receiveTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:05:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">sendTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">security</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">mode</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">relayClientAuthenticationType</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">mexdefault</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">security</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">mode</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">relayClientAuthenticationType</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue">/&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">netTcpRelayBinding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">bindings</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">services</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">service</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">OCRService.OcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">behaviorConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">serviceMetadata</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt 39pt"><span style="font-family:'Courier New';color:blue;font-size:8pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">endpoint</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">OcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">contract</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">OCRService.IOcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">binding</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">netTcpRelayBinding</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">bindingConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">default</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt 39pt"><span style="font-family:'Courier New';color:blue;font-size:8pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">endpoint</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">MexEndpoint</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">contract</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">IMetadataExchange</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">binding</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">netTcpRelayBinding</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">bindingConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">mexdefault</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">address</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">mex</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">service</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">services</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceBehaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;!--</span><span style="font-family:'Courier New';color:green;font-size:8pt"> Application Behaviors </span><span style="font-family:'Courier New';color:blue;font-size:8pt">--&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behavior</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">serviceMetadata</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceMetadata</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> /&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behavior</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceBehaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:8pt"><span style="">  </span>&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:8pt">system.serviceModel</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:8pt">&gt;</span><span style="line-height:115%;font-size:8pt"></span></p> <p><br/>Now as soon as I secure the service endpoint, but keeping the mex enpoint open EXAMPLE<br/></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">system.serviceModel</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">bindings</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">netTcpRelayBinding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">default</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">connectionMode</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">Relayed</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">closeTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">openTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">receiveTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:05:00</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">sendTimeout</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">00:01:00</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">security</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">mode</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">Transport</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">relayClientAuthenticationType</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">mexdefault</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">security</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">mode</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">relayClientAuthenticationType</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">None</span><span style="color:#000000">&quot;</span><span style="color:blue">/&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">binding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">netTcpRelayBinding</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">bindings</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">services</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">service</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">OCRService.OcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">behaviorConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">serviceMetadata</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">endpoint</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">OcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">contract</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">OCRService.IOcrService</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">binding</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">netTcpRelayBinding</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">bindingConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">default</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">endpoint</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">MexEndpoint</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">contract</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">IMetadataExchange</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">binding</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">netTcpRelayBinding</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">bindingConfiguration</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">mexdefault</span><span style="color:#000000">&quot;</span><span style="color:blue"> </span><span style="color:red">address</span><span style="color:blue">=</span><span style="color:#000000">&quot;</span><span style="color:blue">mex</span><span style="color:#000000">&quot;</span><span style="color:blue"> /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">service</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">services</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceBehaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;!--</span><span style="font-family:'Courier New';color:green;font-size:8pt"> Application Behaviors </span><span style="font-family:'Courier New';color:blue;font-size:8pt">--&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behavior</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> </span><span style="font-family:'Courier New';color:red;font-size:8pt">name</span><span style="font-family:'Courier New';color:blue;font-size:8pt">=</span><span style="font-family:'Courier New';font-size:8pt"><span style="color:#000000">&quot;</span><span style="color:blue">serviceMetadata</span><span style="color:#000000">&quot;</span><span style="color:blue">&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">          </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceMetadata</span><span style="font-family:'Courier New';color:blue;font-size:8pt"> /&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">        </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behavior</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">      </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">serviceBehaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:8pt"><span style="">    </span>&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:8pt">behaviors</span><span style="font-family:'Courier New';color:blue;font-size:8pt">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:8pt"><span style="">  </span>&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:8pt">system.serviceModel</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:8pt">&gt;</span><span style="line-height:115%;font-size:8pt"></span></p> <font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>The creation of a proxy client now requires security where the mex should still have no security and allow clients to create the proxy class (though needing credentials to use the service).  Will this scenario be supported by launch at PDC?<br/></p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p> </p><hr class="sig">George VigeletteWed, 04 Nov 2009 20:25:58 Z2009-11-12T18:19:57Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/677958ed-89b3-4953-96d0-ea2fe7a0225chttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/677958ed-89b3-4953-96d0-ea2fe7a0225cRama Charanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rama%20Charanhow to find the "shared secret key" for a serviceHi All,<br/><br/>What does the  &quot;shared secret key&quot; in the REST Tutorial for service bus&quot; refer to from the information displayed in the the .net services website after we logged in.<br/><br/>Thanks,<br/>Rama charan<br/><hr class="sig">MCTS Web application Technology SpecialistWed, 11 Nov 2009 12:55:59 Z2009-11-19T12:48:42Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/173202a3-3177-4d07-884a-1781e931b7afhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/173202a3-3177-4d07-884a-1781e931b7afGoelevenhttp://social.msdn.microsoft.com/Profile/en-US/?user=GoelevenAccess control service unavailable<span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;font-size:13px;color:#333333;line-height:16px">Hi,<br/><br/>My access control service endpoint (https://goeleven.accesscontrol.windows.net) returns a 503 service unavailable...<br/><br/>Any idea?<br/><br/>Kind regards,<br/>Yves</span><br/> <div><br/></div> <div><br/></div>Tue, 10 Nov 2009 13:52:49 Z2009-11-17T11:58:01Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a2379714-a23d-4c91-9671-5529d5d1a40chttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/a2379714-a23d-4c91-9671-5529d5d1a40cSachin Sanchetihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sachin%20Sancheti.Net Service Bus Nov CTP - 404 error using ws2007HttpBindingHi,<br/>I have created and registered a service on .net service bus, following is the code<br/> <pre lang="x-c#"> Uri address; address = ServiceBusEnvironment.CreateServiceUri(&quot;http&quot;, SERVICENAMESPACE, &quot;MyService&quot;); TransportClientEndpointBehavior userNamePasswordServiceBusCredential = new TransportClientEndpointBehavior(); userNamePasswordServiceBusCredential.CredentialType = TransportClientCredentialType.SharedSecret ; userNamePasswordServiceBusCredential.Credentials.SharedSecret.IssuerName = &quot;owner&quot; userNamePasswordServiceBusCredential.Credentials.SharedSecret.IssuerSecret = &quot;&lt;defaultkey&gt;&quot;; // create the service host reading the configuration ServiceHost host = new ServiceHost(typeof(MyService), address); IEndpointBehavior serviceRegistrySettings = new ServiceRegistrySettings(DiscoveryType.Public); ((ServiceRegistrySettings)serviceRegistrySettings).DisplayName = &quot;MyService&quot;; ((ServiceRegistrySettings)serviceRegistrySettings).DiscoveryMode = DiscoveryType.Public; foreach (ServiceEndpoint subscriberEndpoint in host.Description.Endpoints) { subscriberEndpoint.Behaviors.Add(serviceRegistrySettings); subscriberEndpoint.Behaviors.Add(userNamePasswordServiceBusCredential); } Console.WriteLine(&quot;Starting My Authentication service...&quot;); host.Open(); Console.WriteLine(&quot;My service started.&quot;); Console.WriteLine(&quot;Service address: &quot; + address); Console.WriteLine(&quot;Press [Enter] to exit&quot;); Console.ReadLine(); Console.WriteLine(&quot;Please wait...&quot;); host.Close(); ========================================= Config &lt;bindings&gt; &lt;ws2007HttpBinding&gt; &lt;binding name=&quot;default&quot; closeTimeout =&quot;00:05:00&quot; openTimeout =&quot;00:05:00&quot;&gt; &lt;/binding&gt; &lt;/ws2007HttpBinding&gt; &lt;/bindings&gt; &lt;services&gt; &lt;service name=&quot;MyService.MyService&quot; &gt; &lt;endpoint contract=&quot;MyService.IMyServiceContract&quot; binding=&quot;ws2007HttpBinding&quot; bindingConfiguration =&quot;default&quot; /&gt; &lt;/service&gt; &lt;/services&gt; =================================<br/><br/>Client code with configuaraton is <br/><br/><br/><pre lang="x-c#"> Uri serviceUri = ServiceBusEnvironment.CreateServiceUri(&quot;http&quot;, solutionName, &quot;MyService&quot;); TransportClientEndpointBehavior sharedSecretServiceBusCredential = new TransportClientEndpointBehavior(); sharedSecretServiceBusCredential.CredentialType = TransportClientCredentialType.SharedSecret; sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerName = &quot;owner&quot;; sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerSecret = &quot;&lt;defaultkey&gt;&quot;; channelFactory = new ChannelFactory&lt;IMyServiceChannel&gt;(&quot;ws2007HttpBinding&quot;, new EndpointAddress(serviceUri)); channelFactory.Endpoint.Behaviors.Add(sharedSecretServiceBusCredential); channel = channelFactory.CreateChannel(); channel.Open(); channel.MyMethod(); channel.Close(); ============== Config &lt;bindings&gt; &lt;ws2007HttpBinding&gt; &lt;binding name=&quot;default1&quot; closeTimeout=&quot;00:05:00&quot; openTimeout=&quot;00:05:00&quot; receiveTimeout=&quot;00:05:00&quot; sendTimeout=&quot;00:02:00&quot;&gt; &lt;/binding&gt; &lt;/ws2007HttpBinding&gt; &lt;/bindings&gt; &lt;client&gt; &lt;endpoint contract=&quot;WindowsFormsApplication1.IMyServiceContract&quot; binding=&quot;ws2007HttpBinding&quot; bindingConfiguration=&quot;default1&quot; name=&quot;ws2007HttpBinding&quot;&gt; &lt;/endpoint&gt; &lt;/client&gt;</pre> When i try to call method of the service the inner exception is 404 not found.<br/>After the service registration i don't see my service listed in public atom feed.<br/>Please help.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></pre><hr class="sig">Please mark if reply answers your query.Thu, 12 Nov 2009 10:30:04 Z2009-11-12T10:30:05Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/996f7b47-fae2-4853-a87b-b0182a2f4993http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/996f7b47-fae2-4853-a87b-b0182a2f4993Jenny Lohttp://social.msdn.microsoft.com/Profile/en-US/?user=Jenny%20LoThe .NET Services November 2009 CTP QFE Breaking Changes Announcement and Scheduled Maintenance<p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small"><span style="font-family:Calibri">The .NET Services Team will release a QFE on 11/12/2009 (Thursday). <span style=""> </span>Users will have NO access to .NET Services Portal and .NET Services during the scheduled maintenance down time.<span style="">  </span><strong style="">Please note that any Access Control Service data (i.e. rules, scopes, issuers, token policies) that customers have created will have to be manually restored by customers post this QFE release.<span style="">  </span></strong></span></span></p> <p class=MsoNormal style="margin:0in 0in 10pt 0.5in"><strong style=""><span style="color:#e36c0a"><span style="font-size:small"><span style="font-family:Calibri">When:</span></span></span></strong></p> <p class=MsoNoSpacing style="text-indent:0.5in;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-size:small"><span style="font-family:Calibri"><span style="">    </span>START: November 12th, 2009, 3pm PST</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 10pt 0.5in"><span style="color:#e36c0a"><span style="font-size:small"><span style="font-family:Calibri"><span style="">    </span>END:<span style="">  </span>November 13th, 2009, Midnight PST</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 10pt 0.5in"><strong style=""><span style="color:#e36c0a"><span style="font-size:small"><span style="font-family:Calibri">Impact Alert:</span></span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 10pt 0.5in"><span style="color:#e36c0a"><span style="font-size:small"><span style="font-family:Calibri"><span style="">    </span>Service Bus, Access Control Service and the .NET Services Portal will be unavailable during this period.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">Please read the following detail to prepare your applications for this QFE release:</span></p> <h1 style="margin:24pt 0in 0pt"><span style="font-family:Cambria;color:#365f91;font-size:large">.NET Services SDK Samples</span></h1> <table class=MsoTableGrid style="border-collapse:collapse" border=0 cellspacing=0 cellpadding=0> <tbody> <tr style=""> <td style="padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:306.9pt;padding-right:5.4pt;padding-top:0in;border:#f0f0f0" colspan=2 width=409 valign=top> <h2 style="line-height:normal;margin:10pt 0in 0pt"><span style="font-family:Cambria;color:#4f81bd;font-size:medium">Service Bus Message Buffer HTTP API Sample</span></h2> </td> </tr> <tr style=""> <td style="padding-bottom:0in;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Description</span></p> </td> <td style="padding-bottom:0in;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">A HTTP Message Buffer sample has been <span style=""> </span>added to the November 2009 CTP QFE SDK </span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Pre-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">SDK contains Message Buffer Client sample only</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Post-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">SDK contains both Message Buffer Client and HTTP Message Buffer samples</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Recommended Post-Release Action</span></span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">In order to get access to the new HTTP Message Buffer samples, users will need to download the new November 2009 CTP QFE SDK </span></span></p> </td> </tr> </tbody> </table> <h1 style="margin:24pt 0in 0pt"><span style="font-family:Cambria;color:#365f91;font-size:large">Access Control Service</span></h1> <table class=MsoTableGrid style="border-collapse:collapse" border=0 cellspacing=0 cellpadding=0> <tbody> <tr style=""> <td style="padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:306.9pt;padding-right:5.4pt;padding-top:0in;border:#f0f0f0" colspan=2 width=409 valign=top> <h2 style="line-height:normal;margin:10pt 0in 0pt"><span style="font-size:medium"><span style="color:#4f81bd"><span style="font-family:Cambria">A New Service Namespace Management Key will be generated</span></span></span></h2> </td> </tr> <tr style=""> <td style="padding-bottom:0in;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Description</span></p> </td> <td style="padding-bottom:0in;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">A New Service Namespace Management Key will be generated.<span style="">  </span>Please note that it might take up to 24 hours for some management keys to be generated after the release</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Pre-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">n/a</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Post-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">n/a</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Recommended Post-Release Action</span></span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Configuration files, user code or scripts referencing the management key should be updated with the new management key</span></span></p> </td> </tr> <tr style=""> <td style="padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:306.9pt;padding-right:5.4pt;padding-top:0in;border:#f0f0f0" colspan=2 width=409 valign=top> <h2 style="line-height:normal;margin:10pt 0in 0pt"><span style="font-family:Cambria;color:#4f81bd;font-size:medium">Access Control Service data will not be migrated</span></h2> </td> </tr> <tr style=""> <td style="padding-bottom:0in;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Description</span></p> </td> <td style="padding-bottom:0in;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;background:#e5e5e5;padding-top:0in;border:#f0f0f0" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">All Access Control Service data such as rules, scopes, token policies, issuers will not be migrated to the November 2009 CTP QFE release</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Pre-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">n/a</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">Post-Release Behavior</span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri">n/a</span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Recommended Pre-Release Action</span></span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><strong style=""><span style="color:#e36c0a"><span style="font-family:Calibri">Export Access Control Service data</span></span></strong></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Customers who have configured ACS data (i.e. rules, scopes, token policies and issuer) may wish to export their data to enable post release restoration.<span style="">  </span>Currently the acm.exe tool does not support bulk operations such as backup/restore. Instead, it must be performed manually. To assist in the process there is a short script you can run which will create a collection of text files that capture the Token Policies, Scopes, Issuers, and Rules in files. While the Token Policies, Scopes, and Issuers are retrieved into their own respective files, the Rules must be retrieved in reference to the Scope. <span style=""> </span>As such, the script loops through all the scope IDs<span style="">  </span>in scopes.txt and requests all the rules for that particular scope and places them in the rules_[scope id].txt file.</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">To run this script, please ensure that the Service Namespace (service) and the Management key (mgmtkey) properties are set in acm.exe.config. </span></span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><strong style=""><span style="color:#e36c0a"><span style="font-family:Calibri"> </span></span></strong></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><strong style=""><span style="color:#e36c0a"><span style="font-family:Calibri">Export.BAT</span></span></strong></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt">acm getall scope &gt; scopes.txt</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt">FOR /F &quot;tokens=2 delims=: &quot; %%G IN ('findstr /B &quot;id&quot; scopes.txt') DO (acm getall rule -scopeid:%%G &gt;&gt; rules_%%G.txt)</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt">acm getall tokenpolicy &gt; tokenpolicy.txt</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#e36c0a;font-size:9pt">acm getall issuer &gt; issuer.txt</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri"> </span></span></p> </td> </tr> <tr style=""> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:95.4pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=127 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Recommended Post-Release Action</span></span></p> </td> <td style="border-bottom:gray 1pt solid;border-left:#f0f0f0;padding-bottom:0in;background-color:transparent;padding-left:5.4pt;width:211.5pt;padding-right:5.4pt;border-top:#f0f0f0;border-right:#f0f0f0;padding-top:0in" width=282 valign=top> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><strong style=""><span style="color:#e36c0a"><span style="font-family:Calibri">Restore Access Control Service Data</span></span></strong></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">Please note that a new Service Namespace Management Key will be generated as part of the QFE release.<span style="">  </span>After the QFE release, you will have to retrieve the new key from the Portal and update acm.exe.config.</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri"> </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="color:#e36c0a"><span style="font-family:Calibri">To perform a restoration, you will have to run all the necessary commands using the acm.exe tool. <span style="">  </span>To learn more about how to use the acm.exe tool, please see the ACM.exe sample in the SDK. Due to dependencies, the restoration must be done in a particular order. First the Token Policies, then the Scopes which reference the Token Policy IDs, then the Issuers, and then the Rules which reference both the Scope IDs and the Issuer IDs.</span></span></p> </td> </tr> </tbody> </table> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small">The .NET Services Team</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-family:Calibri;font-size:small"> </span></p>Thu, 12 Nov 2009 01:18:42 Z2009-11-12T01:19:01Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9b30f26a-acd7-4c8a-a793-dcaa4032c033http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/9b30f26a-acd7-4c8a-a793-dcaa4032c033gvigelethttp://social.msdn.microsoft.com/Profile/en-US/?user=gvigeletAdding an Issuer to ACS I would like to create a new issuer with listen rights to the root service namespace for my .NET Service Bus Project.  I have been able to create a user, but not successful in giving that user permissions to the service bus to host services.  I have been able to secure my own scope such as localhost with the ACS, but having issues trying provide different levels of access to my service namespace on the .NET Service Bus.<br/><br/>Essentially I want another issuer with send rights, a seperate issuer with listen rights and then the owner can still manage the bus.<br/><br/>Thanks,<br/><hr class="sig">George VigeletteTue, 10 Nov 2009 19:21:12 Z2009-11-11T18:10:13Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/1addc30f-9088-4ab1-abfe-df21e689f43bhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/1addc30f-9088-4ab1-abfe-df21e689f43bWicht101http://social.msdn.microsoft.com/Profile/en-US/?user=Wicht101Frequent TimeoutException while trying to access serviceHi all,<br/><br/>I expose five different web services over the service bus from a console application.<br/><br/><br/> <div style="background-color:white;color:black"> <pre> <span style="color:green">// create the endpoint address in the solution's namespace</span> Uri address = ServiceBusEnvironment.CreateServiceUri(<span style="color:#a31515">&quot;sb&quot;</span>, ServiceBusLibrary.ServiceBusUtil.solutionName, serviceName); <span style="color:green">// create the service host reading the configuration</span> ServiceHost host = <span style="color:blue">new</span> ServiceHost(serviceType, address); ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http; <span style="color:green">//Set the DiscoveryType to Public and Publish this in the Service Registry</span> ServiceRegistrySettings serviceRegistrySettings = <span style="color:blue">new</span> ServiceRegistrySettings(); serviceRegistrySettings.DiscoveryMode = DiscoveryType.Public; serviceRegistrySettings.DisplayName = serviceName; <span style="color:green">// add the Service Bus credentials to all endpoints specified in configuration</span> <span style="color:blue">foreach</span> (ServiceEndpoint endpoint <span style="color:blue">in</span> host.Description.Endpoints) { endpoint.Behaviors.Add(userNamePasswordServiceBusCredential); endpoint.Behaviors.Add(serviceRegistrySettings); } <span style="color:green">// open the service</span> host.Open(); </pre> </div> <br/><br/>The contract looks like this:<br/> <div style="background-color:white;color:black"> <pre> [ServiceBehavior(Name = <span style="color:#a31515">&quot;CompanyService&quot;</span>)] <span style="color:blue">public</span> <span style="color:blue">class</span> CompanyService : IReceiveMessageFromServiceBusService { <span style="color:blue">public</span> <span style="color:blue">void</span> ReceiveOrder(OrderMessage orderMessage) { <span style="color:green">// add Order Entry to Table</span> } <span style="color:blue">public</span> <span style="color:blue">void</span> ReceiveDelivery(DeliveryMessage deliveryMessage) { <span style="color:green">// add Delivery Entry to Table</span> } <span style="color:blue">public</span> <span style="color:blue">void</span> ReceiveStatusMessage(StatusMessage statusMessage) { <span style="color:green">// TODO implement</span> } } [ServiceContract] <span style="color:blue">public</span> <span style="color:blue">interface</span> IReceiveMessageFromServiceBusService { [OperationContract(IsOneWay = <span style="color:blue">true</span>)] <span style="color:blue">void</span> ReceiveOrder(OrderMessage orderMessage); [OperationContract(IsOneWay = <span style="color:blue">true</span>)] <span style="color:blue">void</span> ReceiveDelivery(DeliveryMessage deliveryMessage); [OperationContract(IsOneWay = <span style="color:blue">true</span>)] <span style="color:blue">void</span> ReceiveStatusMessage(StatusMessage statusMessage); } <span style="color:blue">public</span> <span style="color:blue">interface</span> IReceiveMessageFromServiceBusServiceChannel : IReceiveMessageFromServiceBusService, IClientChannel { } </pre> </div> <br/><br/>And the configuration file:<br/><br/><br/> <div style="background-color:white;color:black"> <pre><span style="color:blue">&lt;</span><span style="color:#a31515">system.serviceModel</span><span style="color:blue">&gt;</span> <span style="color:blue">&lt;</span><span style="color:#a31515">services</span><span style="color:blue">&gt;</span> <span style="color:blue">&lt;</span><span style="color:#a31515">service</span> <span style="color:red">name</span><span style="color:blue">=</span><span style="color:black">&quot;</span><span style="color:blue">CompanyServices.Services.CompanyService</span><span style="color:black">&quot;</span><span style="color:blue">&gt;</span> <span style="color:blue">&lt;</span><span style="color:#a31515">endpoint</span> <span style="color:red">address</span><span style="color:blue">=</span><span style="color:black">&quot;</span><span style="color:blue">&quot; binding=&quot;netTcpRelayBinding</span><span style="color:black">&quot;</span> <span style="color:red">contract</span><span style="color:blue">=</span><span style="color:black">&quot;</span><span style="color:blue">ServiceBusLibrary.Services.IReceiveMessageFromServiceBusService</span><span style="color:black">&quot;</span> <span style="color:blue">/&gt;</span> <span style="color:blue">&lt;/</span><span style="color:#a31515">service</span><span style="color:blue">&gt;</span> <span style="color:blue">&lt;/</span><span style="color:#a31515">services</span><span style="color:blue">&gt;</span> <span style="color:blue">&lt;/</span><span style="color:#a31515">system.serviceModel</span><span style="color:blue">&gt;</span> </pre> </div> <br/><br/>Now I run a worker role which checks for messages in a queue and which redirects the messages to the appropriate service hosted above.<br/> <div style="background-color:white;color:black"> <pre>ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http; ChannelFactory&lt;IReceiveMessageFromServiceBusServiceChannel&gt; channelFactory = <span style="color:blue">new</span> ChannelFactory&lt;IReceiveMessageFromServiceBusServiceChannel&gt;(<span style="color:blue">new</span> NetTcpRelayBinding(EndToEndSecurityMode.Transport, RelayClientAuthenticationType.None), <span style="color:blue">new</span> EndpointAddress(serviceAddress)); channelFactory.Endpoint.Behaviors.Add(ServiceBusUtil.GetCredentials()); IReceiveMessageFromServiceBusServiceChannel onewayChannel = channelFactory.CreateChannel(); onewayChannel.Open(); onewayChannel.ReceiveDelivery(deliverMessage); onewayChannel.Close();&lt;br/&gt; </pre> </div> <span style="text-decoration:underline"><strong>And there the problem arises:</strong></span><br/> <div style="background-color:white;color:black"> <pre>11.09.2009 12:37:35:020,Event=Critical,Level=Critical,ThreadId=5344,=Could not open service for recipient CompanyThree Exception: System.TimeoutException: The socket transfer timed out after 00:00:56.8060000. You have exceeded the timeout set on your binding. The time allotted to this operation may have been a portion of a longer timeout. ---&gt; System.IO.IOException: Fehler bei Lesevorgang, siehe interne Ausnahme. ---&gt; System.TimeoutException: The socket transfer timed out after 00:00:56.8060000. You have exceeded the timeout set on your binding. The time allotted to this operation may have been a portion of a longer timeout. ---&gt; System.Net.Sockets.SocketException: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) bei Microsoft.ServiceBus.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing) --- Ende der internen Ausnahmestapelüberwachung --- bei Microsoft.ServiceBus.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing) bei Microsoft.ServiceBus.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) bei Microsoft.ServiceBus.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count, TimeSpan timeout) bei Microsoft.ServiceBus.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count) bei System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) bei System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) bei System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) bei System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) --- Ende der internen Ausnahmestapelüberwachung --- bei System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) bei System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count) bei Microsoft.ServiceBus.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) --- Ende der internen Ausnahmestapelüberwachung --- bei Microsoft.ServiceBus.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) bei Microsoft.ServiceBus.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) bei Microsoft.ServiceBus.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&amp; timeoutHelper) bei Microsoft.ServiceBus.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper&amp; timeoutHelper) bei Microsoft.ServiceBus.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) bei Microsoft.ServiceBus.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) </pre> </div> <br/><br/>So it can't get a connection to the exposed services. The timeout occurs about<strong> ten times</strong> after restarting all applicaitons then it works for <strong>one time</strong>. This also happens if I expose the service in a worker role, so this doesn't seem to be a hardware related issue.<br/><br/>- I tried disabling all of my firewalls.<br/>- Start several Visual Studio processes for every application.<br/>- Changed the ConnectivityMode from AutoDetect to Http which didn't help.<br/>- I also tried setting the TimeSpan to one minute and implemented a retry mechanism, but the service could never be reached.<br/><br/>Thanks for any help,<br/><br/>AxelMon, 09 Nov 2009 13:44:52 Z2009-11-11T12:14:55Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/cdf0fb49-f040-490c-b2e3-5405e13c0391http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/cdf0fb49-f040-490c-b2e3-5405e13c0391Sachin Sanchetihttp://social.msdn.microsoft.com/Profile/en-US/?user=Sachin%20SanchetiHow to create ACS Rule for Live.com programaticallyAs per the notes which i found in another thread<br/><em>&quot;This is the desired behavior. Since no rules exist, ACS will consider the input claim as invalid, and forbids the client from accessing your service. It will be ideal to support the wildcard (*) for Live ID, so any one authenticated by Live ID will be able to access your service. Unfortunately, currently wildcard is only supported when using &quot;Copy input claim&quot;, which no longer suits to Live ID. Our ACS and Live ID team are working together to see if it is possible to support wildcard for Live ID in the future. For now, you have to create a rule for each Live ID that you trust.&quot;</em><br/><br/>To address this i need to create ACS Rules programatically, where Application has the WindowsLiveId of the user. Application should be able to add a rule in ACS where Claim WindowsLiveId is = &lt;user'swindowsliveid&gt; and output claim is Action=user's Windows live id.<br/>I have gone through the .Net service bus but there is no sample available for adding a rule for external issuers like live.com<br/><br/>Please let me know how to achieve this.<br/><hr class="sig">Please mark if reply answers your query.Mon, 02 Nov 2009 08:45:06 Z2009-11-11T12:08:39Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ed486088-dbeb-4549-9f00-3574c294fe3ahttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/ed486088-dbeb-4549-9f00-3574c294fe3aRahulSurhttp://social.msdn.microsoft.com/Profile/en-US/?user=RahulSurUser Authentication using ACS + Geneva ServerHi,<br/><br/>I have a web application which relies on WSFederationAuthentication(<span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><a href="https://&lt;myservice&gt;.accesscontrol.windows.net/passivests/federation.aspx">https://&lt;myservice&gt;.accesscontrol.windows.net/passivests/federation.aspx</a></span></span>) using ACS and a geneva server hosted in our network/domain for user authentication.   <br/>Does this apporach still hold vaild? Is there any sample to demonstrate user authentication using ACS and geneva server as STS?<br/><br/>Thanks,<br/>RahulFri, 06 Nov 2009 14:23:18 Z2009-11-12T11:10:32Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/17ca132f-2eb6-491c-b151-11ef47809e2fhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/17ca132f-2eb6-491c-b151-11ef47809e2fJenny Lohttp://social.msdn.microsoft.com/Profile/en-US/?user=Jenny%20LoScheduled Maintenance Notification - .NET Services Access Control Service - 11/10<p>Please see this <a href="http://blogs.msdn.com/netservicesannounce/archive/2009/11/10/scheduled-maintenance-notification-net-services-access-control-service.aspx">blog post</a> for detail.<br/><br/>Note that .NET Services Portal or Service Bus features leveraging Access Control Servie will also be unavailable during this scheduled maintenance.<br/></p>Wed, 11 Nov 2009 01:57:01 Z2009-11-11T01:58:03Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/73c9255c-ea17-4256-9235-d543ba2a6304http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/73c9255c-ea17-4256-9235-d543ba2a6304sidGhttp://social.msdn.microsoft.com/Profile/en-US/?user=sidGACS & Live Federation - passive STS URI is not workingHi,<br/><br/>I have a cloud app and I have used Live fedration using passive STS URI. This is not working since last few days.<br/><br/>Could you please let me know what are the chages and how I can solve the problem.<br/><br/>Thanks and Regards,<hr class="sig">sidGTue, 10 Nov 2009 11:00:23 Z2009-11-17T11:57:16Zhttp://social.msdn.microsoft.com/Forums/en-US/netservices/thread/5856ce51-26ae-4402-ad15-2519354e3742http://social.msdn.microsoft.com/Forums/en-US/netservices/thread/5856ce51-26ae-4402-ad15-2519354e3742dc10101http://social.msdn.microsoft.com/Profile/en-US/?user=dc10101Issue report: Wrong namespace in .NET Service Bus MSDN document<p> </p> <p><strong>Issue location</strong> in MSDN: <a href="http://msdn.microsoft.com/en-us/library/ee725239.aspx">http://msdn.microsoft.com/en-us/library/ee725239.aspx</a><br/>.NET Services Programming Guide<br/>    Service Bus<br/>        System and Developer Requirements<br/>            Getting Started with Service Bus<br/>                Service Bus Tutorial</p> <p><strong>Issue description:    <br/></strong>The attribute to describe the service has a wrong namespace &quot;<a href="http://samples.microsoft.com/ServiceModel/Relay/EchoV1">http://samples.microsoft.com/ServiceModel/Relay/EchoV1</a>&quot;. There're many similar appears in this sample.<br/>------------ code begin -------------<br/>[ServiceBehavior(Name = &quot;EchoService&quot;, Namespace = &quot;<a href="http://samples.microsoft.com/ServiceModel/Relay/EchoV1">http://samples.microsoft.com/ServiceModel/Relay/EchoV1</a>&quot;)]<br/>public class EchoService : IEchoContract<br/>{<br/>    public string Echo(string text)<br/>    {<br/>        Console.WriteLine(&quot;Echoing: {0}&quot;, text);<br/>        return text;<br/>    }<br/>}<br/>----------- code end ----------------<br/><br/><strong>Issue Correction:</strong><br/>The Namespace is incorrect. It should be &quot;<a href="http://samples.microsoft.com/ServiceModel/Relay/">http://samples.microsoft.com/ServiceModel/Relay/</a>&quot;.</p> <p>If we use the wrong service namespace to run the service and client, when we call method Echo, an exception will be thrown, saying:&quot;The message with Action 'http://samples.microsoft.com/ServiceModel/Relay/IEchoContract/Echo' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).&quot;</p>Mon, 09 Nov 2009 14:17:33 Z2009-11-10T14:23:06Z