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 サービス コントラクトで SessionMode 値として "Allowed" を使用するシナリオを教えてください。
セッションをサポートするバインディング(リッチクライアントなど)とサポートしないバインディング(ブラウザベースのクライアントなど)の両方をサポートする場合。セッションがある場合は、単にセッションを使用し、ない場合は、セッションに依存しないコードパスを使用するか、別のメカニズムを使用してセッション情報(HTTP Cookieなど)を保存します。 )。