# general


03/12/2020, 5:19 PM
In dotnet what is the recommended way to render a template file? I have a userdata file I need to render/template for each VM I start with a few dynamic variables. I have tried using the liquid template engine but I cannot pass it outputs or inputs since they are not real strings. I tried something like output.Apply(x => x.ToString()) but all that returns is "Pulumi.Input`1[System.String]". I'm having a hard time wrapping my head around these special types and why I can't just access them like plain string or just convert it to one. Does pulumi have a templatefile method in dotnet or am I forced to use another template provider like liquid?