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 with default settings but you can…

0

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.

0

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 service being instantiated The…

0

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 to use impersonation when writing your own…

0

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. It’s also possible to…

4

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 Server AppFabric…

0

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…

2

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 you know that the…

1

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 get the XmlSerializer behavior…

0

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 listening for messages….

0