Skip to main content

Abstract

In this chapter, I’ll take everything that was discussed in the previous chapters and use that knowledge to create a real-world example. I’ll create a dynamic type via the Emitter classes that allows you to intercept method invocations. I’ll cover the design and its implementation along with other options that come with .NET.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.95
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 49.95
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Reference

  1. That code was in the section I asked you to ignore. Usually if someone tells me to ignore a piece of information, I immediately look at it, and I’m guessing that you probably did as well!

    Google Scholar 

  2. ErrorForm is from an assembly called ErrorDialog that I created to show exception information.

    Google Scholar 

  3. For more information on these topics, I recommend picking up a copy of Ingo Rammer’s book, Advanced.NET Remoting (Apress, 2002 ).

    Google Scholar 

Download references

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Jason Bock

About this chapter

Cite this chapter

Bock, J. (2002). Dynamic Proxies in .NET. In: CIL Programming: Under the Hood™ of .NET. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0845-7_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0845-7_8

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-4302-5156-9

  • Online ISBN: 978-1-4302-0845-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics