O'Reilly logo

Professional Visual Basic 2012 and .NET 4.5 Programming by Todd Herman, Gastón Hillar, David McCarter, Rob Windsor, Billy Hollis, Bill Sheldon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using IIS for Application Services

Depending on the version of Windows in use and the Windows options that have been installed, there are multiple ways to host .NET programs in the background. Chapter 11 covered Web Services and Windows Communication Foundation (WCF) services, both of which are examples of technologies that can use Internet Information Services (IIS) to load programs and run them independent of the user.

If you are using IIS 7.0 or above, you also have the option to run WCF services using the Windows Process Activation Service (normally called WAS). This allows hosting of WCF services using non-HTTP protocols such as TCP. As with IIS, no code needs to be written; only the proper configuration is necessary.

Another option that offers more control over when and how background programs are loaded is called Windows Services. The basic concept goes back to Windows NT, when this capability was called NT Services.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required