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: 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: 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: 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: 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: 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...
  • Blog Post: Temporary Shadow Files

    Why are the code files for a WCF service running in IIS copied to the Temporary ASP.NET Files folder? When an assembly file is loaded, that file is locked to prevent changes while the application is running. A service that is running in IIS will continue to run until the application domain is unloaded...
  • Blog Post: Three Networking Questions Answered with Samples

    How do I remove or change the framing headers used for a TCP connection? By writing a transport channel you can control exactly what information is read or written to the TCP socket. An example of doing this is in the WSE interoperability sample . How do I pass credentials from the client to...
  • Blog Post: Silverlight 4 Out of Browser

    Silverlight 3 introduced an out of browser mode that provided a standalone experience for running Silverlight applications using the same execution sandbox model as when running in the browser. For the upcoming Silverlight 4, the out of browser support is being extended to allow an application to either...
  • Blog Post: AppFabric Talks and Slides

    Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale, and manage WCF and WF applications running inside of IIS. AppFabric is the brand name for the hosting and caching features previously called Dublin and Velocity. A beta release of Windows Server AppFabric...
  • Blog Post: More PDC Announcements: Azure Turning On, Azure AppFabric, and Dallas

    On the cloud side there were also a variety of announcements coming from PDC as to future products and plans. Here's a few of them. The .Net Services offerings I've talked about several times in the past, currently the service bus and access control services, is the start of a set of web-based developer...
  • Blog Post: PDC Day 1 Announcement: AppFabric

    One of the first day announcements at the PDC 2009 keynote was the unveiling of Windows Server AppFabric. Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale, and manage web service applications that run inside of IIS. Included in AppFabric are the hosting...
  • Blog Post: Application Auto Start in IIS

    Application auto start is the ability for an application to be automatically started up before receiving any requests. In addition to priming the application for the first request, application auto start is also a way to have applications that start automatically and run continuously. One example where...
  • Blog Post: Windows Management Release Candidate

    The Windows Management Framework has put out a release candidate porting some of the management features in Windows 7 to versions of Windows from Windows XP to Server 2008. The management framework includes PowerShell 2.0 and the Windows implementation of WS-Management, which is a SOAP-based protocol...
  • Blog Post: Business of Cloud Services (for Developers)

    Over on Channel 9 George Moore has a video talking about the commercialization and billing aspects of Azure cloud services that is aimed at developers. In particular, the video covers the background and basics of all the things that developers don’t need to know about because of the way the system is...
  • Blog Post: The Development Server is Not for Production

    After creating a WCF service application in Visual Studio you might have noticed that the project configuration has three choices of web servers for testing the application: Use Visual Studio Development Server Use Local IIS Web Server Use Custom Web Server The development server (coming...
  • Blog Post: Kerberos Kernel Authentication Hotfix

    After talking about Kerberos kernel authentication earlier I noticed that there was a hotfix available for a crash related to the feature. Kernel mode authentication is a new feature in IIS7 that optimizes the authentication of connections. This particular crash occurs when using a custom domain account...
  • Blog Post: Improving Hosted HTTP Request Scaling

    A few months ago Wenlong Dong announced an improvement to HTTP request scalability when WCF is hosted in IIS. In order to take advantage of the improvement you need the combination of IIS7 or later and Orcas SP1 installed. Since this isn't the ubiquitous configuration yet, you need to follow the instructions...
  • Blog Post: Kerberos Kernel Authentication Issues

    Why does IIS7 with Kerberos use the server machine's credentials to decrypt the ticket rather than the application pool's credentials? What you're probably seeing here is the kernel mode authentication feature that was added in IIS7 for Windows Server 2008. Ordinarily, the service ticket would be...
  • Blog Post: SVC Script Maps

    What registration in IIS is responsible for processing SVC files? There are two parts to the registration. One part is related to ASP.NET and the other part is related to WCF. The ASP.NET part is that the ASP.NET ISAPI has to be a service extension for IIS. The WCF part is that the HTTP handler has...
  • Blog Post: Working with Session State

    One concept that sometimes confuses ASP.NET developers when moving to WCF is the notion of session state. In ordinary WCF services, all of the session state is stored in local volatile memory. The application has to choose to copy over a portion of the session state to a durable storage location for...
  • Blog Post: Hosted Service Shutdown

    I've talked a bit in the past about the tradeoffs of using IIS to host your service applications. In order to use IIS as a host, you must give up some level of control about how your application functions. This is similarly true with any other host you might imagine, even if we use host in a broader...
  • Blog Post: Hosting Queued Services in IIS

    Over the past few days Tom Hollander has been posting his experiences hosting a queue-based WCF service in IIS. These posts go into a lot of detail about setting up the machines, configuring the service, and troubleshooting problems. If you're looking for a step-by-step guide, this is a great resource...
Page 1 of 3 (64 items) 123