Update a reference to the new API style
This commit is contained in:
parent
79a4016b13
commit
ea2019ac39
|
|
@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Blazor.DevHost.Server
|
||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
|
|
||||||
var clientAssemblyPath = FindClientAssemblyPath(app);
|
var clientAssemblyPath = FindClientAssemblyPath(app);
|
||||||
app.UseBlazorInternal(clientAssemblyPath);
|
app.UseBlazor(new BlazorOptions { ClientAssemblyPath = clientAssemblyPath });
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string FindClientAssemblyPath(IApplicationBuilder app)
|
private static string FindClientAssemblyPath(IApplicationBuilder app)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Blazor.Server
|
namespace Microsoft.AspNetCore.Builder
|
||||||
{
|
{
|
||||||
public class BlazorOptions
|
public class BlazorOptions
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue