.NETGURU
How to make a ServicedComponent Singleton or Statefull?
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.component_services.

Post a new message to this list...

M.Sameer
Hi everyone,

I need to make my ServicedComponent Singleton because I noticed that
each method call creates a new instance which is kind of behavior I don't
need and it caused me problems. Making the component statefull may solve the
problem too.
Do anyone know how to do that?
Any examples?

Thanks in advance
M.Sameer

Reply to this message...
 
    
José Miguel Torres
The developing model you are using in Enterprise Services is stateless.
Statefull developing model is old and stateless is better than stateful. If
you want to use states you must use State Management in Enterprise Services
look
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomser/ht
ml/complus_state.asp I hope it helps you, regards!

--
José Miguel Torres
jtorres_diaz~~ARROBA~~terra.es
http://jmtorres.blogspot.com

"M.Sameer" <msameer1 at hotmail dot com> escribió en el mensaje
news:#Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.EnterpriseServices.ServicedComponent




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification