AppState = Context.Application
@{ ViewBag.Title = "Home Page"; AppState["s1"] = "状态一"; } <div class="jumbotron"> <p>AppState: @AppState["s1"]</p> <p>Context.Application: @Context.Application["s1"]</p> </div>
原文地址:https://www.cnblogs.com/webenh/p/10929940.html
时间: 2024-10-24 19:30:01