Книга: C# 2008 Programmer

Hosting Web Services

Hosting Web Services

As mentioned earlier, WCF services can be hosted using different forms:

Web Servers — IIS; similar to Web Services

Executable — Console application, Windows Forms, WPF, and so on

Windows Service — Runs in the background

? Windows Activation Service (WAS) — Simpler version of IIS

In the earlier example, the WCF service is hosted by the WCF Service Host (see Figure 20-19), a utility provided by Visual Studio 2008.

Figure 20-19

If you host a WCF service using an executable or Windows service, that WCF service is said to be self-hosted.

Оглавление книги

Генерация: 1.155. Запросов К БД/Cache: 3 / 1
Вверх Вниз