In-Memory Code Generation With .NET – Loading May 2, 2015September 29, 2017Munir HusseiniNo Comments This entry is part 5 of 5 in the series In-Memory Code Generation With .NETThe previous articles from this post series have discussed how to generate .NET types at runtime and how to get…
C#: Getting Installer Product Data From Hosted Web PI GUI October 28, 2014September 29, 2017Munir Husseini2 Comments The previous post explained how to get event notification from a running Web PI GUI window that is hosted in…
TFS: Get And Modify Included And Excluded Pending Changes in Visual Studio October 11, 2014Munir HusseiniNo Comments In this post on Stack Overflow, I posted code that allows access to the included/excluded pending changes that the user…
Reflection Emit: Creating Properties July 21, 2014September 27, 2017Munir Husseini1 Comment For those who need to create a dynamic type in memory using Reflection.Emit and need to add some properties, here…
Reflection Emit and Type Inheritance: Calling Base Type Constructors July 21, 2014August 2, 2019Munir Husseini2 Comments Suppose you want to use Reflection.Emit to generate a dynamic type in memory. Suppose this dynamic type should inherit a…
Linq Expressions By Sample: Calling Generic Methods With Lambda Parameters For Unknown Types July 19, 2013Munir Husseini7 Comments Suppose you need to call a generic Method that receives a generic delegate parameter. Now suppose that you neither know…
In-Memory Code Generation With .NET – Emit & Linq February 17, 2013September 29, 2017Munir Husseini3 Comments This entry is part 4 of 5 in the series In-Memory Code Generation With .NETInstead of using templaing engines to create source code that need compilation, MSIL can be created using either Reflection Emit…
In-Memory Code Generation With .NET – Compilation February 17, 2013September 29, 2017Munir HusseiniNo Comments This entry is part 3 of 5 in the series In-Memory Code Generation With .NETIn the previous article from this series, templating engines to generate .NET source code were presented. Once source code is…
In-Memory Code Generation With .NET – Templating Engines February 17, 2013September 28, 2017Munir HusseiniNo Comments This entry is part 2 of 5 in the series In-Memory Code Generation With .NETTemplating engines allow a very flexible and quite easy, because human-readable definition of the code to be generated. Following, three…
In-Memory Code Generation With .NET – Models February 17, 2013September 28, 2017Munir HusseiniNo Comments This entry is part 1 of 5 in the series In-Memory Code Generation With .NETIn this series, I will show how to generate, compile and load .NET code at runtime using different techniques.