Update a reference to the new API style

This commit is contained in:
Eugene Bekker 2018-02-10 14:22:15 -05:00 committed by Steve Sanderson
parent 79a4016b13
commit ea2019ac39
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Blazor.DevHost.Server
app.UseDeveloperExceptionPage();
var clientAssemblyPath = FindClientAssemblyPath(app);
app.UseBlazorInternal(clientAssemblyPath);
app.UseBlazor(new BlazorOptions { ClientAssemblyPath = clientAssemblyPath });
}
private static string FindClientAssemblyPath(IApplicationBuilder app)

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Blazor.Server
namespace Microsoft.AspNetCore.Builder
{
public class BlazorOptions
{