diff --git a/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs b/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs index 286aa65..554414f 100644 --- a/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs +++ b/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs @@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Builder } // If we're building on demand, start that process in the background now - var buildOnDemandTask = options.BuildOnDemand?.Build(spaBuilder); + var buildOnDemandTask = options.BootModuleBuilder?.Build(spaBuilder); // Get all the necessary context info that will be used for each prerendering call var applicationBuilder = spaBuilder.ApplicationBuilder; diff --git a/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingOptions.cs b/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingOptions.cs index bf06e6a..bc121bb 100644 --- a/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingOptions.cs +++ b/src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingOptions.cs @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Builder /// file automatically when the application runs. This property should be left as null in /// production applications. /// - public ISpaPrerendererBuilder BuildOnDemand { get; set; } + public ISpaPrerendererBuilder BootModuleBuilder { get; set; } /// /// Gets or sets the path, relative to your application root, of the JavaScript file