Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此,在 WCF 中创建服务实例时有 3 个选项:
我知道在选项 1 的情况下,一旦服务完成调用,实例就会被处理掉。
我的问题是其他两个选项呢?每个会话或作为单例创建的服务实例何时以及如何处理?