Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the real time example for 'Singleton' ?
Posted

How does a singleton apply to ASP.NET, where every page instance is an instance of the page class that exists only for the lifetime of the request ? Did you mean this for ASP.NET ? If so, please explain. If not, please tag your questions properly.
 
Share this answer
 
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 12-Jul-11 4:46am    
Yes, I saw one of the links, it's correct. My 5. There is no "real time" though. Our guess is that is about threading.
--SA
Christian Graus 12-Jul-11 5:43am    
The question is, how is it about ASP.NET ?
I´m not sure what you mean by real time but this is one of the best articles to learn about Singleton -
http://csharpindepth.com/Articles/General/Singleton.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900