Hello, I need to make code a review of a site (WebSiteChild in text).
The general architecture is that we have WebSiteMain which exposes some functionality via WCF and WebSiteChild which uses this functionality.
In every page call of WebSiteChild it creates a set of communication channels (e.g in Page_Load) and doesn't close them explictly.
My oppinion for this:
- Creating communication channels every page call reduces perfomance
- Leaving channels opened is not a good idea, I'm not sure they dispose as soon as the page is disposed
So I want to get a confirmation on which of the states about are correct
Kind regards, Alexander
View Complete Post