Skip to main content

Runtime Code Compilation

  • Chapter
Pro Dynamic .NET 4.0 Applications

Abstract

One of the most powerful tools offered by .NET is the ability to compile and execute source code at runtime. The .NET Framework comes with C# and VB.NET compiler classes that expose the functionality of the .NET compiler and allow you to retrieve source code as a string from, say, an XML file or a database, compile it into an assembly, and execute it at runtime. This power lets you make your application as flexible as possible by applying changes to its functionality at runtime.

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 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight 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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Carl Ganz, Jr.

About this chapter

Cite this chapter

Ganz, C. (2010). Runtime Code Compilation. In: Pro Dynamic .NET 4.0 Applications. Apress. https://doi.org/10.1007/978-1-4302-2520-1_3

Download citation

Publish with us

Policies and ethics