Thats correct.
One the first request everything is fine, session is opened in the
GetInstance, the wcfservice uses the session fine, then the
ReleaseInstance closes the session.
Upon execution of the 2nd request, a new session is created in the
GetInstance, and its properties show IsOpen=true.
But immediately breaking in the wcf service, the session.IsOpen=false.
Curiously I added a new guid to the customdependency in GetInstance,
and included it on wcf service constructor.
On the 2nd request, despite Getinstance generating a new guid and
inserting it into the customdependency object, the wcf service
received guid is still the origin.
So is the Resolve<T>(type, dependency) not using the latest dependency
collection?
On 3 June, 15:00, Craig Neuwirt <
cneuw...@gmail.com> wrote:
> WCF Services are typically best handled as singletons
>