Close
Skip to content

Softwareproduction

Software Development Blog, mainly C# and .NET

  • ASP.NET Core
  • Mobile Development
  • Code Generation
  • General Programming
  • Development Tools
  • Servers
  • Miscellaneous

Tag: Code Generation

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 .NET

The previous articles from this post series have discussed how to generate .NET types at runtime and how to get…

Read More 10041 views

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…

Read More 11783 views

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…

Read More 14579 views

Adding Solution Folders Via Visual Studio Automation

January 23, 2014Munir HusseiniNo Comments

In the Visual Studio Solution Explorer, you can add solution folders to group projects or project items. These solution folders…

Read More 2911 views

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 .NET

Instead of using templaing engines to create source code that need compilation, MSIL can be created using either Reflection Emit…

Read More 6679 views

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 .NET

In the previous article from this series, templating engines to generate .NET source code were presented. Once source code is…

Read More 9195 views

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 .NET

Templating engines allow a very flexible and quite easy, because human-readable definition of the code to be generated. Following, three…

Read More 6216 views

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 .NET

In this series, I will show how to generate, compile and load .NET code at runtime using different techniques.

Read More 4148 views

Code Generation And Manipulation Using T4 Templates And Visual Studio Automation By Sample

May 15, 2012January 11, 2018Munir HusseiniNo Comments

Introduction The goal of this exercise is to generate a class that inherits from System.Data.Entity.DbContext. It will contain properties of type System.Data.Entity.DbSet for…

Read More 4943 views
(c) 2011-2020 Munir Husseini