开发者

Difference between using IHttpHandler and webservice

i need to understand when these two implementations used . what could be the motive of using one over other , can these be leveraged i开发者_如何学Gonterchangeably.

Thanks in Advance Dee


An IHttpHandler is a "do it yourself" solution. You'll be handling everything yourself, and you'll be responsible for things like interoperability.

Using a web service (a WCF web service), you'll get serialization / deserialization, an infrastructure, and an ability for a client to easily consume your service.

For a "service"-type operation, use a web service. If your task doesn't fit that, then consider IHttpHandler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜