BasichttpBinding vs WSHttpBinding of WCF

前端 未结 3 694
半阙折子戏
半阙折子戏 2021-02-15 11:11

I want to update client data with server data and vice-versa. Currently i am using BasicHttpBinding which is faster than wsHttpBinding. My requirnment is to achive:

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-15 11:38

    Usually we recommend a fast secure transport like SSL for security. This is because any kind of message level security is CPU intensive in encryption/signing.

    SO you can just use basic http binding with transport security for most scenarios without too much of trade off in perf.

    If you aren't using any of the richer WS* protocols or sessions etc then you can stick with basic http binding.

提交回复
热议问题