WCF Notes4(Host)
来源:互联网 发布:python高级编程 pdf 编辑:程序博客网 时间:2024/06/05 20:35
IIS/WAS vs. Self-Hosting (console app,windows form, windows service)
Self-hosted endpoints are directly configured
IIS/WAS(Windows Process Activation Service) endpoints are relative to .svc file
IIS/WAS Extended features
Service activation
ServiceHost EventsHealth monitoring and recyclingManagement tools
Opening,Opened
Closing,Closed
Faulted,UnknownMessageReceived
e.g:
host.Faulted+=new EventHandler(OnFaulted));//OnFaulted: method
Service Behaviors (how are request been processed)host.Open();
debug (e.g.: including exception handling)
authentication & authorization
throtolling
IIS vs. WAS
IIS and WAS provide automatic activation. As soon as a message arrives, the service is activated.
IIS and WAS will monitor services. They will shut down a service’s process if it is idle or unresponsive. The next time a client calls the service, the process is recycled and restarted. IIS and WAS also provide health monitoring tools.
If you host a service using IIS, clients can communicate with it only using HTTP. If you host the service using WAS, clients can communicate using HTTP, TCP, named pipes and Microsoft Message Queueing (MSMQ).
- WCF Notes4(Host)
- WCF: Host、Client、MetadataExchage
- WCF: Host、Client、MetadataExchage
- self host WCF + ssl
- WCF Service Host和WCF Test Client
- 【WCF】自动加载WCF Library (IIS Host)
- 【WCF】VSTO Host WCF Web Api
- Host WCF Service in WAS
- WCF (Windows Communication Foundation) Create & Implement a WCF Host
- WCF一个Host实现多契约服务
- WCF常见问题(2) -- Winform Host UI阻塞
- First WCF App (Host in Console Application)
- code4fun:host wcf service just in time
- 使用windows service Host wcf服务
- WCF Host,Client配置相关问题
- wcf自主host多个服务的问题
- WCF Host通过编译但是无法使用的解决之一
- 将WCF程序Host在窗体程序中并调用
- 了解Xcode 4.2中Automatic Reference Counting(ARC)
- 在一个字符串中找到第一个只出现一次的字符
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- nutch-dev 2.0在项目中的应用
- android学习之GPS(google map 相关api)注意事项
- WCF Notes4(Host)
- 在Debian里建立交叉编译环境(cross-compiler)
- Some RAC Concepts
- 一串事物中每个事物的前后位置与顺序编号的转换问题
- mysql 添加列,修改列,删除列。
- Android 网络时间更新-科卓培训android系列
- openwrt目录结构
- [学习记号 - 其他] 针对 Silverlight 应用程序使用的 GB2312编码
- WCF Note5(Binding)