Skip to main content

Type Reflection, Late Binding, and Attribute-Based Programming

  • Chapter
  • First Online:
Pro C# 8 with .NET Core 3
  • 1482 Accesses

Abstract

As shown in Chapter 16, assemblies are the basic unit of deployment in the .NET Core universe. Using the integrated Object Browser of Visual Studio (and numerous other IDEs), you are able to examine the types within a project’s referenced set of assemblies. Furthermore, external tools such as ildasm.exe allow you to peek into the underlying CIL code, type metadata, and assembly manifest for a given .NET Core binary. In addition to this design-time investigation of .NET Core assemblies, you are also able to programmatically obtain this same information using the System.Reflection namespace. To this end, the first task of this chapter is to define the role of reflection and the necessity of .NET Core metadata.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Andrew Troelsen and Phil Japikse

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Troelsen, A., Japikse, P. (2020). Type Reflection, Late Binding, and Attribute-Based Programming. In: Pro C# 8 with .NET Core 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5756-2_17

Download citation

Publish with us

Policies and ethics