Service Dependency?

Topics: Web Client Software Factory
Jun 4, 2008 at 7:10 PM
I am testing the wcsf and in testing my small application, I have a view that shows a report of user information.  It shows it in an aspx page, which then the user can click on one of the lines and get the detail.  Now everything works fine until I have a second user logon to the website.  Once this happens... the first user gets the second user's data when the first user clicks on the report.aspx to get the detail!!!!! 

It seems like IIS is allowing two different connections to share memory.  I am using IIS 6.0 on Windows Server 2003 as my test.

Any ideas what I am doing wrong?

Jun 4, 2008 at 8:22 PM
Well according to this post by Michael Puleio on this thread...,
"Services are singletons. Keep this in mind when you write them. They must be thread safe. There is ONE instance of each service per application/web site. This was an intentional design decision.
Policy Injection has no effect on this at all."

So I guess I have misunderstood services....
Jun 4, 2008 at 8:58 PM
Edited Jun 4, 2008 at 8:59 PM
duplicate deleted.