Skip to content

Commit be729a7

Browse files
author
pmaxan
committed
Updated code to latest packages
1 parent 94566dc commit be729a7

File tree

7 files changed

+22
-23
lines changed

7 files changed

+22
-23
lines changed

ComponentsLibrary/ComponentsLibrary.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<RazorLangVersion>3.0</RazorLangVersion>
6+
<Version>1.1.0</Version>
67
</PropertyGroup>
78

89

910
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.Analyzers" Version="3.1.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.2" />
12+
<PackageReference Include="Microsoft.AspNetCore.Components.Analyzers" Version="3.1.2" />
13+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.2" />
1314
</ItemGroup>
1415

1516
</Project>

IridiumLive/IridiumLive.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<AssemblyVersion>1.1.0.*</AssemblyVersion>
5+
<AssemblyVersion>1.2.0.*</AssemblyVersion>
66
<Deterministic>false</Deterministic>
7-
<FileVersion>1.0.0.0</FileVersion>
8-
<Version>1.1.0.0</Version>
7+
<FileVersion>1.2.0.0</FileVersion>
8+
<Version>1.2.0.0</Version>
99
</PropertyGroup>
1010

1111
<ItemGroup>
@@ -15,15 +15,15 @@
1515
<ItemGroup>
1616
<PackageReference Include="Blazor.Extensions.Logging" Version="1.0.0" />
1717
<PackageReference Include="EntityFramework" Version="6.4.0" />
18-
<PackageReference Include="Microsoft.AspNetCore.Components.Analyzers" Version="3.1.0" />
19-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
20-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
18+
<PackageReference Include="Microsoft.AspNetCore.Components.Analyzers" Version="3.1.2" />
19+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.2" />
20+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.0" />
25-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.0" />
26-
<PackageReference Include="Radzen.Blazor" Version="2.0.13" />
24+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.2" />
25+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.1" />
26+
<PackageReference Include="Radzen.Blazor" Version="2.2.1" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

IridiumLive/Pages/Index.razor

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,18 @@
1414
<li>
1515
Blazor
1616
<ul>
17-
<li>One Page Applications for Web</li>
18-
<li>Server side, understanding the programming model</li>
19-
<li>Writing components</li>
17+
<li>OPA, server side</li>
18+
<li>Components</li>
2019
<li>Timer-based (two pushing models)</li>
2120
<li>Integrating real-time socket services (UDP)</li>
22-
<li>Map service and library integrations</li>
21+
<li>Map service and map plugins</li>
2322
</ul>
2423
</li>
2524
<li>
2625
SQLite
2726
<ul>
2827
<li>Blazor EF SQLite integration</li>
29-
<li>EF Views</li>
30-
<li>EF Indexes</li>
28+
<li>EF Db creation, views and indexes</li>
3129
</ul>
3230
</li>
3331
<li>

IridiumLive/Properties/PublishProfiles/windows-x64.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
1414
<ExcludeApp_Data>False</ExcludeApp_Data>
1515
<TargetFramework>netcoreapp3.1</TargetFramework>
1616
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
17-
<PublishSingleFile>True</PublishSingleFile>
17+
<PublishSingleFile>False</PublishSingleFile>
1818
<PublishTrimmed>True</PublishTrimmed>
1919
<PublishReadyToRun>True</PublishReadyToRun>
2020
<ProjectGuid>abbc0917-5926-4bb5-ad07-66937dc0d3e5</ProjectGuid>

IridiumLive/Services/LiveService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ public async Task<long> GetLastUtcTicks()
6868
}
6969
catch (Exception ex)
7070
{
71-
Console.WriteLine(ex.Message);
71+
Debug.WriteLine($"GetLastUtcTicks failed: {ex.Message}");
7272
}
7373
sw.Stop();
74-
Console.WriteLine("GetLastUtcTicks in: {0} ms.", sw.ElapsedMilliseconds);
74+
Console.WriteLine($"GetLastUtcTicks in: {sw.ElapsedMilliseconds} ms.");
7575
return result;
7676
}
7777

IridiumLive/Services/PacketCounterService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public async Task<ICollection<PacketCounter>> GetPacketCountersAsync(long utcTic
6868
where UtcTicks > {utcTicks}
6969
group by PacketId";
7070
sw.Stop();
71-
Console.WriteLine("Live result in: {0} ms.", sw.ElapsedMilliseconds);
71+
Debug.WriteLine("Live result in: {0} ms.", sw.ElapsedMilliseconds);
7272
var l = await _context.PacketCounters.FromSqlInterpolated(sqlString).AsNoTracking().ToListAsync();
7373
return l;
7474
}

IridiumLive/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
9090
try
9191
{
9292
var context = scope.ServiceProvider.GetService<IridiumLiveDbContext>();
93-
//context.Database.EnsureDeleted();
93+
context.Database.EnsureDeleted();
9494
context.Database.EnsureCreated();
9595

9696
//this should be called in a different spot

0 commit comments

Comments
 (0)