标签:view contex tle page highlight cat bag text pps
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>
cshtml 中的 AppState = Context.Application 和 控制器中的 Application 也相等
标签:view contex tle page highlight cat bag text pps
原文地址:https://www.cnblogs.com/webenh/p/10929940.html