This file contains 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
# Remove 3D Viewer | |
Write-Output "Removing 3D Viewer..." | |
Get-AppxPackage "*3DViewer*" | Remove-AppxPackage | |
# Camera | |
Write-Output "Removing Camera..." | |
Get-AppxPackage "Microsoft.WindowsCamera" | Remove-AppxPackage | |
# Feedback Hub | |
Write-Output "Removing Feedback Hub..." |
This file contains 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
internal static class DownloadEndpoint | |
{ | |
public static void MapDownloadEndpoints(this IEndpointRouteBuilder builder) | |
{ | |
builder | |
.MapGet("/api/download/{containerId}", DownloadContainer); | |
} | |
private static async Task DownloadContainer( | |
HttpContext context, |