TwoSky.WebComponents.BigFileUpload 3.1.0

dotnet add package TwoSky.WebComponents.BigFileUpload --version 3.1.0
                    
NuGet\Install-Package TwoSky.WebComponents.BigFileUpload -Version 3.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TwoSky.WebComponents.BigFileUpload" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TwoSky.WebComponents.BigFileUpload" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="TwoSky.WebComponents.BigFileUpload" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TwoSky.WebComponents.BigFileUpload --version 3.1.0
                    
#r "nuget: TwoSky.WebComponents.BigFileUpload, 3.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TwoSky.WebComponents.BigFileUpload@3.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TwoSky.WebComponents.BigFileUpload&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=TwoSky.WebComponents.BigFileUpload&version=3.1.0
                    
Install as a Cake Tool

BigFileUpload client

The BigFileUpload client web component is used together with the BigFileUpload application (https://cronos.app/bigfileuploader/), and makes it possible to upload multiple files without file size constraints.

This plugin is only compatible with the Web3 Vidyano client.

alternate text is missing from this package README image

After installing the plugin, add the following 2 lines to app.ts :

import "../big-file-upload/big-file-upload";
import "../big-file-upload/big-file-upload-dialog";

Then rebuild the frontend code.

In the backend, give an attribute the "BigFileUpload" data type and the "GenerateBigFileSession" CustomAction permissions to the PO.

Also add the BigFileUploaderClient to the services pipeline in Startup.cs

BigFileUploaderClient.AddClient(services);

The component can be provided with the necessary settings in 2 ways:

appsettings.json

"BigFileAPI": {
	    "ApiKey": "<an api key>",
	    "BigFileUrlContext": "https://cronos.app/bigfileuploader",
	    "MaxNumberOfFiles": "3"
  }

Vidyano settings

ApiKey
BigFileUrlContext
MaxNumberOfFiles

The Vidyano settings overrule the values of appsettings.properties.

MaxNumberOfFiles can be overruled per Attribute by setting a TypeHint. Ex:

MaxFiles=2

At runtime, information about the uploaded files can be obtained as in this example:

public override void OnSave(PersistentObject obj)
{
	var attribute = obj["TestUpload"];

    var bigFileSessions = JsonSerializer.Deserialize<List<BigFileSession>>(attribute.Options![0]);
    foreach (var bigFileSession in bigFileSessions!)
    {
        var url = bigFileSession.DownloadUrl;
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 272 10/12/2025
3.0.0 238 9/12/2025
2.0.6 417 12/23/2024
2.0.5 611 12/21/2023
2.0.4 342 12/19/2023
2.0.3 412 11/29/2023
2.0.2 354 11/23/2023
2.0.1 369 11/22/2023
2.0.0 395 5/12/2023
1.1.0 670 3/1/2023