Skip to content

Documentation: Attached the Adaptors sample link #4136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: hotfix/hotfix-v29.1.33
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ public IActionResult Delete(int key)
```
![ODataV4Adaptor-Delete-record](../images/adaptors/ODataV4Adaptor/odatav4-adaptor-delete-record.png)

> Please find the sample in this [GitHub location](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/ODataV4Adaptor_EJ2Core).

## Odata with custom url

The Syncfusion ODataV4 adaptor extends support for calling customized URLs to accommodate data retrieval and CRUD actions as per your application's requirements. However, when utilizing a custom URL with the ODataV4 adaptor, it's essential to modify the routing configurations in your application's route configuration file to align with your custom URL. You can invoke the custom URL by the following methods in the `DataManager`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,6 @@ app.MapControllers();

**Step 7:** Run the Project:

Run the project in Visual Studio, and the Syncfusion ASP.NET Core Grid will successfully fetch data from the API service.
Run the project in Visual Studio, and the Syncfusion ASP.NET Core Grid will successfully fetch data from the API service.

> Please find the sample in this [GitHub location](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/RemoteSaveAdaptor_EJ2Core).
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ public void Remove([FromBody] CRUDModel<OrdersDetails> deletedRecord)

![UrlAdaptor CRUD operations](../images/adaptors/url-adaptors/adaptor-crud-operation.gif)

> Please find the sample in this [GitHub location](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/UrlAdaptor_EJ2Core).

**Single method for performing all CRUD operations**

Using the `crudUrl` property, the controller action mapping URL can be specified to perform all the CRUD operation at server-side using a single method instead of specifying separate controller action method for CRUD (insert, update and delete) operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ app.MapControllers();

Run the project in Visual Studio, and the Syncfusion ASP.NET Core Grid will successfully fetch data from the API service.

> Please find the sample in this [GitHub location](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/WebApiAdaptor_EJ2Core).

![WebApiAdaptor](../images/adaptors/webapiAdaptors/adaptor.gif)

## Handling Searching Operation
Expand Down Expand Up @@ -581,4 +583,6 @@ public void Delete(int key)
}
```

![WebApiAdaptor CRUD operations](../images/adaptors/webapiAdaptors/adaptor-crud-operation.gif)
![WebApiAdaptor CRUD operations](../images/adaptors/webapiAdaptors/adaptor-crud-operation.gif)

You can find the complete sample for the WebApiAdaptor in [GitHub](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/WebApiAdaptor_EJ2Core) link.
Original file line number Diff line number Diff line change
Expand Up @@ -778,4 +778,6 @@ if (batchOperation.deleted != null)
}
```

![WebMethodAdaptor Batch Editing](../images/adaptors/url-adaptor-batch-editing.gif)
![WebMethodAdaptor Batch Editing](../images/adaptors/url-adaptor-batch-editing.gif)

> Please find the sample in this [GitHub location](https://github.com/SyncfusionExamples/Binding-data-from-remote-service-to-asp.net-core-data-grid/tree/master/WebMethodAdaptor_Core).