shiny-http-transfers

Queue and monitor background HTTP transfers in .NET MAUI apps.

152|15|Updated Oct 6, 2022
One-click install
npx skills add https://github.com/shinyorg/templates --skill shiny-http-transfers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shiny-http-transfers
Source: https://github.com/shinyorg/templates/tree/main/ProjectTemplates/ShinyApp/skills/shiny-http-transfers
Command: npx skills add https://github.com/shinyorg/templates --skill shiny-http-transfers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a framework to manage background HTTP transfers (uploads and downloads) on iOS and Android using Shiny.Net.Http in .NET MAUI apps, ensuring transfers continue across app lifecycles.

Core Features & Use Cases

  • Background transfers: queue, monitor, and retry for downloads and uploads.
  • Azure Blob support via AzureBlobStorageUploadRequest.
  • UI monitoring via HttpTransferMonitor.
  • Platform-specific configurations and foreground service support (Android).

Quick Start

Queue background HTTP transfers using IHttpTransferManager, implement a delegate with OnCompleted and OnAuthorizationFailed, and monitor progress with HttpTransferMonitor.

Frequently Asked Questions about shiny-http-transfers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable background HTTP transfers in .NET MAUI apps for iOS and Android?

To enable background HTTP transfers in .NET MAUI, use the Shiny.Net.Http library to queue uploads and downloads via IHttpTransferManager, ensuring transfers continue across app lifecycles. You must register a platform-specific delegate using AddHttpTransfers<TDelegate>.

Can I monitor background transfer progress for UI binding in .NET MAUI?

Yes, you can monitor background transfer progress for UI binding in .NET MAUI using HttpTransferMonitor. It tracks ongoing HTTP uploads and downloads managed by the Shiny.Net.Http framework, allowing your application interface to reflect real-time transfer status.

Does .NET MAUI support background uploads to Azure Blob Storage?

Yes, .NET MAUI supports background uploads to Azure Blob Storage using the AzureBlobStorageUploadRequest class provided by the Shiny.Net.Http library. This allows you to queue blob uploads directly within your background transfer management framework.

What is the best way to handle HTTP transfer retries and authorization failures in .NET MAUI?

The best way to handle HTTP transfer retries and authorization failures is by implementing a custom delegate registered via AddHttpTransfers<TDelegate>. This delegate manages events like OnCompleted and OnAuthorizationFailed for your background transfers in Shiny.Net.Http.

How do background HTTP transfers behave across app lifecycles on Android and iOS?

Background HTTP transfers persist across app lifecycles on Android and iOS by utilizing platform-specific configurations and Android foreground service support. The Shiny.Net.Http library ensures your queued uploads and downloads continue running reliably even when the app is backgrounded.

Do I need to configure a foreground service for background downloads on Android using .NET MAUI?

Yes, configuring an Android foreground service is part of the platform-specific setup for background HTTP transfers using Shiny.Net.Http. This ensures your .NET MAUI application maintains reliable download and upload operations while backgrounded on Android devices.