- 追加された行はこの色です。
- 削除された行はこの色です。
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicrosofttech.osscons.jp/]]」は、「[[Open棟梁Project>https://github.com/OpenTouryoProject/]]」,「[[OSSコンソーシアム .NET開発基盤部会>https://www.osscons.jp/dotNetDevelopmentInfrastructure/]]」によって運営されています。
-戻る
--[[DI]]
--[[ASP.NET Core]]
---[[ASP.NET Coreへの移行]]
* 目次 [#l1207495]
#contents
*概要 [#e8051249]
少し難しい。
*詳細 [#xac52e0b]
**インターフェイス [#x840cdc7]
***文字列のみ格納可 [#gb097113]
文字列しか格納できなくなったので、複雑なオブジェクトはJSONに変換する。
-参考
--Using Sessions and HttpContext in ASP.NET 5 and MVC6~
https://benjii.me/2015/07/using-sessions-and-httpcontext-in-aspnet5-and-mvc6/
***IsNewSessionプロパティ [#ke0cafee]
IsNewSessionプロパティが無くなっているので対応方法を検討する必要がある。
**構成 [#dc88a7e0]
***Startup [#f1542ad0]
***構築 [#ze3deeb7]
*参考 [#g0a1c334]
-銀の光と碧い空
--ASP.NET Core on Linux で Session Replication するにはNFSが必要そうだというお話~
http://tech.tanaka733.net/entry/aspnet-core-in-linux-sessoin-replocation
--ASP.NET Core で複数Webサーバーでセッションを共有するときは、~
IDistributedCacheとIDataProtectionに注意しないといけない話~
http://tech.tanaka733.net/entry/session-sharing-in-aspnetcore
-Session and application state in ASP.NET Core | Microsoft Docs~
https://docs.microsoft.com/ja-jp/aspnet/core/fundamentals/app-state
----
Tags: [[:プログラミング]], [[:.NET開発]], [[:.NET Core]], [[:ASP.NET]], [[:ASP.NET MVC]]