Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello experts,

If I am using wcf service per-call mode and with http-binding
(not using multi-threading / thread in any method)
now If I implement IDisposible interface in my service
will there be any issue in performance?

Is it safe to implement IDisposible interface in this senerio?

I have done googling already but different-different articles makes me confuse.
so, if you can help I will be grateful.
Posted

1 solution

if your service is PerCall then why make things complex. keep it simple and let the hosting environment take care of your service instance lifetime.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900