G9BlazorComponent.FileManagementSystem 1.0.1.4

dotnet add package G9BlazorComponent.FileManagementSystem --version 1.0.1.4
                    
NuGet\Install-Package G9BlazorComponent.FileManagementSystem -Version 1.0.1.4
                    
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="G9BlazorComponent.FileManagementSystem" Version="1.0.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="G9BlazorComponent.FileManagementSystem" Version="1.0.1.4" />
                    
Directory.Packages.props
<PackageReference Include="G9BlazorComponent.FileManagementSystem" />
                    
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 G9BlazorComponent.FileManagementSystem --version 1.0.1.4
                    
#r "nuget: G9BlazorComponent.FileManagementSystem, 1.0.1.4"
                    
#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.
#addin nuget:?package=G9BlazorComponent.FileManagementSystem&version=1.0.1.4
                    
Install G9BlazorComponent.FileManagementSystem as a Cake Addin
#tool nuget:?package=G9BlazorComponent.FileManagementSystem&version=1.0.1.4
                    
Install G9BlazorComponent.FileManagementSystem as a Cake Tool

G9BlazorComponent.FileManagementSystem

G9BlazorComponent.FileManagementSystem is a full-featured, customizable, and extensible Blazor file management component designed to provide powerful file browsing, manipulation, and remote SSH/SFTP access capabilities. It supports drag-and-drop uploads, context menus, real-time operations, SSH terminals, and more. This library is built to support file management for both local and remote server environments with modern UI and multi-language support.


๐Ÿ”ง Features

  • ๐Ÿ“ File/Directory browsing for:

    • Public area
    • Private area
    • Remote SSH/SFTP
  • ๐Ÿ“‚ Tabbed interface for multi-path navigation

  • ๐Ÿ–ฑ๏ธ Context menu and mouse/touch event handling (click, double-click, right-click, hold)

  • ๐Ÿ”‘ Secure SSH/SFTP support with private key + passphrase

  • ๐Ÿงญ Tree navigation view for directory structures

  • ๐Ÿ“‹ File operations:

    • Upload/Download
    • Create/Rename/Delete
    • Copy/Cut/Paste with progress notification
    • Compress/Decompress (ZIP, TAR, etc.)
  • ๐Ÿ“ Text and code file editing with encoding support

  • ๐Ÿ“ท Preview for images, videos, and PDFs

  • ๐Ÿ” Search and live filtering

  • ๐Ÿ“š Internationalization (20+ languages)

  • โŒจ๏ธ Keyboard shortcut support

  • ๐Ÿงฑ Modular design with customization support


๐Ÿ“ฆ Installation

Install the NuGet package:

Install-Package G9BlazorComponent.FileManagementSystem

Or via .NET CLI:

dotnet add package G9BlazorComponent.FileManagementSystem

๐Ÿงช Basic Usage

Use the Component

@page "/"
@using G9BlazorComponent.FileManagementSystem

<G9FileManagement @ref="_fileManager" Language="G9ECultures.en" />

@code {
    private G9FileManagement _fileManager = null!;

    protected override void OnInitialized()
    {
        if (_fileService == null)
        {
            var privatePath = G9Assembly.InputOutputTools.GetExecutableDirectory();
            _fileService = new G9CFileService("PublicFileManagementSystem", privatePath);
        }
    }
}

๐Ÿ” SSH/SFTP Access

You can open a remote SSH/SFTP area (automatically) with the following method:

await _fileManager.OpenShhSftpAreaPath(new SshConfig
{
    UserName = "root",
    HostName = "127.0.0.1",
    Port = 9000,
    PrivateKeyContent = "-----BEGIN OPENSSH PRIVATE KEY-----\n...",
    PassPhrase = "your-passphrase",
    ConnectionTimeoutSeconds = 60,
    OperationTimeoutSeconds = 300
}, "/home", newTab: true, isShhMode: true);

Supports interactive terminal integration via Xterm.


๐Ÿ’ก Keyboard Shortcuts

Shortcut Action
Ctrl + C Copy
Ctrl + X Cut
Ctrl + V Paste
Ctrl + A Select All
Backspace Go to parent dir
Escape Unselect all

๐ŸŒ Localization

Set your preferred culture via the Language parameter:

<G9FileManagement Language="G9ECultures.en" />

Custom dictionaries are also supported and can be extended from the G9Dictionaries folder.

Supported cultures are as follows:

Supported Cultures

The following cultures are supported:

  • en (English)
  • zh (Chinese - Mandarin)
  • es (Spanish)
  • hi (Hindi)
  • ar (Arabic)
  • fr (French)
  • pt (Portuguese)
  • ru (Russian)
  • de (German)
  • ja (Japanese)
  • bn (Bengali)
  • pa (Punjabi)
  • jv (Javanese)
  • ko (Korean)
  • vi (Vietnamese)
  • ta (Tamil)
  • tr (Turkish)
  • it (Italian)
  • fa (Persian)
  • th (Thai)

To add additional languages, update the {LibraryName}.LanguageDictionaryConfig.json file located in the /G9Dictionaries folder. Then, include translations and word definitions for the new language in the {LibraryName}.LanguageDictionary.json file.


๐Ÿ“‘ File Operations API

All main file operations are available:

  • CreateFile()
  • CreateFolder()
  • Rename()
  • DeleteItem()
  • UploadFile()
  • DownloadFile()
  • Compress() / Decompress()
  • EditTextFile()

Additionally, all operations provide full feedback via popup modals and toast notifications.


๐Ÿงฉ Integration Notes

  • Works with both Blazor Server and Blazor WebAssembly
  • Can be extended with other G9 components (e.g., Modals, Input Forms)
  • Full TypeScript/JavaScript interop is used for terminal, key bindings, and event handling

๐Ÿ›ก Security

  • Secure file management via private paths
  • Full support for secure SSH key-based access
  • Passphrase-protected keys supported (ED25519, RSA)

๐Ÿ“ฌ Feedback and Contribution

Feel free to contribute or report issues on the GitHub repository. For questions, reach out to the author or open a discussion.


๐Ÿ“„ License

Licensed under MIT.


Built with โค๏ธ for advanced file management in modern Blazor apps.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.

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
1.0.1.4 0 6/11/2025
1.0.1.1 2 6/11/2025
1.0.0.3 29 6/9/2025