Skip to content

Commit 43d7580

Browse files
committed
Sync with Kendo UI Professional
1 parent 416acb4 commit 43d7580

22 files changed

+1981
-261
lines changed

docs-aspnet/_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ html-helpers/editors/multiselect/how-to/*,
7171
html-helpers/interactivity/progressbar/how-to/*,
7272
html-helpers/layout/window/how-to/*,
7373
html-helpers/navigation/menu/how-to/*,
74-
html-helpers/scheduling/scheduler/how-to/*,
7574
tag-helpers/*,
7675
knowledge-base/switch-change-messages-inside-grid.md,
7776
knowledge-base/upload-files-to-database.md,

docs-aspnet/html-helpers/scheduling/scheduler/binding/webapi-binding.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
---
22
title: WebApi Binding
33
page_title: WebApi Binding
4-
description: "Learn how to enable the WebAPI binding capabilities of the Telerik UI Scheduler for {{ site.framework }}."
4+
previous_url: /html-helpers/scheduling/scheduler/how-to/web-api-binding, /helpers/scheduling/scheduler/how-to/web-api-binding
5+
description: "Learn how to enable the Web API binding capabilities of the Telerik UI Scheduler for {{ site.framework }}."
56
slug: htmlhelpers_scheduler_webapi_binding
67
---
78

8-
# WebAPI Binding
9+
# Web API Binding
910

10-
Web API is an application programming interface for a web application or server which utilizes the [HTTP protocol](https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview) for communication. It enables you to make the server-side of the application more monolithic when it comes to establishing communication between clients and websites to have data access.
11+
Web API is an application programming interface for a web application or server that utilizes the [HTTP protocol](https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview) for communication. It enables you to make the server-side of the application more monolithic when it comes to establishing communication between clients and websites to have data access.
1112

12-
For a runnable example, refer to the [demo on WebAPI binding of the Scheduler component](https://demos.telerik.com/{{ site.platform }}/scheduler/webapi).
13+
{% if site.core %}
14+
For a runnable example, refer to the [demo on Web API binding of the Scheduler component](https://demos.telerik.com/{{ site.platform }}/scheduler/webapi).
15+
{% else %}
16+
For a runnable example, refer to the [demo on Web API binding of the Scheduler component](https://demos.telerik.com/{{ site.platform }}/scheduler/webapi) or review the [ASP.NET MVC application](https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/Telerik.Examples.Mvc/Telerik.Examples.Mvc/Areas/SchedulerEditingWebApi) in the [UI for ASP.NET MVC Examples repository](https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master)
17+
{% endif %}
1318

1419
{% if site.mvc %}
1520

16-
## Setting up the application for WebAPI Binding
21+
## Setting up the Application for Web API Binding
1722

18-
To ensure that the application is configured for both Web API binding capabilities:
23+
To ensure that the application is configured for Web API binding:
1924

20-
* Configure Web API by calling `GlobalConfiguration.Configure` in the `Application_Start` method.
25+
* Configure the Web API by calling `GlobalConfiguration.Configure` in the `Application_Start` method.
2126

2227
```
2328
public class MvcApplication : System.Web.HttpApplication
@@ -30,7 +35,7 @@ To ensure that the application is configured for both Web API binding capabiliti
3035
}
3136
```
3237

33-
* Create a file named `WebApiConfig.cs` inside the `App_Start` folder and configure the default WebAPI routing convention.
38+
* Create a file named `WebApiConfig.cs` into the `App_Start` folder and configure the default Web API routing convention.
3439

3540
```
3641
public static class WebApiConfig
@@ -53,7 +58,7 @@ To ensure that the application is configured for both Web API binding capabiliti
5358

5459
## Adding a Web API Controller
5560

56-
To support writing and reading data using WebAPI endpoints, the {% if site.core %} `ControllerBase` {%else%} `ApiController` {% endif %} base class needs to be inherited for a given controller instance.
61+
To support writing and reading data using Web API endpoints, the {% if site.core %} `ControllerBase` {%else%} `ApiController` {% endif %} base class needs to be inherited for a given controller instance.
5762

5863
{% if site.core %}
5964
```
@@ -220,9 +225,9 @@ public class TaskController : System.Web.Http.ApiController
220225

221226
## Configuring the Scheduler DataSource for Web API Binding
222227

223-
To configure CRUD operations that support Web API Binding, explicitly add a `WebApi()` configuration method within the DataSource. {% if site.mvc %} From there, explicitly specify the WebAPI endpoints by using the `Url.HttpRouteUrl()` extension method. {% endif %}
228+
To enable the CRUD operations that support Web API Binding, explicitly add a `WebApi()` configuration method within the DataSource. {% if site.mvc %} Also, specify explicitly the Web API endpoints by using the `Url.HttpRouteUrl()` extension method. {% endif %}
224229

225-
> Note that a unique identifier for both the `Update` and `Delete` operations is passed as a [`RouteValueDictionary`]{% if site.core %}(https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.routing.routevaluedictionary?view=aspnetcore-7.0){% else %}(https://learn.microsoft.com/en-us/dotnet/api/system.web.routing.routevaluedictionary?view=netframework-4.8.1){% endif %} which is then processed on the server-side {% if site.core %}through the [`HttpMethodAttribute`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.routing.httpmethodattribute?view=aspnetcore-7.0).{% else %} as an Action Method argument.{% endif %}
230+
> Note that a unique identifier for both the `Update` and `Delete` operations is passed as a [`RouteValueDictionary`]{% if site.core %}(https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.routing.routevaluedictionary?view=aspnetcore-7.0){% else %}(https://learn.microsoft.com/en-us/dotnet/api/system.web.routing.routevaluedictionary?view=netframework-4.8.1){% endif %}, which is then processed on the server {% if site.core %}through the [`HttpMethodAttribute`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.routing.httpmethodattribute?view=aspnetcore-7.0).{% else %} as an Action Method argument.{% endif %}
226231
227232
{% if site.core %}
228233
```HtmlHelper
@@ -328,7 +333,6 @@ To configure CRUD operations that support Web API Binding, explicitly add a `Web
328333
```
329334
{% endif %}
330335

331-
332336
## See Also
333337

334338
* [Web API Binding by the Scheduler HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/scheduler/webapi)

docs-aspnet/html-helpers/scheduling/scheduler/how-to/custom-editor.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/custom-view.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/drag-and-drop.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/lock-edited-events-with-signalr-datasource-local-hub.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/scheduler-resource-editing.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/server-filtering.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/show-tooltip-with-additional-information-over-events.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs-aspnet/html-helpers/scheduling/scheduler/how-to/signalr-datasource-with-server-filtering.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)