Skip to content

Commit

Permalink
Add .net9 support (#156)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Surcouf <[email protected]>
  • Loading branch information
ScarletKuro and mikes-gh authored Nov 14, 2024
1 parent 63105a2 commit 38722e9
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/TryMudBlazor.Server/bin/Debug/net8.0/TryMudBlazor.Server.dll",
"program": "${workspaceFolder}/src/TryMudBlazor.Server/bin/Debug/net9.0/TryMudBlazor.Server.dll",
"args": [],
"cwd": "${workspaceFolder}/src/TryMudBlazor.Server",
"stopAtEntry": false,
Expand All @@ -23,7 +23,7 @@
"request": "launch",
"preLaunchTask": "build",
"hosted": true,
"program": "${workspaceFolder}/src/TryMudBlazor.Server/bin/Debug/net8.0/TryMudBlazor.Server.dll",
"program": "${workspaceFolder}/src/TryMudBlazor.Server/bin/Debug/net9.0/TryMudBlazor.Server.dll",
"cwd": "${workspaceFolder}/src/TryMudBlazor.Server",
"browser": "edge",
"env": {
Expand Down
Binary file modified libs/Microsoft.AspNetCore.Mvc.Razor.Extensions.dll
Binary file not shown.
Binary file modified libs/Microsoft.AspNetCore.Razor.Language.dll
Binary file not shown.
Binary file modified libs/Microsoft.AspNetCore.Razor.Utilities.Shared.dll
Binary file not shown.
Binary file modified libs/Microsoft.CodeAnalysis.Razor.dll
Binary file not shown.
Binary file modified libs/Microsoft.Extensions.ObjectPool.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Try.Core/CoreConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void ButtonOnClick()
}";

public const string DefaultUserComponentsAssemblyBytes =
"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAJiVwb4AAAAAAAAAAOAAIiALATAAAAoAAAAGAAAAAAAAEigAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAAAAAAAMAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAAL4nAABPAAAAAEAAAIADAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAwAAADEJgAAVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAGAgAAAAgAAAACgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAIADAAAAQAAAAAQAAAAMAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAEAAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAADyJwAAAAAAAEgAAAACAAUAdCAAAFAGAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4CKA0AAAoqOgIoDQAACgIDfQEAAAQqBioeAigOAAAKKgAAAEJTSkIBAAEAAAAAAAwAAAB2NC4wLjMwMzE5AAAAAAUAbAAAACACAAAjfgAAjAIAAMgCAAAjU3RyaW5ncwAAAABUBQAABAAAACNVUwBYBQAAEAAAACNHVUlEAAAAaAUAAOgAAAAjQmxvYgAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==";

public const string DefaultRazorFileContentFormat = "<h1>{0}</h1>";

Expand Down
6 changes: 3 additions & 3 deletions src/Try.Core/Try.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.9.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.10" />
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="9.0.0" />
<PackageReference Include="MudBlazor" Version="*" />
</ItemGroup>

Expand Down
3 changes: 0 additions & 3 deletions src/TryMudBlazor.Client/Pages/Repl.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public partial class Repl : IDisposable
[Inject]
public IJSInProcessRuntime JsRuntime { get; set; }

[Inject]
public IJSUnmarshalledRuntime UnmarshalledJsRuntime { get; set; }

[Parameter]
public string SnippetId { get; set; }

Expand Down
3 changes: 1 addition & 2 deletions src/TryMudBlazor.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public static async Task Main(string[] args)
builder.RootComponents.Add<HeadOutlet>("head::after");

builder.Services.AddSingleton(serviceProvider => (IJSInProcessRuntime)serviceProvider.GetRequiredService<IJSRuntime>());
builder.Services.AddSingleton(serviceProvider => (IJSUnmarshalledRuntime)serviceProvider.GetRequiredService<IJSRuntime>());
builder.Services.AddScoped(_ => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddScoped<SnippetsService>();
builder.Services.AddSingleton(new CompilationService());
Expand Down Expand Up @@ -92,7 +91,7 @@ private static IJSInProcessRuntime GetJsRuntime()
throw new MissingMemberException($"Couldn't find type '{defaultJsRuntimeTypeName}'.");
}

var instanceField = defaultJsRuntimeType.GetField(instanceFieldName, BindingFlags.Static | BindingFlags.NonPublic);
var instanceField = defaultJsRuntimeType.GetField(instanceFieldName, BindingFlags.Static | BindingFlags.Public);
if (instanceField == null)
{
throw new MissingMemberException($"Couldn't find property '{instanceFieldName}' in '{defaultJsRuntimeTypeName}'.");
Expand Down
9 changes: 5 additions & 4 deletions src/TryMudBlazor.Client/TryMudBlazor.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<PropertyGroup>
<PublishTrimmed>false</PublishTrimmed>
<WasmEnableWebcil>false</WasmEnableWebcil>
<WasmFingerprintAssets>false</WasmFingerprintAssets>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="FluentValidation" Version="11.9.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="FluentValidation" Version="11.10.0" />
<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.AspNetCore.WebUtilities" Version="9.0.0" />
<PackageReference Include="MudBlazor" Version="*" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/TryMudBlazor.Client/wwwroot/editor/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ window.Try.CodeExecution = window.Try.CodeExecution || (function () {
const cache = await caches.open('dotnet-resources-/');

const cacheKeys = await cache.keys();
const userComponentsDllCacheKey = cacheKeys.find(x => x.url.indexOf('Try.UserComponents.dll') > -1);
const userComponentsDllCacheKey = cacheKeys.find(x => /Try\.UserComponents\.dll/.test(x.url));
if (!userComponentsDllCacheKey || !userComponentsDllCacheKey.url) {
alert(UNEXPECTED_ERROR_MESSAGE);
return;
Expand Down
6 changes: 4 additions & 2 deletions src/TryMudBlazor.Server/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"launchUrl": "",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand All @@ -21,7 +22,8 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"launchUrl": "swagger",
"launchUrl": "",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
Expand Down
6 changes: 3 additions & 3 deletions src/TryMudBlazor.Server/TryMudBlazor.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.12.0" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.20.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.6" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.6" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.0" NoWarn="NU1605" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/UserComponents/Try.UserComponents.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" />
</ItemGroup>

</Project>

0 comments on commit 38722e9

Please sign in to comment.