Skip to content

Commit

Permalink
.NET 9.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephEShook committed Dec 18, 2024
1 parent 90726bc commit f267494
Show file tree
Hide file tree
Showing 43 changed files with 757 additions and 720 deletions.
2 changes: 1 addition & 1 deletion Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Hl7.Fhir.FhirPath;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Fast.Components.FluentUI;
using Microsoft.FluentUI.AspNetCore.Components;
using MudBlazor.Services;
using UdapEd.Client.Services;
using UdapEd.Client.Services.Search;
Expand Down
15 changes: 4 additions & 11 deletions Client/UdapEd.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PublishTrimmed>false</PublishTrimmed>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.10" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="MudBlazor" Version="7.15.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Shared\UdapEd.Shared.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Udap.CdsHooks.Model" Version="0.4.0" />
<PackageReference Include="Udap.Common" Version="0.4.0" />
</ItemGroup>

<!-- From:: https://jonhilton.net/visual-studio-2022-blazor-css-intellisense/ -->
<Target Name="CollectMudBlazorStaticAssets" DependsOnTargets="ResolveStaticWebAssetsInputs" AfterTargets="Build" Condition=" '$(Configuration)' == 'Debug' ">
<Copy SourceFiles="%(StaticWebAsset.Identity)" DestinationFolder="wwwroot/temp" Condition="$([System.String]::Copy(%(StaticWebAsset.Identity)).Contains('mudblazor'))" />
</Target>

</Project>
</Project>
1 change: 0 additions & 1 deletion Client/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
@* @using Udap.Model *@
@* @using UdapEd.Shared.Model *@
@* @using System.Reflection *@
@* @using BQuery *@
@* @using UdapEd.Shared *@
1 change: 0 additions & 1 deletion Client/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
</div>
<script src="_framework/blazor.webassembly.js"></script>
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
<script src="_content/BQuery/bQuery.min.js"></script>
<script src="_content/UdapEd.Shared/scripts/AutoFocus.js"></script>
<script src="_content/UdapEd.Shared/scripts/UdapEdUtility.js"></script>
<script src="_content/UdapEd.Shared/scripts/EventHandlers.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion Client/wwwroot/temp/MudBlazor.min.css

Large diffs are not rendered by default.

213 changes: 107 additions & 106 deletions Client/wwwroot/temp/MudBlazor.min.js

Large diffs are not rendered by default.

18 changes: 3 additions & 15 deletions Server/UdapEd.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
Expand All @@ -10,38 +9,29 @@
<DockerfileContext>..</DockerfileContext>
<UserSecretsId>e17eb5d1-fcd6-4149-b420-26b7e7d50e28</UserSecretsId>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Firely.Fhir.Packages" Version="4.9.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.10.0" />
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
<PackageReference Include="System.IO" Version="4.3.0" />


<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.10.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.10.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.10.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.10.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.10.0" />

<PackageReference Include="Udap.CdsHooks.Model" Version="0.4.0" />
<PackageReference Include="Udap.Smart.Model" Version="0.4.0" />

</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Client\UdapEd.Client.csproj" />
<ProjectReference Include="..\Shared\UdapEd.Shared.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Udap.Client" Version="0.4.0" />
<PackageReference Include="Udap.Model" Version="0.4.0" />
<PackageReference Include="Udap.Common" Version="0.4.0" />
</ItemGroup>

<ItemGroup>
<None Update="fhirlabs.net.client.pfx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -65,9 +55,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<Folder Include="Authentication\" />
</ItemGroup>

</Project>
</Project>
2 changes: 1 addition & 1 deletion Shared/CdsComponents/CardList.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@using Udap.CdsHooks.Model
@using Microsoft.Fast.Components.FluentUI
@using Microsoft.FluentUI.AspNetCore.Components

@code {
[Parameter]
Expand Down
2 changes: 1 addition & 1 deletion Shared/CdsComponents/ContextView.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Microsoft.Fast.Components.FluentUI
@using Microsoft.FluentUI.AspNetCore.Components
@code {
[Parameter]
public string Class { get; set; } = string.Empty;
Expand Down
2 changes: 1 addition & 1 deletion Shared/CdsComponents/FhirLabsCard.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Microsoft.Fast.Components.FluentUI
@using Microsoft.FluentUI.AspNetCore.Components
@using System.Collections.Generic
@using Udap.CdsHooks.Model
@inject NavigationManager Navigation
Expand Down
2 changes: 1 addition & 1 deletion Shared/CdsComponents/HookView.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@using Hl7.Fhir.Model
@using Microsoft.Fast.Components.FluentUI
@using Microsoft.FluentUI.AspNetCore.Components
@using Udap.CdsHooks.Model


Expand Down
7 changes: 3 additions & 4 deletions Shared/Components/CertificationAndEndorsementLoader.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
// */
#endregion

// using BQuery;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.JSInterop;
using MudBlazor;
using UdapEd.Shared.Model;
using UdapEd.Shared.Services;
using Color = MudBlazor.Color;
using FocusEventArgs = Microsoft.AspNetCore.Components.Web.FocusEventArgs;


namespace UdapEd.Shared.Components;

Expand Down Expand Up @@ -58,7 +57,7 @@ await AppState.SetPropertyAsync(this, nameof(AppState.CertificationAndEndorsemen
}


[JSInvokable("OnPageFocus")]
[JSInvokable("CertificationAndEndorsementLoader_OnPageFocus")]
public static async Task OnPageFocus()
{
if (_instance != null)
Expand All @@ -67,7 +66,7 @@ public static async Task OnPageFocus()
}
}

[JSInvokable("OnPageBlur")]
[JSInvokable("CertificationAndEndorsementLoader_OnPageBlur")]
public static void OnPageBlur()
{
_instance?.OnPageBlurInstance();
Expand Down
Loading

0 comments on commit f267494

Please sign in to comment.