阅读背景:

从MVC razor视图访问会话变量给出变量类型而不是值

来源:互联网 

I am trying to access a session variable inside a MVC razor view, the session variable is of type User which has a property UserID, the code is like the following:I am trying to access a session variable inside




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: