Posted on 02/03/2021 10:17:27
Template extenders are from the days of html templates where it was not possible to use C# code in the template. The only way to get new information into the template was to use a template extender written in C# that injects values into the tags collection.
Now a template is just a razor file with c# code. So what you would previously write in a template extender, can now just be written directly in the template or put into a method in a class somewhere in your project and then call that method from your razor template. No need to use a templat extender...