elfinder.Net8 8.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package elfinder.Net8 --version 8.0.4                
NuGet\Install-Package elfinder.Net8 -Version 8.0.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="elfinder.Net8" Version="8.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add elfinder.Net8 --version 8.0.4                
#r "nuget: elfinder.Net8, 8.0.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.
// Install elfinder.Net8 as a Cake Addin
#addin nuget:?package=elfinder.Net8&version=8.0.4

// Install elfinder.Net8 as a Cake Tool
#tool nuget:?package=elfinder.Net8&version=8.0.4                

elFinder.Net8

<img src="./Assets/logo.png" alt="Logo" width="100px" />

Getting Started

  1. Install the NuGet package: https://www.nuget.org/packages/elFinder.Net8/
  2. Look at the basic demo project for an example of how to integrate it into your web project. (the example uses ASP.NET .Net 8 and some additional packages listed below).

Advanced

The advanced demo project has some additional use cases enabled, including:

  • Integrate Authentication/Authorization (Cookies, OAuth2 JWT).
  • Multi-tenant support.
  • Events.
  • Some customized behaviors can be done outside the core library.
  • Integrate Quota management plugin.
  • For an example of how to write a plugin, see Logging plugin example. This plugin intercepts all method calls of IConnector and IDriver instances then logs the method's information (arguments, method name, return value, .etc) to the console output.

Customization

Since file management is a complex topic and the requirements are diverse, here are some ways to customize the library:

  1. Override the default implementation
  2. Use interceptors (as those plugins here which use Castle DynamicProxy and built-in .NET Core DI container).

Some important classes and their descriptions:

  • IConnector/Connector: the backend connector which handles elFinder commands sent from clients.
  • IDriver/FileSystemDriver: the driver which provides a storage mechanism (in this case, the OS file system). There are other drivers for different storage, e.g, elFinder AzureStorage.
  • IFile/FileSystemFile; IDirectory/FileSystemDirectory: the file system's abstractions/implementations.
  • Others: please download the repository, then run the demo projects. They should walk through all of the important classes.

About this repository

There are 3 main projects:

  • elFinder.Net.Core: the core backend connector for elFinder.
  • elFinder.Net.AspNetCore: enable ASP.NET Core 2.2 projects to easily integrate the connector package.
  • elFinder.Net.Drivers.FileSystem: the default Local File System driver.

Plugins:

  • Plugins/elFinder.Net.Plugins.FileSystemQuotaManagement: enable quota management and restriction features.

Credits

elFinder.Net8 is based on the project elFinder.Net.Core of trannamtrung1st. Many thanks for the excellent works. For those who may get confused about which package to use, try and find the one that best suits your project. I create this with some modification that suits my use cases. Some of the main differences are:

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on elfinder.Net8:

Package Downloads
elfinder.Net8.AspNet

This package enables ASP.NET .Net 8 projects to easily integrate the elFinder.Net.Core connector. See the example project on Github for usage detail.

elFinder.Net8.Drivers.FileSystem

elFinder.Net8 Local File System driver.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.8 99 10/6/2024
8.0.7 94 7/23/2024
8.0.4 113 5/12/2024
8.0.3 147 3/17/2024
8.0.1 134 2/12/2024
8.0.0 166 1/13/2024