© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
12 replies
surwren

ASP storage use cases

So I'm aware there are several places to store data, which I will list as follows:

Serverside (application):
Sessionstate
AddSingleton
AddScoped

Clientside:
Cookies
LocalStorage
SessionStorage

I was wondering where specifically each of these 6 would be used, particularly for sessionstate, singletons and scoped?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Use cases of nested classes
C#CC# / help
8mo ago
✅ DateOnly.TryParse Vs DateOnly.TryParseExact use cases
C#CC# / help
11mo ago
differentiating use cases- Enum vs Tuple vs Array
C#CC# / help
4y ago
Use Custom Attributes with ASP.NET Identity
C#CC# / help
2y ago