开发者

What do you think is the most beautiful thing about WCF? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

Does WCF make your life easier or harder? Do you think it's beautiful in nature or should you avoid its ugliness like the plague?

  • I like the idea of supporting REST + SOAP interfaces with simple binding configurations (ala webHttpEndpoint / basicHttpBinding). I do miss the ASMX days, but SVC seems like it's here to stay.

  • WCF + MVC are开发者_如何学运维 also great combination to build host factories and custom service routing (ala ServiceHostFactory / WebServiceHostFactory).

What are your likes / dislikes?


WCF makes life much easier:

  • decouples the service (implementation) from all binding-related stuff - you just write your service to implement the contract, that's all - doesn't need to know anything about which binding / protocol will be used

  • extreme flexibility with the configuration system, the ability to mix+match your binding/protocol needs

  • extreme extensibility by providing lots of hooks and points to extend & modify WCF; if you don't like the default behavior. You can create behaviors, bindings, filters - you name it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜