私の側の見落とし (AppState および Session 変数はまだ新しい) のため、すべての AppStates を Session 変数に変更する必要があります。WebMatrix の置換により、その部分が簡単になりましたが、以下の 2 行のコードの最初の行でこのエラーが発生しています。
Session["gActionMessage"] = "";
Session["gActionMessageDisplayed"] = "not";
エラー:
Compiler Error Message: CS0103: The name 'Session' does not exist in the current context
問題があれば、これらのコード行は _AppStart.cshtml ファイルにあります。
助言がありますか?構文が間違っていますか?