What package is needed for the Blazor FileManager controller?

In the Getting Started documentation for the Blazor FileManager, you've recommended Syncfusion.Blazor.FileManager as the package needed for the component.

However in the Controller sample part of the documentation-

Initialize the service in controller
https://blazor.syncfusion.com/documentation/file-manager/getting-started#initialize-the-service-in-controller

You use two additional namespaces;

using Syncfusion.EJ2.FileManager.Base;
//File Manager's operations are available in the below namespace
using Syncfusion.EJ2.FileManager.PhysicalFileProvider;

Which are not part of  Syncfusion.Blazor.FileManager. Which package(s) are needed to support those namespaces?

On a guess, I've added SyncFusion.EJ2.AspNet.Core, which works - however based on the description ( 70+ controls ) that seems like significant overkill?

Which package(s) should I have installed?


1 Reply

IL Indhumathy Loganathan Syncfusion Team October 18, 2021 12:06 PM UTC

Hi Michael, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query in Blazor File Manager component. We understand that the Syncfusion.EJ2.AspNet.Core NuGet includes 70+ controls. However, you can remove this NuGet and add the model class files to access the file operation methods. 
 
You can install Syncfusion.Blazor.FileManager NuGet for File Manager component. Then create a Models folder in the application and download the PhysicalFileProvider.cs and Base folder from the below link in the Models folder. 
 
 
For your reference, we have prepared a sample with above configurations. You can find the sample from below link. 
 
 
Please check the sample and get back to us if you need any further assistance. 
 
Regards, 
Indhumathy L 


Loader.
Up arrow icon