Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

Commit

Permalink
Blazor 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
chanan committed Mar 3, 2019
1 parent ae8cea2 commit 6593714
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 23 deletions.
8 changes: 4 additions & 4 deletions src/BlazorDB/BlazorDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
<LangVersion>7.3</LangVersion>
<PackageId>BlazorDB</PackageId>
<Version>0.7.1</Version>
<Version>0.8.0-pre</Version>
<Authors>Chanan Braunstein</Authors>
<Title>Blazor localStorage Database</Title>
<Description>In memory, persisted to localstorage, database for .net Blazor browser framework</Description>
Expand All @@ -23,9 +23,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BlazorLogger" Version="0.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.7.0" />
<PackageReference Include="BlazorLogger" Version="0.8.0-pre" />
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="0.8.0-preview-19104-04" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.8.0-preview-19104-04" PrivateAssets="all" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions src/Sample/Pages/Associations.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using Microsoft.AspNetCore.Blazor
@using Sample.Models
@using Sample.Models
@page "/associations"
@inject AssociationContext Context

Expand Down
8 changes: 4 additions & 4 deletions src/Sample/Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BlazorStrap" Version="0.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Browser" Version="0.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.7.0" />
<DotNetCliToolReference Include="Microsoft.AspNetCore.Blazor.Cli" Version="0.7.0" />
<PackageReference Include="BlazorStrap" Version="0.8.0-pre" />
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="0.8.0-preview-19104-04" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.8.0-preview-19104-04" PrivateAssets="all" />
<DotNetCliToolReference Include="Microsoft.AspNetCore.Blazor.Cli" Version="0.8.0-preview-19104-04" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/MainLayout.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@inherits BlazorLayoutComponent
@inherits LayoutComponentBase

<div class="sidebar">
<NavMenu />
Expand Down
9 changes: 4 additions & 5 deletions src/Sample/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using System;
using BlazorDB;
using Microsoft.AspNetCore.Blazor.Builder;
using BlazorDB;
using Microsoft.AspNetCore.Components.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.JSInterop;


namespace Sample
{
Expand All @@ -17,7 +16,7 @@ public void ConfigureServices(IServiceCollection services)
});
}

public void Configure(IBlazorApplicationBuilder app)
public void Configure(IComponentsApplicationBuilder app)
{
app.AddComponent<App>("app");
}
Expand Down
7 changes: 3 additions & 4 deletions src/Sample/_ViewImports.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@using System.Net.Http
@using Microsoft.AspNetCore.Blazor
@using Microsoft.AspNetCore.Blazor.Components
@using Microsoft.AspNetCore.Blazor.Layouts
@using Microsoft.AspNetCore.Blazor.Routing
@using Microsoft.AspNetCore.Components.Layouts
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.JSInterop
@using Sample
@using Sample.Shared
4 changes: 2 additions & 2 deletions src/Sample/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "2.2.100"
"version": "3.0.100-preview-010184"
}
}
}
2 changes: 1 addition & 1 deletion src/Sample/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
</head>
<body>
<app>Loading...</app>
<script src="_framework/blazor.webassembly.js"></script>
<script src="_framework/components.webassembly.js"></script>
</body>
</html>

0 comments on commit 6593714

Please sign in to comment.