Terrible Performance with WCF and certificates (mutual authentication)

后端 未结 3 1997
梦如初夏
梦如初夏 2021-01-13 04:20

Guys / Gals we are having terrible performance with our website that uses WCF as the application later. We are using message level security and certificates (mutual authenti

3条回答
  •  温柔的废话
    2021-01-13 05:16

    The additional SCT/RST calls are establishing the security context. If you recreate the proxy on each call, a security context is unneccesary overhead. Turn it off.

    The way you use the factory is fine. However, your error handling and closing of the proxy is not. Make sure that you close or abort the proxy in any case. Check msdn for the recommended pattern.

    Also can you provide some figures about how bad performance is?

提交回复
热议问题