Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
141 views
in Technique[技术] by (71.8m points)

asp.net - Repetitive fetching of data making the application slow

The application fetches a lot of data from the database during the initial page load.

So I tried using session:

if (Session["model"] != null)
{
    Session["model"] = obj.spAcceptApplications((int)WorkDesk.DgnDsk, user.Usr_SID).ToList();
}

The spAcceptApplications fetches the data from the database. But since the data keeps changing the session does not update to the new data list. So what can be the solution to make the application fast as well as keep the data up to date.

question from:https://stackoverflow.com/questions/65880116/repetitive-fetching-of-data-making-the-application-slow

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...