You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-17Lines changed: 74 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,39 +4,42 @@ This repository contains the ASP.NET Core firebase real time database based file
4
4
5
5
## Key Features
6
6
7
-
The following actions can be performed with firebase realtime database based file system provider.
8
-
9
-
- Read - Read the files from firebase real time database.
10
-
- Details - Provides details about files Type, Size, Location and Modified date.
11
-
- Download - Download the selected file or folder from the firebase real time database.
12
-
- Upload - Upload a files to firebase real time database. It accepts uploaded media with the following characteristics:
13
-
- Maximum file size: 30MB
14
-
- Create - Create a new folder.
15
-
- Delete - Remove a file from firebase real time database.
16
-
- Copy - Copy the selected Files from target.
17
-
- Move - Paste the copied files to the desired location
18
-
- Rename - Rename a folder or file
19
-
- Search - Search a file or folder in firebase real time database
7
+
The following actions can be performed with firebase real time database based file system provider.
8
+
9
+
|**Actions**|**Description**|
10
+
| --- | --- |
11
+
| Read | Read the files from firebase real time database. |
12
+
| Details | Provides details about files Type, Size, Location and Modified date. |
13
+
| Download | Download the selected file or folder from the firebase real time database. |
14
+
| Upload | Uploads a files to Firebase realtime database. It accepts uploaded media with the following characteristics: <ul><li>Maximum file size: 30MB<li>Accepted Media MIME types: `*/*` </li></ul> |
15
+
| Create | Create a new folder. |
16
+
| Delete | Remove a file from firebase real time database. |
17
+
| Copy | Copy the selected Files from target. |
18
+
| Move | Paste the copied files to the desired location. |
19
+
| Rename | Rename a folder or file. |
20
+
| Search | Search a file or folder in firebase real time database. |
20
21
21
22
## Prerequisites
22
23
23
-
To run the service, we need to create a [Firebase project](https://console.firebase.google.com/) to access firebase realtime database. Register the realtime database details like REST API link and the root node in the RegisterFirebaseRealtimeDB method of FilebaseRealtimeFileProvider in the controller part of the ASP.NET Core application.
24
+
To run the service, we need to create a [Firebase project](https://console.firebase.google.com/) to access firebase realtime database. Register the realtime database details like firebase realtime database service link, root node and service account key path in the **RegisterFirebaseRealtimeDB** method of *FilebaseFileProvider* in the controller part of the ASP.NET Core application.
To run this application, clone the [`ej2-firebase-realtime-database-aspcore-file-provider`](https://github.com/ej2-firebase-realtime-database-aspcore-file-provider) repository and then navigate to its appropriate path where it has been located in your system.
34
+
To run this application, clone the [`ej2-firebase-realtime-database-aspcore-file-provider`](https://github.com/SyncfusionExamples/ej2-firebase-realtime-database-aspcore-file-provider) repository and then navigate to its appropriate path where it has been located in your system.
34
35
35
36
To do so, open the command prompt and run the below commands one after the other.
cd ej2-firebase-realtime-database-aspcore-file-provider
41
44
42
45
```
@@ -45,6 +48,60 @@ cd ej2-firebase-realtime-database-aspcore-file-provider
45
48
46
49
Once cloned, open solution file in visual studio.Then build the project after restoring the nuget packages and run it.
47
50
51
+
## File Manager AjaxSettings
52
+
53
+
To access the basic actions such as Read, Delete, Copy, Move, Rename, Search, and Get Details of File Manager using Firebase realtime database file system service, just map the following code snippet in the Ajaxsettings property of File Manager.
54
+
55
+
Here, the `hostUrl` will be your locally hosted port number.
0 commit comments