Skip to content

Blog

Automate Code Generation With T4 Templates

After exploring the theoretical side of an automation project over the last few weeks, it is now time to get our hands dirty and write some code. There are many options for code generation, but I prefer the T4 templates. We have been using them for years and they are so stable that they form an excellent basis for our automation project.

Consistency Through Standardisation

Last week we elaborated on the different phases we need for a successful automation project. Today we explore the phase of standardisation in more depth.

In our process of Standardisation, Simplification and Automation we are in the phase of Standardisation

A nice side effect of the standardisation is that we get a more consistent output. Instead of the many different ways of doing things, we end up with a single approach and that by itself will reduce the inconsistencies.

Standardise, Simplify, Automate – In That Order!

There are not many topics in which success and failure are that close together than in an automation project. It does not matter if you automate a process or code generation – it is a small misstep to turn a possible success into a definitive failure. To change the odds to our favour, we should split our automation project into three distinct phases:

Our process starts with Standardisation, followed by Simplification, and ends with Automation

While everyone has their own ideas what could go into these phases, let us take the time to define them so that we have a common base of understanding.

How to Fix the Mechanical Voices in Microsoft Word

Microsoft Word offers us a great feature called “Read Aloud” that I often use to check if I mistakenly wrote a similar but wrong word in my posts.

After installing a new computer, that feature was still there but it sounded awful. Instead of the nice realistic voice I am used to, I got a mechanically sounding robot that butchered the English language. Oh no!

New Runtime Identifiers to Publish .Net 8 Applications

As long as your application does not use Blazor, upgrading from .Net 7 to .Net 8 is a walk in the park. The only obstacle we run into while upgrading the user group site was the publish task. Microsoft has made some simplifications to the runtime identifiers that are a breaking change.