I have WCF service using netTcpBinding (so default InstanceContextMode=PerSession).
Service is being called from ASP.Net Web Application using code similar to:
ServiceClient service = new ServiceClient();
service.ServiceMethod1();
service.Close();
So, we create a proxy instance here - call the required method and - close the service.
Query -
When do we say that a WCF Session is created?
Is it correspond to one ASP.Net Session... so suppose one user having an ASP.Net Session, whatever calls this user will make to service from his session will also mean a WCF session?
Thank you!