Nicholas Allen's Indigo Blog

Windows Communication Foundation From the Inside

Browse by Tags

Tagged Content List
  • Blog Post: Debugging a Missing HostedTransportConfiguration Type

    When browsing to a service hosted in IIS I get an error that the protocol does not have an implementation of HostedTransportConfiguration type registered. What can cause this? Two things to look at are the IIS site bindings and the installed activation services. All of these examples use net.tcp...
  • Blog Post: Claims Visualization

    Dominick Baier has a visualization for claims in the Visual Studio debugger. I’m not sure what other details to provide. It takes an identity and description for a claim and describes the issuer, metadata, and properties that make up the claim.
  • Blog Post: Service Activation without Files

    WCF services in IIS use a .svc file to bootstrap the process of activating a service. It’s possible but not recommended to put the entire service source code and definition in a .svc file to be dynamically compiled and run. Instead, the information that’s typically conveyed is: The identity of the...
  • Blog Post: Routing and Impersonation

    Can the routing service introduced with .Net 4 be used with impersonation? Yes, the routing service can be used with impersonation for both sending and receiving messages. All of the usual Windows constraints of impersonation apply. If you would have needed to set up service or account permissions...
  • Blog Post: Multiple Site Bindings

    A WCF application in IIS is a service page that is hosted under a site. You can assign different bindings to the site that describe the protocols through which the site can communicate. It’s possible to assign multiple protocols to a single site by specifying bindings that have different protocol schemes...
  • Blog Post: Windows Server AppFabric Refresh and Videos

    Windows Server AppFabric provides management, monitoring, and other component services for WCF services using .Net 4. The beta 2 release of AppFabric came out a few weeks ago using the release candidate of .Net 4. Now that the final version of .Net 4 is available, you can get a refreshed version of Windows...
  • Blog Post: HTTPS Host Name for IIS

    The configuration of an IIS site includes the ability to associate a host name with a particular site definition. For HTTP traffic this allows multiple web sites to be hosted at the same IP address and port, with the true domain name of the site mapped using the host name header. For example, if you...
  • Blog Post: Schema Errors Extending Configuration

    After adding a custom binding element to configuration as a binding element extension, Visual Studio reports any use of the binding element in app.config as a schema violation. Is something wrong with the binding element? No, as long as the binding is able to be instantiated when you run the service...
  • Blog Post: Optional Xml Fields

    When using DataContractSerializer with a data member that has IsRequired set to false, the generated schema has minOccurs of 0. However, when using XmlSerializer with an XML element that has IsNullable set to true, the schema has minOccurs of 1. Instead, the schema has nillable set to true. How do I...
  • Blog Post: Fix for Generating Metadata Behind a Router

    When generating metadata to describe a service, an address is published for the location at which the service can be reached. This is the address to which a client of the service should address a message. Ordinarily, the metadata address is obtained by looking at the address at which the service is...
  • Blog Post: Silverlight 4 Business Application Course

    The Silverlight 4 business application training course is a set of videos and labs divided into eight modules for learning about building business applications with Silverlight. The primary focus of the training course is to learn about the new features in Silverlight 4. Existing preliminary material...
  • Blog Post: Moonlight 3 Preview 6

    Moonlight, the Linux version of Silverlight, has produced its sixth preview release of Moonlight 3. I don’t announce every release that they do because the team has a very short development cycle; the last announcement I did was for the first preview release of Moonlight 3 and that was less than three...
  • Blog Post: WCF RIA Services Release Candidate 2

    Late last week a second release candidate for WCF RIA Services was released. RIA Services are an application design pattern that lives between ASP.NET and Silverlight in a multi-tier architecture. Inside RIA Services you can host application logic for data access control, queries, and other data operations...
  • Blog Post: Ten 2010 Services Videos

    Ten talks of interest for web service developers from the recent TechDays 2010 and DevDays 2010 conferences. I've pulled out the videos on WCF, WCF service development, and web service development with Silverlight that you might be interested in. What's New in WCF4 Learn about new features in WCF4...
  • Blog Post: Official Start of Azure AppFabric Service

    The Service Bus and Access Control online services through Windows Azure AppFabric have now moved from being a trial service to a fully supported service. The service bus is an infrastructure piece for connecting together different components in a distributed application. The access control service allows...
  • Blog Post: WCF 4 Samples and Training

    The WCF 4 sample collection is now available as a direct download independent from the framework or SDK release. The collection includes over 200 WCF samples from both .Net 4 and past releases. These samples go along with online sample guides available from MSDN. Windows Communication Foundation...
  • Blog Post: Silverlight 4 Launch Event

    The Silverlight 4 launch event at the DevConnections conference will be taking place today. Starting off later this morning at 8 AM is the keynote address by Scott Guthrie. A link to stream the keynote presentation isn’t available yet but will be on the Silverlight site prior to the start. Additional...
  • Blog Post: Visual Studio 2010 and .Net 4 Released

    The release events for Visual Studio 2010 and .Net 4 started this morning and will continue throughout the day with conference presentations at multiple sites. If you want to join in, there’s a web cast of the keynote presentations from the Las Vegas site later this morning at 8:30 AM PST. Downloads...
  • Blog Post: Finding Your Place

    How do I examine the settings for the endpoint that the message for the current operation was delivered to? There are two sources of settings depending on whether you’re interested in the endpoint runtime settings or the endpoint description. The endpoint description is the blueprint from which the...
  • Blog Post: To Appear in the Windows 7 SDK

    Shortly after Visual Studio 2010 ships the Windows 7 SDK will be updated to include the development tools, samples, and resources for .Net 4. The current version of the SDK is for Windows 7 and .Net 3.5 SP1. The native portion of the SDK will have a small number of improvements but mostly will be the...
  • Blog Post: Starter STS Sample

    Dominick Baier has put up the completed StarterSTS sample that demonstrates how to write, configure, and use a realistic security token service. The token service is built using Windows Identity Foundation and provides authentication based on the ASP.NET identity provider model. Although the StarterSTS...
  • Blog Post: Debugging Delegation and Kerberos Configuration

    I came across an interesting tool the other day that can be used to debug and diagnose configuration problems with Kerberos. DelegConfig is an ASP.NET application that you install to generate a troubleshooting report about your IIS configuration, Kerberos credential usage, and delegation settings. You...
  • Blog Post: Referring to Generic Interfaces in Contracts

    How do I write a contract type that has a generic parameter in a service configuration file? A contract reference is part of the template for defining a service endpoint through configuration: < endpoint address =”...” binding =”...” contract =”...” /> Now, you need to fill in...
  • Blog Post: Rolling Your Own Status

    I’m trying to use an HTTP method that has defined a private protocol for status code. What can I do if the HttpStatusCode class doesn’t have the necessary value? The HttpStatusCode enumeration contains predefined constants for the status codes described by the HTTP 1.1 standard. Here you can take...
  • Blog Post: ServiceHostBase Never Calls ApplyConfiguration

    The ServiceHost class is the primary host for running services programmed using the WCF service programming model. Some of the features exposed by ServiceHost include configuration, service description, and endpoint management to control how the service operates. A base class for ServiceHost, called...
Page 1 of 32 (780 items) 12345»