Книга: C# 2008 Programmer
Comparing WCF with ASMX Web Services
Comparing WCF with ASMX Web Services
Now that you've created a traditional ASMX Web Service, let's compare ASMX and WCF and see how they differ:
? ASMX Web Services use web methods that are exposed to the world. Web methods use the request/response communication models. In WCF, these web methods are known as operations, and you can use any one of the three different types of communication models: one-way transaction, request/response, and full-duplex.
? Web services use the Simple Object Access Protocol (SOAP) messaging transported over HTTP. WCF can utilize different protocols for messaging — SOAP, Plain Old XML (POX), and so on — transported over a wide variety of communication protocols, including TCP and HTTP.
? Web services listen at a particular port number (such as port 80); WCF can have multiple endpoints listening at different port numbers.
? Web services are hosted by web servers (such as IIS); WCF can be hosted in different forms, such as Windows services, Windows applications, or just processes.
- Тестирование Web-сервиса XML с помощью WebDev.WebServer.exe
- Using Double Quotes to Resolve Variables in Strings with Embedded Spaces
- Drawbacks with restore
- Листинг 15.11. Код для загрузки файла с Web-сервера
- 7. AGGREGATION WITH INDEPENDENT WORKS
- Получение помощи по Windows SharePoint Services 3.0
- Конструкция with-do
- Формы Web ASP.NET
- Пример: базовый клиент Web
- Глава 7 Web-сервер
- Инструментальные средства создания Web-страниц
- 7.4. Создание виртуальных Web-серверов