Skip to: site menu | section menu | main content

IronPython in Action

Unleashing .NET with Python
Currently viewing: Front Page

IronPython in Action

IronPython in Action

Written, by Michael Foord and Christian Muirhead for Manning Publications.

IronPython in Action is available from:


You can use the code ironpython35 for a 35% discount off IronPython in Action from Manning (both ebook and print book).

IronPython is the first of a new wave of dynamic languages for the .NET framework, built on the Dynamic Language Runtime. IronPython in Action is aimed at C# / VB.NET programmers interested in dynamic languages and the possibilities of the DLR, plus Python programmers wanting to take advantage of the .NET framework. IronPython in Action covers IronPython 2 on both .NET and Mono.

The foreword is by Jim Hugunin and Dino Viehland (core IronPython developer) is the technical editor.


"Everything you need to get started with IronPython" - Jim Hugunin, creator of IronPython
"The best book on one of the best implementations of Python" - Alex Martelli, author of Python in a Nutshell
"A long-awaited guide" - Keith J. Farmer, Developer lead at Idea Entity

Read what others are saying...

You can find a full table of contents at About IronPython in Action.

You can get the sourcecode that accompanies the book from the Download Page.

Two of the chapters are available for download:

IronPython in Action is also online on Safari Books.


IronPython in Action offers a comprehensive, hands-on introduction to Microsoft's exciting new approach for programming the .NET framework. It approaches IronPython as a first class .NET language, fully integrated with the .NET environment, Visual Studio, and even the open-source Mono implementation. You'll learn how IronPython can be embedded as a ready-made scripting language into C# and VB.NET programs, used for writing full applications or for web development with ASP. Even better, you'll see how IronPython works in Silverlight for client-side web programming.

IronPython opens up exciting new possibilities. Because it's a dynamic language, it permits programming paradigms not easily available in VB and C#. In this book, authors Michael Foord and Christian Muirhead explore the world of functional programming, live introspection, dynamic typing and duck typing , metaprogramming, and more.

IronPython in Action explores these topics with examples, making use of the Python interactive console to explore the .NET framework with live objects. The expert authors provide a complete introduction for programmers to both the Python language and the power of the .NET framework. The book also shows how to extend IronPython with C#, extending C# and VB.NET applications with Python, using IronPython with .NET 3.0 and Powershell, IronPython as a Windows scripting tool, and much more.

Topics covered include:

  • Windows Forms
  • WPF
  • Web programming with ASP.NET and Silverlight
  • Databases and web services
  • Structured application programming with Python
  • Working with XML and XAML
  • Advanced Python and metaprogramming
  • Powershell and WMI
  • Testing
  • Shell scripting
  • Extending IronPython with C# / VB.NET
  • Embedding IronPython and the DLR in .NET applications

About the Authors

Michael Foord and Christian Muirhead both work full time with IronPython for Resolver Systems; creating a highly programmable spreadsheet called Resolver One. They have been using IronPython since before version 1.0 was released.

Michael Foord has been developing with Python since 2002. He blogs and writes about Python and IronPython far more than is healthy for one individual and in 2008 was made the first Microsoft MVP for dynamic languages. As the Resolver Systems community champion he speaks internationally on Python and IronPython. He maintains the IronPython Cookbook and IronPython-URLs websites. In the real world he lives in Northampton, UK with his wife Delia.

Christian Muirhead began his career in a high-volume database environment, and for the last eight years has been building database-driven websites. He has five years of experience working with C#, the .NET framework, and ASP.NET. He has been using Python in most of his projects since discovering it in 1999, including building web applications for the BBC using Django. Christian is a New Zealander currently exiled in London with his wife Alice.

You can read the preface of IronPython in Action, which tells the story of how we both became involved in IronPython and ended up writing this book, at: IronPython in Action: The Preface.

Back to top