Skip to Main Content
Programming .NET Components, 2nd Edition
book

Programming .NET Components, 2nd Edition

by Juval Lowy
July 2005
Intermediate to advanced content levelIntermediate to advanced
644 pages
17h
English
O'Reilly Media, Inc.
Content preview from Programming .NET Components, 2nd Edition

Chapter 11. Context and Interception

One of the most important aspects of .NET as a component technology is its use of contexts to facilitate component services . The core design pattern is interception: intercepting a call from a client to an object, performing some pre-call processing, forwarding the call to the object, and doing some post-call processing before returning control back to the client. Objects indicate to .NET which component services they need, and using interception, .NET makes sure the objects get the required runtime environment. .NET component services are mostly the result of integrating COM+ into .NET. In addition, .NET allows you to provide your own custom component services. This chapter starts by providing a brief introduction to interception-based component services. You will then learn how .NET components can use such services and what the underlying architecture is that enables them. The chapter concludes by demonstrating how you can extend .NET by providing your own custom component services.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Forms Programming in C#

Windows Forms Programming in C#

Chris Sells
Metaprogramming in .NET

Metaprogramming in .NET

Jason Bock, Kevin Hazzard
.NET Windows Forms in a Nutshell

.NET Windows Forms in a Nutshell

Ian Griffiths, Matthew Adams

Publisher Resources

ISBN: 0596102070Supplemental ContentErrata Page