ir)} not defined in appsettings.json&quot;);
        FileSystemVirtualFiles.RecreateDirectory(PrerenderDir);
    }

    void Render&lt;T&gt;(params ComponentParameter[] parameters) where T : IComponent
    {
        WriteLine($&quot;Rendering: {typeof(T).FullName}...&quot;);
        var component = Context.RenderComponent&lt;T&gt;(parameters);
        var route = typeof(T).GetCustomAttribute&lt;RouteAttribute&gt;()?.Template;
        if (string.IsNullOrEmpty(route))
            throw new Exception