Example #1
0
 public static async Task<RenderToStringResult> RenderToString(string applicationBasePath, INodeServices nodeServices, JavaScriptModuleExport bootModule, string requestAbsoluteUrl, string requestPathAndQuery) {
     return await nodeServices.InvokeExport<RenderToStringResult>(nodeScript.Value.FileName, "renderToString",
         applicationBasePath,
         bootModule,
         requestAbsoluteUrl,
         requestPathAndQuery);
 }
Example #2
0
 public static async Task <RenderToStringResult> RenderToString(string applicationBasePath, INodeServices nodeServices, JavaScriptModuleExport bootModule, string requestAbsoluteUrl, string requestPathAndQuery)
 {
     return(await nodeServices.InvokeExport <RenderToStringResult>(nodeScript.Value.FileName, "renderToString",
                                                                   applicationBasePath,
                                                                   bootModule,
                                                                   requestAbsoluteUrl,
                                                                   requestPathAndQuery));
 }