ASP.NET中会话,视图状态,应用程序和cookie的最佳替代方案 [英] Best alternative for session, view state, application and cookies in ASP.NET

查看:80
本文介绍了ASP.NET中会话,视图状态,应用程序和cookie的最佳替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用更多会话时,在巨大的asp.net应用程序中查看状态,应用程序和cookie会降低性能



我尝试过:



i减少了会话次数,查看状态,应用程序和cookie。但我想尝试在asp.net中提供的库/工具的帮助

while using more number of session,view state, application and cookies in the huge asp.net application will degrade performance

What I have tried:

i tied by reducing the number of session,view state, application and cookies. but i want to try with the help of library/tools available in asp.net

推荐答案

在这种情况下,我更喜欢使用基于Sql / Database的会话维护。现在一天应用程序更基于HTTPS服务。因此,应该从DB或Application变量维护。
In such cases I would prefer using Sql/Database based session maintenance. Now a days applications are more HTTPS service based. Hence things should be maintained from DB or Application variable.


ASP.NET Webforms中的ViewState替代方案 - 堆栈溢出 [ ^ ]


这篇关于ASP.NET中会话,视图状态,应用程序和cookie的最佳替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆