- Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications
- Steven Cheng
- 284字
- 2021-04-13 17:04:06
In this chapter, we will cover:
- Hosting a service in a console application
- Hosting a service in Windows Service
- Hosting a HTTP service with ASP.NET-compatible context
- Hosting a non-HTTP service in IIS 7
- Customizing IIS ServiceHost via ServiceHostFactory
- Specifying a dedicated service instance for a singleton service
- Hosting a service in WSS 3.0
Service hosting and configuration is very important for building WCF services, especially at the service deployment stage. After developers complete the service development, we will need to deploy the service so as to make it available to all the client consumers. In the real world, there are various service deployment scenarios available, which will result in different deployment and configuration requirements on the service configuration or the hosting environment.
As an enhanced service development platform, WCF provides rich, built-in support on service hosting and configuration that can fulfill most of the existing deployment demands and requirements. For example, the most popular IIS hosting approach can provide high availability and stable service for local intranet or public internet-based deployment cases. The Windows service-hosting approach makes WCF service hosting easier to integrate with existing background scheduled tasks, and the self-hosting approach provides the most flexibility and customization points for service deployment in a production environment.
In this chapter, we will look at seven recipes on various WCF hosting and configuration scenarios. The recipes start with four typical hosting cases—self-hosting, Windows service hosting, IIS-based HTTP hosting, and IIS based non-HTTP hosting. This is followed by two customized service-hosting cases—including a custom ServiceHostFactory and a dedicated singleton-instance hosting. The last recipe demonstrates a more advanced WCF service-hosting scenario—Windows SharePoint Service hosting.
- UG NX10.0從新手到高手
- InDesign平面設計案例教程:從設計到印刷
- 數字孿生體:第四次工業革命的通用目的技術
- Adobe創意大學Illustrator產品專家認證標準教材(CS6修訂版)
- 中文版Photoshop CS6平面設計實例教程(第2版)
- Midjourney AI案例實戰:繪本+動漫+插畫
- Photoshop CC入門與進階
- BlackBerry Enterprise Server 5 Implementation Guide
- 中文版Maya 2016實用教程
- 中文版CINEMA 4D R20 實用教程
- 原片蛻變:Photoshop CC商業修圖必修課
- 中文版AutoCAD 2022從入門到精通
- 中文版Photoshop平面設計入門教程
- OpenAM
- 中文版Photoshop CS6實用教程(第2版)