Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Team Bloggers

Browse by Tags

All Tags » Indigo » Releases » Orcas   (RSS)

  • Orcas SP1 Released

    The first service pack for .NET Framework 3.5 came out yesterday, primarily focusing on fixing bugs and performance issues. There are some new features, notably around improving the support for REST based services and around serialization. Microsoft .NET Framework 3.5 Service Pack 1 Microsoft .NET Framework 3.5 Service Pack 1 (SP1) Readme Microsoft Visual Studio 2008 Service Pack 1 Visual Studio 2008 Team Foundation Server Service Pack 1 Here are some known issues related to WCF in this release. Authentication failure when Windows authentication is used over certain transports WCF now specifies a default domain target name in Windows authentication scenarios. When upgrading, the client may see an authentication failure when the following conditions exist: The scenario uses ClientCredentialType.Windows, which specifies the Negotiate authentication scheme. The scenario uses http, https, or net.tcp. The service runs under a non-domain account. An example of the authentication failure is "System.ComponentModel.Win32Exception The target principal name is incorrect" To resolve this issue: The client must override the default domain target name by specifying the Service Principal Name of the server in the SpnEndpointIdentity class, or User Principal Name in the UpnEndpointIdentity class, and then passing the identity to the EndpointAddress. If the client uses Https and requires X509CertificateEndpointIdentity, the client must still specify the SpnEndpointIdentity or UpnEndpointIdentity. The X509CertificateEndpointIdentity enables validation of thumbprints. The client can work around the loss of validation by registering for the System.Net.ServicePointManager.ServerCertificateValidationCallback and performing thumbprint validation manually. Breaking changes in the SspiNegotiatedOverTransport authentication mode When WSHttpBinding, WS2007HttpBinding, or NetTcpBinding is used with SecurityMode = TransportWithMessageCredential and a client credential type of Windows, clients that previously authenticated to a service by using NTLM will now fail to authenticate, with the following error: "System.ComponentModel.Win32Exception: Security Support Provider Interface (SSPI) authentication failed. The server may not be running in an account with identity 'host/<hostname>'. If the server is running in a service account (Network Service for example), specify the account's ServicePrincipalName as the identity in the EndpointAddress for the server. If the server is running Read More...
  • Orcas SP1 Beta Released

    Yesterday, a beta version of the first service pack for .Net Framework 3.5 was released including fixes and new features for WCF. The new features are primarily around serialization and tooling although there are enhancements scattered throughout many features. All of the files are available for public download. Microsoft .NET Framework 3.5 Service Pack 1 Beta Microsoft .NET Framework 3.5 Service Pack 1 Beta Readme In addition to not being compatible with the previously released Silverlight SDK, there are two known issues for the beta. HTTP POX is not composable with One-way The OneWayBindingElement class is designed to create client-side channels that expect null messages as responses; otherwise, it fails with a ProtocolException error. Standard message encoders return messages that have a non-empty message body. However, in a POX/REST scenario, you may want to process messages based solely on the contents of HTTP headers (for example, 200 for success; otherwise, failure), rather than the message body. Because message encoders do not let you return null messages based on HTTP headers in these scenarios, it is not possible to use OneWay contracts on the client side. To resolve this issue: In the channel stack configuration, add a filter channel between OneWayBindingElement and HttpTransportBindingElement that checks the HTTP response status code. If the code indicates success, it returns null; otherwise, it returns the original response message. The final configuration appears as follows, with a custom binding element that filters the responses. CustomBinding binding = new CustomBinding( new OneWayBindingElement(), new MyMessageFilterByHttpHeaders(), new TextMessageEncodingBindingElement(), new HttpTransportBindingElement() ); binding.Elements.Find&ltMessageEncodingBindingElement>().MessageVersion = MessageVersion.None; Windows XP issue when AllowNtlm is set to false In WCF, if you specify the clientCredentialtype property as Windows and negotiate the client credentials, you can enable NTLM to be used as a negotiation package. The default behavior for WSHttpBinding and WS2007WttpBinding is to negotiate Windows client credentials. You can control this behavior in WCF by modifying the allowNtlm property. In the .config file, put the clientCredentials tag in an endpointBehavior tag. In the code, set a property on WindowsClientCredentials. There is a behavior change in SP1 that affects WCF running on all versions of Windows later than Windows XP. When allowNtlm Read More...
  • Windows Server 2008 (and Orcas) SDK Released

    Last week the final version of the Windows Server 2008 SDK went online. If you've been using the beta SDK releases for Orcas samples or tools, then this is the version of the SDK that you'll want to install. Here are the links to the download materials: Windows SDK for Windows Server 2008 and .NET Framework 3.5 (Web setup) Windows SDK for Windows Server 2008 and .NET Framework 3.5 (Full install) Windows Software Development Kit (SDK) for Windows Server 2008 and .NET Framework 3.5 Release Notes I don't have any particular known issues to call out for WCF other than that some of the SDK tools require that you have Orcas installed. If you're developing Windows Server 2008 applications but don't want to upgrade to Orcas, then you can grab the appropriate tools from one of the previous Windows Vista SDK releases. Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us