Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Hosting   (RSS)

Messaging Additions in Orcas, Part 4

Today wraps up the series on detailed messaging changes in Orcas. You can get the whole series here as well as the previous high-level overview of new Orcas features I did. Messaging Additions in Orcas Messaging Additions in Orcas, Part 2 Messaging Additions
Posted by Nicholas Allen | 1 Comments
Filed under: , , , ,

Hosting Identity

How can I run a service operation hosted in IIS using a specific identity? There are two ways for your operation to be running using a specific identity: start off running under that identity; or, start off running under a different identity and change
Posted by Nicholas Allen | 1 Comments
Filed under: , , ,

Runtime Limits in IIS

Does the IIS HTTP runtime configuration affect a WCF application? Yes, when the application is using IIS to host its HTTP endpoints. A WCF application that lives in IIS is an IIS application as well, even if you aren't explicitly using ASP.NET compatibility
Posted by Nicholas Allen | 2 Comments
Filed under: , , ,

New Toy MSDeploy

The IIS team has released a preview version of a new tool for synchronizing, migrating, and deploying web sites hosted in IIS. This looks like something that could turn into a real time saver and prevent some pretty nasty headaches with IIS configuration
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Detecting ASP.NET Compatibility

How can I find out whether my service is running in ASP.NET compatibility mode? Why do you need to detect at runtime whether you're running in compatibility mode? As I've said before, compatibility mode is something that the odd and rare service takes
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Server.MapPath

How do I use % Feature X% from ASP.NET in a WCF service? ASP.NET has an HTTP-centric application model with many great features specialized for web development in IIS. WCF is transport and host agnostic. Out of the box, WCF supports most of the features
Posted by Nicholas Allen | 8 Comments
Filed under: , , ,

SVC Files and Services

IIS uses the file extension to register behaviors that take place when a particular address is requested. WCF registers one of these extensions (by default, it's *.svc) to run a build provider that takes care of executing a WCF service for a given URL.
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Multiple Web Site Bindings

I've configured my web site in IIS with multiple bindings but my web service can no longer run because it refuses to start if there are multiple base addresses defined for the same URI scheme. How can I use the same configuration for both my web service

Tradeoffs of IIS Hosting

Another one of those rules of thumbs that I hear often quoted but rarely demonstrated covers the performance of hosting a web service in IIS. Running a WCF service host in IIS is going to be more expensive than running that same service host in your own
Posted by Nicholas Allen | 7 Comments
Filed under: ,

Configuring TCP Activation from the Command Line

Can I configure non-HTTP web service activation from the command line? Yes, and you don't need any special tools if you're already familiar with configuring IIS from the command line. I've already talked about how to configure a new web site or application
Posted by Nicholas Allen | 4 Comments
Filed under: , , ,

Choosing a Port

A common question is what port should be chosen for publishing a service. I'm assuming that the question is being asked because no one has told you that you must use a certain port for contractual or operational reasons. If you have to use a particular
Posted by Nicholas Allen | 3 Comments
Filed under: , , ,

Listener Won't Start Bonus Tip

As a followup to yesterday's post on resolving listener and activation errors , here's an additional point to consider while attempting to diagnose a problem. Once you've found where the failure symptoms first appear, whether that be in the service, the
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Listener Won't Start

Here's a debugging tip for those of you that are developing non-HTTP web services on top of IIS7. IIS7, which comes with Vista and Windows Server 2008, allows you to host activatable services using arbitrary network protocols. WCF ships with protocol
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Starting a Hosted Service

How do I run some code during service start time if I'm using an IIS hosted service? In a normal executable or NT service, your code is responsible for creating the ServiceHost that contains the web services. In IIS, it is the platform activation code
Posted by Nicholas Allen | 2 Comments
Filed under: , ,

Preventing Anonymous Access

How do I prevent clients from accessing my service anonymously? I've changed the settings in IIS from Anonymous Access to Integrated Windows Authentication. However, now I'm getting the error message: "Security settings for this service require 'Anonymous'
More Posts Next page »
 
Page view tracker