Any Change in .NET 4.0 in How to PROPERLY call a WCF Service?

后端 未结 2 398
执笔经年
执笔经年 2021-01-06 17:00

I am asking for some advice (so sorry if this has been asked before):

When I call WCF services I use the following pattern. I developed this pattern way back with e

2条回答
  •  离开以前
    2021-01-06 18:01

    Yes, this is still pretty much the recommended best practice.

    See: MSDN Avoiding Problems with the Using Statement

    Not much has changed in the way the WCF clients call a service, and how to deal with exceptions and errors.

提交回复
热议问题