Hadi “H.Ghamarzadeh” Ghamarzadeh
Hadi “H.Ghamarzadeh” Ghamarzadeh
خواندن ۲ دقیقه·۷ ماه پیش

HGO.ASPNetCore.FileManager: A Feature-Rich File Explorer for ASP.Net Core

HGO.ASPNetCore.FileManager is a free, open-source, and easy-to-use file explorer component designed specifically for ASP.Net Core 6 and above applications. It boasts a rich set of features that empower users to manage server files directly from the client-side.

Online Demo

Key Features of HGO.ASPNetCore.FileManager

  • File and Folder Management: Create, rename, delete, and edit files and folders with ease.
  • Cross-Platform Support: Works seamlessly on Windows, Linux, and macOS file systems.
  • Copy, Cut, and Paste Operations: Effortlessly manage file and folder organization.
  • Archive Compression and Extraction: Supports various archive formats like RAR, ZIP, TAR, and more.
  • File Uploads and Downloads: Transfer files between the client and server effortlessly.
  • Built-in Code Editor: Edit text-based files directly within the file explorer using the powerful CodeMirror editor (supports .css, .html, .js files, etc.).
  • Search Functionality: Quickly locate specific files and folders on the server.
  • Customizable Features: Enable or disable functionalities based on your project's requirements.
  • Disk Space Monitoring: Gain insights into server storage usage.
  • Light and Dark Mode Themes: Choose a theme that suits your application's aesthetics.


Getting Started with HGO.ASPNetCore.FileManager

HGO.ASPNetCore.FileManager is available on NuGet, making installation a breeze. You can install it using either the NuGet Package Manager Console or the .NET Core command-line interface (dotnet CLI).

Once installed, the component needs to be registered within your ASP.NET Core application's service container. The guide provides clear instructions on how to achieve this using code snippets.

Here's a basic overview of the installation process:

  1. Install HGO.ASPNetCore.FileManager via NuGet or dotnet CLI.
  2. Register the component within your application's service container.
  3. Create an Action Method to handle server-side operations on files and folders.
  4. Inject the IFileManagerCommandsProcessor interface into your controller class for interaction with the file manager component.
  5. Integrate the HGO.ASPNetCore.FileManager component view into your Razor Pages or views using the Component.InvokeAsync method.
  6. Include necessary references to HGO.ASPNetCore.FileManager JavaScript and CSS files in your views.

The guide also provides links to sample projects showcasing HGO.ASPNetCore.FileManager in action, including ASP.Net Core MVC and Razor Pages implementations. Additionally, video tutorials on YouTube demonstrate the installation process for these project types.

Important Note: HGO.ASPNetCore.FileManager relies on the jQuery library. Ensure you reference jQuery before using the RenderHgoFileManagerJavaScripts method to avoid any issues.

With its comprehensive feature set and straightforward integration process, HGO.ASPNetCore.FileManager presents a compelling solution for adding robust file management capabilities to your ASP.Net Core web applications.

Online Demo

Hgo.ASPNetCore.FileManager on Github

Hgo.ASPNetCore.FileManager on Nuget

ASP.Net Core MVC Installation Video on YouTube

ASP.Net Core Razor Pages Installation Video on YouTube





file exploreropen sourceaspnetcorefile upload
شاید از این پست‌ها خوشتان بیاید