Summary
In this chapter you learned about the details of .NET Remoting-based applications. You now know how lifetime is managed and how you can dynamically configure an object’s time to live. If this doesn’t suffice, implementing client- or server-side sponsors gives you the opportunity to manage an object’s lifetime independently of any TTLs.
You also read about versioning, and you can now look at the whole application’s lifecycle over various versions and know what to watch out for in regard to SAOs and CAOs, and know how the ISerializable interface can help you when using [Serializable] objects.
On the last pages of this chapter, you read about how you can use delegates and events, and what to take care of when designing an application that relies on these features. In particular, you learned that using [OneWay] event handlers the intuitive way certainly isn’t the best practice.
You should now be able to solve most challenges that might confront you during design and development of a .NET Remoting application. In the next two chapters, I will share some additional tips, best practices, and troubleshooting guides that you should take into account before designing your .NET Remoting-based solution.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Ingo Rammer and Mario Szpuszta
About this chapter
Cite this chapter
(2005). In-Depth .NET Remoting. In: Advanced .NET Remoting. Apress. https://doi.org/10.1007/978-1-4302-0011-6_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0011-6_7
Publisher Name: Apress
Print ISBN: 978-1-59059-417-9
Online ISBN: 978-1-4302-0011-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books