相关疑难解决方法(0)

SQLServer与StateServer for ASP.NET会话状态性能

我正在学习MS认证,我正在做的一个练习测试有一个问题,争论点是在SQL Server中存储会话而不是StateServer之间的性能.

鉴于应用程序在Web场中运行,会话状态的哪个解决方案可以提供最佳性能(SQL Server或StateServer),最重要的是,为什么?

sql-server asp.net performance session stateserver

35
推荐指数
4
解决办法
4万
查看次数

无法序列化会话状态

执行.aspx页面时,我收到以下错误.你能告诉我怎样才能解决它.

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. …
Run Code Online (Sandbox Code Playgroud)

asp.net serializable

11
推荐指数
1
解决办法
3万
查看次数