From 23651178ece9aa5df9a572541897183d02abcb5e Mon Sep 17 00:00:00 2001 From: SaravanaPriya31 Date: Thu, 4 Apr 2024 12:51:42 +0530 Subject: [PATCH 1/5] 878526: commit --- .../EJ2_ASP.MVC/getting-started-with-server-backed.md | 9 ++++++++- .../getting-started-with-server-backed.md | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md index 7320774584..b07a04d17d 100644 --- a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md +++ b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md @@ -414,4 +414,11 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/ASP-NET-MVC-Get N> You can refer to our [ASP.NET MVC PDF Viewer](https://www.syncfusion.com/aspnet-mvc-ui-controls/pdf-viewer) feature tour page for its groundbreaking feature representations. You can also explore our [ASP.NET MVC PDF Viewer example](https://ej2.syncfusion.com/aspnetmvc/PdfViewer/Default#/material) to understand the core features of PDF Viewer. -N> When configuring the server-backed PDF viewer, it's essential to understand that there is no need to include the pdfium.js and pdfium.wasm files. Unlike the standalone PDF viewer, which relies on these files for local rendering, the server-backed PDF viewer fetches and renders PDFs directly from the server. Consequently, you can exclude the copy command for deployment process, as they are not required to load and display PDFs in this context. \ No newline at end of file +N> When configuring the server-backed PDF viewer, it's essential to understand that there is no need to include the pdfium.js and pdfium.wasm files. Unlike the standalone PDF viewer, which relies on these files for local rendering, the server-backed PDF viewer fetches and renders PDFs directly from the server. Consequently, you can exclude the copy command for deployment process, as they are not required to load and display PDFs in this context. + +N> For hosting the web service on the Linux platform, ensure to include the [SkiaSharp.NativeAssets.Linux](https://nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.88.6). Additionally, for AWS environments, utilize the following packages: + +| **Amazon Web Services (AWS)** |**NuGet package name** | +| --- | --- | +| AWS Lambda|[SkiaSharp.NativeAssets.Linux](https://nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.88.6)| +| AWS Elastic Beanstalk |[SkiaSharp.NativeAssets.Linux.NoDependencies v2.88.6](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/2.88.6)| \ No newline at end of file diff --git a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md index a24cb8ccc4..f8a79cb45a 100644 --- a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md +++ b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md @@ -423,6 +423,13 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/ASP-NET-Core-Ge N> When configuring the server-backed PDF viewer, it's essential to understand that there is no need to include the pdfium.js and pdfium.wasm files. Unlike the standalone PDF viewer, which relies on these files for local rendering, the server-backed PDF viewer fetches and renders PDFs directly from the server. Consequently, you can exclude the copy command for deployment process, as they are not required to load and display PDFs in this context. +N> For hosting the web service on the Linux platform, ensure to include the [SkiaSharp.NativeAssets.Linux](https://nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.88.6). Additionally, for AWS environments, utilize the following packages: + +| **Amazon Web Services (AWS)** |**NuGet package name** | +| --- | --- | +| AWS Lambda|[SkiaSharp.NativeAssets.Linux](https://nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.88.6)| +| AWS Elastic Beanstalk |[SkiaSharp.NativeAssets.Linux.NoDependencies v2.88.6](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/2.88.6)| + ## See also * [Getting Started with Syncfusion ASP.NET Core using Razor Pages](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages/) From ad6252c1312313bed12519566d21d70798a3c2ad Mon Sep 17 00:00:00 2001 From: SaravanaPriya31 Date: Thu, 4 Apr 2024 13:27:26 +0530 Subject: [PATCH 2/5] 878526: commit --- .../pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md | 2 +- .../EJ2_ASP.NETCORE/getting-started-with-server-backed.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md index b07a04d17d..b2e58fb01f 100644 --- a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md +++ b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started-with-server-backed.md @@ -4,7 +4,7 @@ title: Getting Started with EJ2 ASP.NET MVC PDF Viewer Control | Syncfusion description: Learn how to getting started with PDF Viewer control in ASP.NET MVC application. You can view and comment on PDFs in ease and also can fill form fields. platform: ej2-asp-core-mvc control: PDF Viewer -publishingplatform: ej2-asp-core-mvc +publishingplatform: ##Platform_Name## documentation: ug --- diff --git a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md index f8a79cb45a..2b8c94268c 100644 --- a/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md +++ b/ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started-with-server-backed.md @@ -4,7 +4,7 @@ title: Getting Started with EJ2 ASP.NET Core PDF Viewer Control | Syncfusion description: Learn how to getting started with PDF Viewer control in ASP.NET Core application. You can view and comment on PDFs in ease and also can fill forms. platform: ej2-asp-core-mvc control: PDF Viewer -publishingplatform: ej2-asp-core-mvc +publishingplatform: ##Platform_Name## documentation: ug --- From 62d3fed2ec95d0336491930d5d7f7130c7d33f2d Mon Sep 17 00:00:00 2001 From: "AzureAD\\AkshayaArivoli" Date: Fri, 3 May 2024 18:08:42 +0530 Subject: [PATCH 3/5] 882104 - Add UG for scaling in collaborative editing --- .../document-editor/collaborative-editing.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/ej2-asp-core-mvc/document-editor/collaborative-editing.md b/ej2-asp-core-mvc/document-editor/collaborative-editing.md index f7d67b5d76..2258e789ce 100644 --- a/ej2-asp-core-mvc/document-editor/collaborative-editing.md +++ b/ej2-asp-core-mvc/document-editor/collaborative-editing.md @@ -338,6 +338,45 @@ private ActionInfo AddOperationsToTable(ActionInfo action) } ``` +## How to perform Scaling in Collaborative Editing. + +As the number of user increases, maintaining responsiveness and performance becomes challenging. Scaling tackles this by distributing the workload across resources. You can scale the collaborative editing application using either ```Azure SignalR service or Redis backplane service``` + +### 1. Scaling with Azure SignalR + +Azure SignalR Service is a scalable, managed service for real-time communication in web applications. It enables real-time messaging between web clients (browsers) and your server-side application(across multiple servers). + +Below is a code snippet to configure Azure SignalR in an ASP.NET Core application using the ```AddAzureSignalR``` method + +```csharp +builder.Services.AddSignalR() .AddAzureSignalR("", options => { +// Specify the channel name +options.Channels.Add("document-editor"); + }); +``` + +### 2. Scaling with Redis backplane + +Using a Redis backplane, you achieve horizontal scaling of your SignalR application. The SignalR leverages Redis to efficiently broadcast messages across multiple servers. This allows your application to handle large user bases with minimal latency. + +In the SignalR app, install the following NuGet package: +* ` Microsoft.AspNetCore.SignalR.StackExchangeRedis` + +Below is a code snippet to configure Redis backplane in an ASP.NET Core application using the ```AddStackExchangeRedis ``` method + +```csharp +builder.Services.AddSignalR().AddStackExchangeRedis(""); +``` +Configure options as needed: + +The following example shows how to add a channel prefix in the ConfigurationOptions object. + +```csharp +builder.Services.AddDistributedMemoryCache().AddSignalR().AddStackExchangeRedis(connectionString, options => + { + options.Configuration.ChannelPrefix = "document-editor"; + }); +``` Full version of the code discussed about can be found in below GitHub location. From 7557a2a295908d49c5d9a69791f8e8010667554e Mon Sep 17 00:00:00 2001 From: "AzureAD\\AkshayaArivoli" Date: Mon, 6 May 2024 11:59:14 +0530 Subject: [PATCH 4/5] 882104 - Spell check error --- ej2-asp-core-mvc/document-editor/collaborative-editing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ej2-asp-core-mvc/document-editor/collaborative-editing.md b/ej2-asp-core-mvc/document-editor/collaborative-editing.md index 2258e789ce..3b37c5d1f3 100644 --- a/ej2-asp-core-mvc/document-editor/collaborative-editing.md +++ b/ej2-asp-core-mvc/document-editor/collaborative-editing.md @@ -296,7 +296,7 @@ private ActionInfo AddOperationsToTable(ActionInfo action) #### Add Web API to get previous operation as a backup to get lost operations -On the client side, messages broadcasted using SignalR may be received in a different order, or some operations may be missed due to network issues. In these cases, we need a backup method to retrieve missing records from the database. +On the client side, messages broadcast using SignalR may be received in a different order, or some operations may be missed due to network issues. In these cases, we need a backup method to retrieve missing records from the database. Using the following method, we can retrieve all operations after the last successful client-synced version and return all missing operations to the requesting client. ```csharp @@ -305,7 +305,7 @@ public async Task UpdateAction([FromBody] ActionInfo param) try { ActionInfo modifiedAction = AddOperationsToTable(param); - //After transformation broadcast changes to all users in the gropu + //After transformation broadcast changes to all users in the group await _hubContext.Clients.Group(param.RoomName).SendAsync("dataReceived", "action", modifiedAction); return modifiedAction; } @@ -381,4 +381,4 @@ builder.Services.AddDistributedMemoryCache().AddSignalR().AddStackExchangeRedis( Full version of the code discussed about can be found in below GitHub location. -Github Example: [`Collaborative editing examples`](https://github.com/SyncfusionExamples/EJ2-Document-Editor-Collabrative-Editing) +GitHub Example: [`Collaborative editing examples`](https://github.com/SyncfusionExamples/EJ2-Document-Editor-Collabrative-Editing) From c75be9f5598af97d512eb546b4ea9d2405ed0c8d Mon Sep 17 00:00:00 2001 From: Yvone-Atieno <95272306+Yvone-Atieno@users.noreply.github.com> Date: Fri, 3 May 2024 10:56:20 +0300 Subject: [PATCH 5/5] SEO-182846 ASP.NET Core MVC Page with Redirect --- ej2-asp-core-mvc/spreadsheet/rows-and-columns.md | 2 +- ej2-asp-core-mvc/toast/EJ2_ASP.MVC/timeout.md | 6 +++--- ej2-asp-core-mvc/tooltip/animation.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ej2-asp-core-mvc/spreadsheet/rows-and-columns.md b/ej2-asp-core-mvc/spreadsheet/rows-and-columns.md index 88c1150201..401d0ba922 100644 --- a/ej2-asp-core-mvc/spreadsheet/rows-and-columns.md +++ b/ej2-asp-core-mvc/spreadsheet/rows-and-columns.md @@ -1,6 +1,6 @@ --- layout: post -title: Rows And Columns in ##Platform_Name## Syncfusion Spreadsheet Component +title: Rows and columns in ##Platform_Name## Spreadsheet | Syncfusion description: Learn here all about Rows And Columns in Syncfusion ##Platform_Name## Spreadsheet component of Syncfusion Essential JS 2 and more. platform: ej2-asp-core-mvc control: Rows And Columns diff --git a/ej2-asp-core-mvc/toast/EJ2_ASP.MVC/timeout.md b/ej2-asp-core-mvc/toast/EJ2_ASP.MVC/timeout.md index 328081247b..01c2ce25a6 100644 --- a/ej2-asp-core-mvc/toast/EJ2_ASP.MVC/timeout.md +++ b/ej2-asp-core-mvc/toast/EJ2_ASP.MVC/timeout.md @@ -1,6 +1,6 @@ --- layout: post -title: Timeout in ##Platform_Name## Toast Component +title: Timeout in ##Platform_Name## Toast Component | Syncfusion description: Learn here all about Timeout in Syncfusion ##Platform_Name## Toast component of Syncfusion Essential JS 2 and more. platform: ej2-asp-core-mvc control: Timeout @@ -9,7 +9,7 @@ documentation: ug --- -# Time out +# Time out in Toast Control The toast can be expired based on the [`TimeOut`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Notifications.Toast.html#Syncfusion_EJ2_Notifications_Toast_TimeOut) property. The toast can live till the time out reaches without user interaction, a time out value is considered as a millisecond. @@ -75,4 +75,4 @@ You can prevent auto hiding in a toast as visible like static by setting zero (` ## See Also -* [How to close the toast with click/tab](./how-to/close-the-toast-with-click-tap/) +* [How to close the toast with click/tab](./how-to/close-the-toast-with-click-tap) diff --git a/ej2-asp-core-mvc/tooltip/animation.md b/ej2-asp-core-mvc/tooltip/animation.md index 0b32130d79..b9f9d78bd4 100644 --- a/ej2-asp-core-mvc/tooltip/animation.md +++ b/ej2-asp-core-mvc/tooltip/animation.md @@ -1,7 +1,7 @@ --- layout: post title: Animation in ##Platform_Name## Tooltip Control | Syncfusion -description: Learn here all about Animation in Syncfusion ##Platform_Name## Tooltip component of Syncfusion Essential JS 2 and more. +description: Learn here all about animation support in Syncfusion ##Platform_Name## Tooltip component, its elements and more. platform: ej2-asp-core-mvc control: Animation publishingplatform: ##Platform_Name##