Web Services — WCF vs. ASMX (“Standard”)

前端 未结 7 1898
鱼传尺愫
鱼传尺愫 2020-11-28 05:56

I am working on a new project. Is there any benefit with going with a WCF web service over a regular old fashion web service?

Visual Studio offers templates for both

7条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 05:57

    The Pros of doing all by yourself is:

    • No learning curve
    • Very flexible

    The Pros of WCF are:

    • Costs less time in the longer run
    • Switch protocols without programming

    A disadvantage of WCF: some static property names can be pretty lengthy...

    To summarize: WCF lets you focus on programming, but you need to learn it first ;-)

提交回复
热议问题