You are developing a WCF service. A new service instance must be created for each client session. You need to choose an instancing mode. Which instance mode should you use?
Suggested Answer:Explanation🗳️
PerSession: A new InstanceContext (and therefore service object) is created for each new client session and maintained for the lifetime of that session (this requires a binding that supports sessions).
Incorrect: Answers - A: PerCall: A new InstanceContext (and therefore service object) is created for each client request. B: Single: A single InstanceContext (and therefore service object) handles all client requests for the lifetime of the application. References: https://msdn.microsoft.com/en-us/library/ms731193(v=vs.110)
Answer: D. See: https://www.oreilly.com/library/view/programming-wcf-services/0596526997/ch04s03.html
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.70-487 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Naveenvarma
Highly Voted 5 years, 5 months agofounderDev
5 years, 3 months agoDev666
4 years, 9 months agobashirmja
Most Recent 4 years, 4 months agosupersunny
5 years, 3 months ago[Removed]
5 years, 4 months ago