如何在全局程序集缓存的帮助下保存整页状态? [英] How Can I Save The Entire Page State With The Help Of Global Assembly Cache?
本文介绍了如何在全局程序集缓存的帮助下保存整页状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在gac的帮助下保存页面状态??我该如何实现它以及它如何可能???
解决方案
全球大会缓存用于DLL不用于存储状态。
存储状态使用数据库或读取:ASP.NET状态管理建议 [ ^ ]
除了解决方案1:
GAC(全局程序集缓存)是每个.NET开发人员都应该非常理解的东西。这是一个系统全局程序集,旨在重用。该技术基于强命名,后者又基于公钥加密和1)允许通过(可能是世界唯一的)名称引用程序集而不是文件名; 2)在一定程度上,防止欺骗组件。请参阅:
http:// msdn .microsoft.com / zh-CN / library / yf1d93sz%28v = vs.110%29.aspx [ ^ ]。
-SA
i want to save the page state with the help of gac ??how can i implement it and how it i possible???
解决方案
The Global Assembly Cache is for DLL's not for "storing state".
To store state use a database or read : ASP.NET State Management Recommendations[^]
In addition to Solution 1:
GAC (Global Assembly Cache) is something each and every .NET developer should understand very well. This is a system-global collection of assemblies designed for reuse. The technology is based on strong naming, which is, in turn, based on public-key cryptography and 1) allows to reference assemblies by (potentially, world-unique) names rather than file names; 2) to certain extent, protects from spoofing assemblies. Please see:
http://msdn.microsoft.com/en-us/library/yf1d93sz%28v=vs.110%29.aspx[^].
—SA
这篇关于如何在全局程序集缓存的帮助下保存整页状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文