Migrate solution to .NET 10.0 and modernize container infrastructure#502
Draft
pngdeity wants to merge 2 commits intoclasstranscribe:stagingfrom
Draft
Migrate solution to .NET 10.0 and modernize container infrastructure#502pngdeity wants to merge 2 commits intoclasstranscribe:stagingfrom
pngdeity wants to merge 2 commits intoclasstranscribe:stagingfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request migrates the ClassTranscribe WebAPI solution to .NET 10.0 and modernizes the underlying container infrastructure.
Summary of Changes
1. Core Framework & Codebase
net8.0tonet10.0.ClassTranscribeServer/Program.csto use the Generic Host (IHostBuilder) pattern, resolving framework-level obsoletion warnings.Directory.Build.propsto include theAllowMissingPrunePackageDataflag, which is a required workaround for the early .NET 10 SDK preview.2. Infrastructure & Docker
libasound2t64in the Dockerfiles. This ensures that the Azure Speech SDK's native binaries correctly resolve audio dependencies on Ubuntu 24.04..10.0.xSDK environment.3. Verification & Safety
UnitTests/SpeechSDKLoadTest.csto the test suite. This test explicitly verifies that native libraries (specifically the Speech SDK) can be loaded by the .NET 10 runtime, serving as an early-warning system for OS-level dependency issues.The commits have been organized into two logical groups (Core Framework and Infrastructure) to facilitate easier review.
Thank you for your time and consideration in reviewing these modernization updates.