Skip to content

Update to .net 10, house both project (non aot and aot) under one solution + update nuget packages#518

Open
Seabizkit wants to merge 2 commits intoantonputra:mainfrom
Seabizkit:main
Open

Update to .net 10, house both project (non aot and aot) under one solution + update nuget packages#518
Seabizkit wants to merge 2 commits intoantonputra:mainfrom
Seabizkit:main

Conversation

@Seabizkit
Copy link
Copy Markdown

@Seabizkit Seabizkit commented Apr 2, 2026

  1. So i moved the 2 folders under a sub folder so i could bring the solution file out.. a level
    so that i could have 1 solution file which allows me to view both projects at the same time, as that allows for starting to share base resources later.. Makes no sense to maintain separately.

  2. updated to .net 10

  3. updated Nuget Package referances.

  4. updated the docker files to target 10.
    I do not know if what was there was working, but the images do exist.

  5. Hoping for a new Video

PS im no goland expert but go is doing

imgKey := fmt.Sprintf("go-thumbnail-%d.png", counter)

while c# is doing

var id = Interlocked.Increment(ref StaticData.Counter) - 1;
var image = new Image($"cs-thumbnail-{id}.png");

these are not the samething, shouldnt it be something like

Go atomic version
atomic.AddInt64(&counter, 1)
C# version
Interlocked.Increment(ref counter)

PSS - i think you wnat to change Device to a struct

public struct Device
{
    public string Uuid;
    public string Mac;
    public string Firmware;
}

public static readonly Device[] Devices =
[
    new() { Uuid = "...", Mac = "...", Firmware = "2.1.6" },
    new() { Uuid = "...", Mac = "...", Firmware = "2.1.5" },
    new() { Uuid = "...", Mac = "...", Firmware = "3.0.0" },
    new() { Uuid = "...", Mac = "...", Firmware = "1.0.1" },
    new() { Uuid = "...", Mac = "...", Firmware = "3.5.6" }
];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant