Convert project to .NET 8 console application for cross-platform support #4
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 PR converts the Azure Storage GZip Encoding tool from .NET Framework 4.5.2 to .NET 8, making it cross-platform and suitable for Linux environments including Jenkins pipelines.
Key Changes
Cross-Platform Support
The tool now runs natively on:
Self-contained executables are generated for all platforms, eliminating the need for .NET runtime installation.
Modernized Dependencies
Code Modernization
CloudStorageAccount
with modernBlobServiceClient
Project Structure
Usage Examples
Linux/Jenkins Pipeline:
./asge -e .css .js -f assets -r -c "${AZURE_STORAGE_CONNECTION_STRING}"
Windows:
Jenkins Pipeline:
All original functionality is preserved while adding cross-platform compatibility and modern .NET features.
Fixes #2.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.