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: blazor/file-manager/File-Transfer-Protocol-file-system-provider.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,17 @@ control: File Manager
7
7
documentation: ug
8
8
---
9
9
10
-
# File Transfer Protocol file system provider
10
+
# File Transfer Protocol (FTP) file system provider
11
11
12
-
In ASP.NET Core, File Transfer Protocol file system provider allows the users to access to the hosted file system as collection of objects stored in the file storage using File Transfer Protocol. To get started, clone the [EJ2.ASP.NET Core FTP File Provider](https://github.com/SyncfusionExamples/ej2-ftp-aspcore-file-provider) using the following command
12
+
In ASP.NET Core, the File Transfer Protocol (FTP) file system provider allows users to access a hosted file system as a collection of objects stored in the file storage using FTP. To get started, clone the [EJ2.ASP.NET Core FTP File Provider](https://github.com/SyncfusionExamples/ej2-ftp-aspcore-file-provider)repository using the following command:
After cloning, open the project in Visual Studio and restore the NuGet packages. Now, register File Transfer Protocol details like*hostName*, *userName* and *password* in **SetFTPConnection** method in the File Manager controller to perform the file operations.
20
+
After cloning, open the project in Visual Studio and restore the NuGet packages. Register the FTP details, including*hostName*, *userName* and *password* in **SetFTPConnection** method in the File Manager controller to perform the file operations.
21
21
22
22
```csharp
23
23
@@ -43,7 +43,7 @@ After registering the File Transfer Protocol details, just build and run the pro
43
43
44
44
```
45
45
46
-
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the File Transfer Protocol file system provider, you need to initialize the File Transfer Protocol file system provider in the controller.
46
+
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the FTP file system provider, initialize the FTP file system provider in the controller.
47
47
48
48
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `FTPProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/ftp-aspcore-file-provider/blob/master/Controllers/FTPProviderController.cs). Additionally, you can check out all the necessary file operation method details for this provider in the same GitHub repository.
Copy file name to clipboardExpand all lines: blazor/file-manager/Firebase-Real-time-Database-file-system-provider.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ control: File Manager
7
7
documentation: ug
8
8
---
9
9
10
-
# Firebase file system provider
10
+
# Firebase Realtime Database Provider
11
11
12
-
The [Firebase Real time Database](https://firebase.google.com/) file system provider in **ASP.NET Core** provides the efficient way to store the File Manager file system in a cloud database as JSON representation.
12
+
The [Firebase Real time Database](https://firebase.google.com/) file system provider in **ASP.NET Core** provides an efficient way to store the File Manager file system in a cloud database as JSON representation.
13
13
14
-
### Generate Secret access key from service account
14
+
### Generate a Secret Access Key from a Service Account
15
15
16
-
Follow the given steps to generate the secret access key:
16
+
Follow these steps to generate the secret access key:
17
17
18
18
* Click this [link](https://console.firebase.google.com/u/0/?pli=1) to Firebase console and navigate to the project settings.
19
19
@@ -23,13 +23,13 @@ Follow the given steps to generate the secret access key:
23
23
24
24

25
25
26
-
*Now, open the Firebase service project from the Google services console, and generate a Secret key.
26
+
*Open the Firebase service project from the Google services console and generate a Secret key.
27
27
28
28

29
29
30
30
* After generating the secret key, replace secret key JSON in the access_key.json file in the Firebase Real time Database provider project to enable authentication for performing read and write operations.
31
31
32
-
To interpolate with the Firebase Real time Database, create a project under Firebase Real time Database, and then enable the **read** and **write** permissions to access the Firebase Database by specifying the rules within the authentication tab of the Firebase project as demonstrated in the following code snippet.
32
+
To interact with the Firebase Realtime Database, create a project and enable **read** and **write** permissions by specifying the rules within the authentication tab of the Firebase project, as shown in the following code snippet.
33
33
34
34
N> By default, rules of a Firebase project will be **false**. To read and write the data, configure the **Rules** as given in the following code snippet in the *Rules* tab in the Firebase Real time Database project.
35
35
@@ -88,7 +88,7 @@ Then, create a root node and add children to the root node. Refer to the followi
88
88
89
89
```
90
90
91
-
Here, the `Files` denotes the `rootNode` and the subsequent object refers to the children of the root node. `rootNode` will be taken as the root folder of the file system loaded which will be loaded in File Manager component.
91
+
Here, the `Files` denotes the `rootNode` and the subsequent object refers to the children of the root node. `rootNode` will be taken as the root folder of the file system loaded in the File Manager component.
92
92
93
93
After that, clone the [EJ2.ASP.NET Core Firebase Real Time Database File Provider](https://github.com/SyncfusionExamples/ej2-firebase-realtime-database-aspcore-file-provider) and just open the project in Visual Studio and restore the NuGet package.
94
94
@@ -116,7 +116,7 @@ In the above code,
116
116
117
117
*`{give the service account key path}` denotes service account key path which has authentication key for the Firebase Real time Database data.
118
118
119
-
After configuring the Firebase Real time Database service link, build and run the project. Now, the project will be hosted in`http://localhost:{port}` and just mapping the **ajaxSettings** property of the File Manager component to the appropriate controller methods allows to manage the files in the Firebase Real time Database.
119
+
After configuring the Firebase Realtime Database service link, build and run the project. The application will be hosted at`http://localhost:{port}`. Map the **ajaxSettings** property of the File Manager component to the appropriate controller methods to manage the files in the Firebase Realtime Database.
120
120
121
121
```cshtml
122
122
@@ -135,7 +135,7 @@ After configuring the Firebase Real time Database service link, build and run th
135
135
136
136
```
137
137
138
-
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the Firebase file system provider, you need to initialize the Firebase file system provider in the controller.
138
+
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the Firebase file system provider, initialize the Firebase file system provider in the controller.
139
139
140
140
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `FirebaseProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/firebase-realtime-database-aspcore-file-provider/blob/master/Controllers/FirebaseProviderController.cs). Additionally, you can check out all the necessary file operation method details for this provider in the same GitHub repository.
Copy file name to clipboardExpand all lines: blazor/file-manager/Google-Drive-file-system-provider.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: Google Drive provider in Blazor File Manager Component | Syncfusion
3
+
title: Google Drive Provider in Blazor File Manager Component | Syncfusion
4
4
description: Checkout and learn here all about Google Drive file system provider in Syncfusion Blazor File Manager component and more.
5
5
platform: Blazor
6
6
control: File Manager
@@ -9,7 +9,7 @@ documentation: ug
9
9
10
10
# Google Drive file system provider
11
11
12
-
The Google Drive file system provider allows the users to manage the files and folders in a Google Drive account. The Google Drive file system provider works on id basis where each file and folder have a unique ID. To get started, clone the [EJ2.ASP.NET Core Google Drive File Provider](https://github.com/SyncfusionExamples/ej2-google-drive-aspcore-file-provider) using the following command.
12
+
The Google Drive file system provider allows users to manage files and folders in a Google Drive account. This provider operates on an ID basis, where each file and folder has a unique ID. To begin, clone the [EJ2.ASP.NET Core Google Drive File Provider](https://github.com/SyncfusionExamples/ej2-google-drive-aspcore-file-provider) using the following command:
13
13
14
14
```
15
15
@@ -19,14 +19,14 @@ cd ej2-google-drive-aspcore-file-provider
19
19
20
20
```
21
21
22
-
Google Drive file system provider use the [Google Drive APIs](https://developers.google.com/drive/api/v3/reference/) to read the file in the file system and uses the [OAuth 2.0](https://developers.google.com/identity/protocols/OAuth2) protocol for authentication and authorization. To authenticate from the client end, have to obtain OAuth 2.0 client credentials from the `Google API Console`. To learn more about generating the client credentials from the from Google API Console, refer to this [link](https://developers.google.com/identity/protocols/OAuth2UserAgent).
22
+
The Google Drive file system provider utilizes the [Google Drive APIs](https://developers.google.com/drive/api/v3/reference/) to read files and folders and employs the [OAuth 2.0](https://developers.google.com/identity/protocols/OAuth2) protocol for authentication and authorization. To authenticate from the client end, OAuth 2.0 client credentials must be obtained from the `Google API Console`. Refer to this [link](https://developers.google.com/identity/protocols/OAuth2UserAgent) for more information on generating client credentials from the Google API Console.
23
23
24
24
After generating the client secret data, copy the JSON data to the following specified JSON files in the cloned location.
After updating the credentials, just build and run the project. Now, the project will be hosted in`http://localhost:{port}`, and it will ask to log on to the Gmail account for which created the client secret credentials. Then, provide permission to access the Google Drive files by clicking the allow access button in the page. Now, just mapping the ajaxSettings property of the File Manager component to the appropriate controller methods will allow to manage the files from the Google Drive.
29
+
After updating the credentials, build and run the project. The project will be hosted at`http://localhost:{port}` and will prompt a login to the Gmail account for which the client secret credentials were created. Grant permission to access the Google Drive files by clicking the allow access button on the page. Map the `ajaxSettings` property of the File Manager component to the appropriate controller methods to manage the files from Google Drive.
30
30
31
31
```cshtml
32
32
@@ -44,8 +44,8 @@ After updating the credentials, just build and run the project. Now, the project
44
44
45
45
```
46
46
47
-
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the Google Drive file system provider, you need to initialize the Google Drive file system provider in the controller.
47
+
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the SyncfusionBlazor File Manager component using the Google Drive file system provider, initialize the Google Drive file system provider in the controller.
48
48
49
-
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `GoogleDriveProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/google-drive-aspcore-file-provider/blob/master/EJ2GoogleDriveFileProvider/Controllers/GoogleDriveProviderController.cs). Additionally, you can check out all the necessary file operation method details for this provider in the same GitHub repository.
49
+
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `GoogleDriveProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/google-drive-aspcore-file-provider/blob/master/EJ2GoogleDriveFileProvider/Controllers/GoogleDriveProviderController.cs). Additionally, all necessary file operation method details for this provider can be found in the same GitHub repository.
50
50
51
51
N> To learn more about file actions that can be performed with Google drive file system provider, refer to this [link](https://github.com/SyncfusionExamples/ej2-google-drive-aspcore-file-provider#key-features)
description: Checkout and learn here all about SQL database file system provider in Syncfusion Blazor File Manager component and more.
5
5
platform: Blazor
6
6
control: File Manager
@@ -9,23 +9,23 @@ documentation: ug
9
9
10
10
# SQL database file system provider
11
11
12
-
The SQL database file system provider allows the users to manage the file system being maintained in a SQL database table. Unlike the other file system providers, the SQL database file system provider works on ID basis. Here, each file and folder have a unique ID based on which all the file operations will be performed. To get started, clone the [EJ2.ASP.NET Core SQL Server Database File Provider](https://github.com/SyncfusionExamples/ej2-sql-server-database-aspcore-file-provider) using the following command.
12
+
The SQL database file system provider allows users to manage a file system maintained in a SQL database table. Unlike other file system providers, this provider operates on an ID basis, where each file and folder has a unique ID used for all file operations. To begin, clone the [EJ2.ASP.NET Core SQL Server Database File Provider](https://github.com/SyncfusionExamples/ej2-sql-server-database-aspcore-file-provider) using the following command:
After cloning, just open the project in Visual Studio and restore the NuGet packages. To establish the SQL server connection with the database file (for eg: FileManager.mdf), you need to specify the connection string in the webconfig file as shown below.
20
+
After cloning, open the project in Visual Studio and restore the NuGet packages. To establish the SQL server connection with the database file (e.g., FileManager.mdf), specify the connection string in the `web.config` file as follows:
Then, make an entry for the connection string in `appsettings.json` file as shown below.
28
+
Then, add an entry for the connection string in `appsettings.json` file as shown below.
29
29
30
30
```json
31
31
@@ -35,7 +35,7 @@ Then, make an entry for the connection string in `appsettings.json` file as show
35
35
36
36
```
37
37
38
-
Now, to configure the database connection, you need to set the connection name, table name and root folder ID value by passing these values to the SetSQLConnection method.
38
+
To configure the database connection, set the connection name, table name, and root folder ID by passing these values to the `SetSQLConnection` method:
39
39
40
40
```csharp
41
41
@@ -63,8 +63,8 @@ After configuring the connection, just build and run the project. Now, the proje
63
63
64
64
```
65
65
66
-
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the SQL database file system provider, you need to initialize the SQL database file system provider in the controller.
66
+
To perform file operations (Read, Create, Rename, Delete, Get file details, Search, Copy, Move, Upload, Download, GetImage) in the Syncfusion<supstyle="font-size:70%">®</sup> Blazor File Manager component using the SQL database file system provider, initialize the SQL database file system provider in the controller.
67
67
68
-
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `SQLProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/sql-server-database-aspcore-file-provider/blob/master/Controllers/SQLProviderController.cs). Additionally, you can check out all the necessary file operation method details for this provider in the same GitHub repository.
68
+
To initialize a local service with the above-mentioned file operations, create a new folder named `Controllers` inside the server part of the project. Then, create a new file with the extension `.cs` inside the Controllers folder and add the necessary file operations code available in the `SQLProviderController.cs` found at this [link](https://github.com/SyncfusionExamples/sql-server-database-aspcore-file-provider/blob/master/Controllers/SQLProviderController.cs). Additionally, all necessary file operation method details for this provider can be found in the same GitHub repository.
69
69
70
70
N> To learn more about file actions that can be performed with SQL database file system provider, refer to this [link](https://github.com/SyncfusionExamples/ej2-sql-server-database-aspcore-file-provider#key-features)
0 commit comments