Stenlly
Stenlly

Reputation: 21

WCF Client Performance on WM (Compact Framework 3.5)

I have a WCF CF Client running on WM 6.5. The proxy classes are generated with NetCFSvcUtil.exe.

When I start the client the connection time to service is about 100 ms, after running an endurance test (300 WS calls) the connection time is about 1500 ms. After restart of my application the connection times are again "normal" about 100 ms.

Any ideas why the performance worsens?

Thanks!

Upvotes: 0

Views: 101

Answers (1)

Stenlly
Stenlly

Reputation: 21

There were memory leaks in CFClientBase.

Memory Leak in CFClientBase

Simply override Equals and GetHashCode in CFContractSerializerInfo.

Upvotes: 2

Related Questions