Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

syncfusion-blazor-file-manager同步融合 Blazor 文件管理器

Agent Skill

syncfusion-blazor-file-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

955

周安装

39

GitHub Stars

公开资料未说明

下载量

309
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-blazor-file-manager(同步融合 Blazor 文件管理器)
来源仓库:https://github.com/syncfusion/blazor-ui-components-skills
仓库路径:skills/syncfusion-blazor-file-manager
安装命令:
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-file-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-file-manager

简介

文件管理器组件,提供目录浏览、上传下载和权限管理功能。

  • 适合云存储、文档中心或资源共享平台的前端实现。syncfusion-blazor-file-manager 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 上传过程应分块传输并支持断点续传,应对不稳定网络环境。
  • 文件预览需区分类型,图片可直接展示,其他类型引导下载。
  • 删除操作必须二次确认,重要文件变更记录审计日志。

SKILL.md

Implementing Syncfusion Blazor FileManager

When to Use This Skill

Use this skill when you need to:

  • Create a file management interface - Build web applications for browsing, uploading, downloading, and managing files
  • Set up cloud storage integration - Connect to Azure Blob Storage, Amazon S3, Google Drive, SharePoint, or Firebase
  • Implement file operations - Enable users to create, delete, rename, copy, move, search files and folders
  • Handle large file sets - Display thousands of files with virtualization and pagination
  • Customize the UI - Tailor toolbar, context menu, views, and navigation to your needs
  • Add drag-and-drop functionality - Allow users to drag and drop files for upload or organization
  • Build accessible file systems - Provide WCAG-compliant file management with keyboard navigation
  • Handle complex workflows - Implement custom sorting, filtering, previewing, and multi-provider scenarios

Component Overview

The Syncfusion Blazor FileManager is a comprehensive component for file and folder management. It provides:

  • Multiple file operations: Read, Create, Delete, Rename, Search, Copy, Move, Upload, Download, Get Details, GetSelectedFiles
  • Flexible data binding: AJAX settings, list objects, or injected services
  • Rich events system: 20+ events including PageChanging/PageChanged for pagination
  • Multiple UI customizations: Toolbar, context menu, view modes (Details, LargeIcons), NavigationPaneTemplate
  • File preview capabilities: ShowThumbnail property for image and file previews
  • Cloud provider support: Physical files, Azure, AWS S3, Google Drive, SharePoint, Firebase, SQL, FTP
  • Advanced features: Virtualization, pagination with events, drag-and-drop, custom filtering, sorting, accessibility
  • Layout management: RefreshLayoutAsync for dynamic resizing and nested component scenarios
  • High performance: Handles large file sets with virtualization and lazy loading

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation for Web App, Server App, WASM App, and MAUI App
  • NuGet package setup and service registration
  • Basic component initialization and AJAX configuration
  • File provider setup and wwwroot configuration
  • First file manager instance in 5 minutes

File Operations

📄 Read: references/file-operations.md

  • 11 core operations: Read, Create, Delete, Rename, Search, Details, Copy, Move, Upload, Download, GetImage
  • Request/response data structures and parameters
  • Operation examples with code from documentation
  • Public methods: DownloadFilesAsync(selectedItems), GetSelectedFiles()
  • File preview capabilities with ShowThumbnail property
  • Sorting functionality with SortBy and SortOrder properties

Data Binding Patterns

📄 Read: references/data-binding.md

  • AjaxSettings for remote data binding
  • List objects with local data and OnRead event
  • Injected service pattern for complex scenarios
  • FileManagerDirectoryContent structure
  • When to use each binding method

Events and Callbacks

📄 Read: references/events-and-callbacks.md

  • 20+ file manager events with complete signatures
  • Event lifecycle and timing
  • Common event handler patterns
  • BeforeDownload, BeforeImageLoad, OnFileOpen events
  • ItemsDeleting, ItemsDeleted, FolderCreating, FolderCreated events
  • Searching, Searched, ItemRenaming, ItemRenamed events

Customization and UI

📄 Read: references/customization.md

  • Toolbar customization and item configuration
  • Context menu customization
  • View modes: Details View, LargeIcons View
  • Navigation items customization with NavigationPaneTemplate
  • Custom navigation pane templates with icons and metadata
  • Styling and CSS customization
  • Appearance and theme configuration

File Providers and Storage

📄 Read: references/file-providers.md

  • Physical file provider (local file system)
  • Azure Blob Storage configuration
  • Amazon S3 cloud provider
  • Google Drive integration
  • SharePoint Online provider
  • Firebase Real-time Database
  • SQL Database provider
  • FTP (File Transfer Protocol) provider

Upload and Download

📄 Read: references/upload-download.md

  • File upload configuration and events
  • Directory upload (folder upload)
  • File download with single and ZIP support
  • Large file handling
  • Upload progress tracking
  • Download prevention and validation
  • BeforeDownload event for custom logic

Advanced Features

📄 Read: references/advanced-features.md

  • Virtualization for large file sets
  • Pagination configuration with PageChanging and PageChanged events
  • Drag and drop functionality
  • Restrict drag-and-drop upload
  • Custom filtering and search
  • Nested items handling with RefreshLayoutAsync method
  • Component integration in dialogs and containers
  • Accessibility features (WCAG compliance)
  • Keyboard navigation support
  • Multiple file selection

Quick Start Example

@using Syncfusion.Blazor.FileManager

<SfFileManager TValue="FileManagerDirectoryContent">
    <FileManagerAjaxSettings Url="/api/FileManager/FileOperations"
                             UploadUrl="/api/FileManager/Upload"
                             DownloadUrl="/api/FileManager/Download"
                             GetImageUrl="/api/FileManager/GetImage">
    </FileManagerAjaxSettings>
</SfFileManager>

Server-side setup (Program.cs):

using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
builder.Services.AddControllers();

app.UseRouting();
app.MapControllers();

HTML setup (App.razor):

<head>
    <link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
</head>
<body>
    <script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js"></script>
</body>

Common Patterns

Pattern 1: Local Data with OnRead Event

<SfFileManager TValue="FileManagerDirectoryContent">
    <FileManagerEvents TValue="FileManagerDirectoryContent" OnRead="OnReadAsync"></FileManagerEvents>
</SfFileManager>

@code {
    private async Task OnReadAsync(ReadEventArgs<FileManagerDirectoryContent> args)
    {
        // Load data from your service
        var response = await YourService.GetFilesAsync(args.Path);
        args.Response = response;
    }
}

Pattern 2: Cloud Storage with Azure Provider

<SfFileManager TValue="FileManagerDirectoryContent">
    <FileManagerAjaxSettings Url="/api/AzureProvider/FileOperations"
                             UploadUrl="/api/AzureProvider/Upload"
                             DownloadUrl="/api/AzureProvider/Download"
                             GetImageUrl="/api/AzureProvider/GetImage">
    </FileManagerAjaxSettings>
</SfFileManager>

Pattern 3: Programmatic Download

@ref="FileManager"

<SfButton OnClick="DownloadFiles">Download Selected</SfButton>
<SfFileManager @ref="FileManager" TValue="FileManagerDirectoryContent">
    <!-- configuration -->
</SfFileManager>

@code {
    SfFileManager<FileManagerDirectoryContent> FileManager;

    public async Task DownloadFiles()
    {
        await FileManager.DownloadFilesAsync(FileManager.SelectedItems);
    }
}

Pattern 4: Custom Event Handling

<SfFileManager TValue="FileManagerDirectoryContent">
    <FileManagerEvents TValue="FileManagerDirectoryContent"
                       ItemsDeleting="OnItemsDeleting"
                       BeforeDownload="OnBeforeDownload">
    </FileManagerEvents>
</SfFileManager>

@code {
    public async Task OnItemsDeleting(ItemsDeleteEventArgs<FileManagerDirectoryContent> args)
    {
        // Validate before delete
        if (args.Files.Count > 10)
        {
            args.Cancel = true;
        }
    }

    public void OnBeforeDownload(BeforeDownloadEventArgs<FileManagerDirectoryContent> args)
    {
        // Custom download logic
    }
}

Key Properties

PropertyTypeDefaultPurpose
TValueGenericFileManagerDirectoryContentData model type
Urlstring-AJAX endpoint for file operations
UploadUrlstring-Upload endpoint
DownloadUrlstring-Download endpoint
GetImageUrlstring-Image preview endpoint
SortBystringNameSort field (Name, Size, DateModified, DateCreated)
SortOrderSortOrderAscendingSort direction (None, Ascending, Descending)
ViewViewTypeLargeIconsDisplay mode (Details, LargeIcons)
EnableVirtualizationboolfalseEnable virtual scrolling for large datasets
RootPathstring-Root directory path
ShowHiddenItemsboolfalseShow hidden files and folders
EnablePaginationboolfalseEnable pagination support
PageSizeint100Number of items per page
DirectoryUploadboolfalseAllow directory upload

Common Use Cases

1. Internal Document Management

  • Setup with physical file provider
  • Use toolbar for CRUD operations
  • Enable search and filtering
  • Add event handlers for audit logging

2. Cloud-Based Team Collaboration

  • Connect to Azure or AWS S3
  • Enable drag-and-drop upload
  • Add custom toolbar for sharing
  • Implement access control via events

3. Media Library

  • Enable image preview with GetImageUrl
  • Use LargeIcons view for thumbnails
  • Implement pagination for performance
  • Add custom filtering by file type

4. Backup and Archive System

  • Connect to multiple storage providers
  • Enable download with compression
  • Use virtualization for large datasets
  • Add custom sorting and filtering

5. Public File Sharing Portal

  • Restrict operations via event handlers
  • Disable delete and rename
  • Enable download and preview only
  • Customize navigation and UI

Next Steps

  1. Choose your setup: Start with Getting Started for your platform
  2. Pick your data source: Read Data Binding Patterns to choose AJAX, local, or service
  3. Configure file operations: Check File Operations for available actions
  4. Handle events: Review Events and Callbacks for required handlers
  5. Customize UI: See Customization for toolbar and themes
  6. Choose storage: Select provider in File Providers

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.81%
按下载量换算111

Claude

31.14%
按下载量换算96

Cursor

20.33%
按下载量换算63

Gemini CLI

9.69%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills