diff --git a/ej2-asp-core-mvc/EJ2_ASP.NETCORE/system-requirements.md b/ej2-asp-core-mvc/EJ2_ASP.NETCORE/system-requirements.md index f433cfafa1..6ad654c4e6 100644 --- a/ej2-asp-core-mvc/EJ2_ASP.NETCORE/system-requirements.md +++ b/ej2-asp-core-mvc/EJ2_ASP.NETCORE/system-requirements.md @@ -16,7 +16,8 @@ To get started with ASP.NET Core application, ensure the following software to b ASP.NET Core Applications can be developed using one of the following IDEs. You can also develop using [.NET CLI](https://docs.microsoft.com/en-us/dotnet/core/tools/) without below IDEs. -* [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) +* [Visual Studio 2026](https://visualstudio.microsoft.com/downloads/#visual-studio-professional-2026) +* [Visual Studio 2022](https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2022-and-other-products) * [Visual Studio 2019](https://visualstudio.microsoft.com/vs/older-downloads/) * [Visual Studio Code](https://code.visualstudio.com/) @@ -24,13 +25,15 @@ ASP.NET Core Applications can be developed using one of the following IDEs. You One of the the following .NET SDK is required to develop and run the Syncfusion® UI controls for ASP.NET Core application. +* [.NET 10.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) * [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) * [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) * [.NET Core SDK 3.1](https://dotnet.microsoft.com/en-us/download/dotnet/3.1) * [.NET Core SDK 2.0](https://dotnet.microsoft.com/en-us/download/dotnet/2.0) If you are planning to use Visual Studio to develop ASP.NET Core Applications. +* .NET 10.0 requires Visual Studio 2026 18.0.0 or later. * .NET 9.0 requires Visual Studio 2022 17.12.0 or later. * .NET 8.0 requires Visual Studio 2022 17.8.0 or later. * .NET Core SDK 3.1 requires Visual Studio 2019 16.4 or later. -* .NET Core SDK 2.0 requires Visual Studio 2017 15.7 or later. \ No newline at end of file +* .NET Core SDK 2.0 requires Visual Studio 2017 15.7 or later. diff --git a/ej2-asp-core-mvc/Release-notes/31.2.10.md b/ej2-asp-core-mvc/Release-notes/31.2.10.md new file mode 100644 index 0000000000..476b38ba16 --- /dev/null +++ b/ej2-asp-core-mvc/Release-notes/31.2.10.md @@ -0,0 +1,98 @@ +--- +title: Essential Studio for ##Platform_Name## Release Notes - v31.2.10 +description: Learn here about the controls in the Essential Studio for ##Platform_Name## Weekly Release - Release Notes - v31.2.10 +platform: ej2-asp-core-mvc +documentation: ug +--- + +# Essential Studio for ##Platform_Name## - v31.2.10 Release Notes + +{% include release-info.html date="November 12, 2025" version="v31.2.10" passed="64195" failed="0" %} + +{% directory path: _includes/release-notes/v31.2.10 %} + +{% include {{file.url}} %} + +{% enddirectory %} + +## Test Results + +| Component Name | Test Cases | Passed | Failed | Remarks | +|---------------|------------|--------|--------|---------| +| 3D Chart | 232 | 232 | 0 | All Passed | +| 3D Circular Chart | 374 | 374 | 0 | All Passed | +| Accordion | 205 | 205 | 0 | All Passed | +| AI Assist View | 432 | 432 | 0 | All Passed | +| App Bar | 67 | 67 | 0 | All Passed | +| AutoComplete | 200 | 200 | 0 | All Passed | +| Breadcrumb | 160 | 160 | 0 | All Passed | +| Bullet Chart | 168 | 168 | 0 | All Passed | +| Button | 145 | 145 | 0 | All Passed | +| ButtonGroup | 120 | 120 | 0 | All Passed | +| calendar | 177 | 177 | 0 | All Passed | +| Carousel | 61 | 61 | 0 | All Passed | +| Chart | 4958 | 4958 | 0 | All Passed | +| Chat UI | 500 | 500 | 0 | All Passed | +| Checkbox | 37 | 37 | 0 | All Passed | +| CircularGauge | 429 | 429 | 0 | All Passed | +| ColorPicker | 130 | 130 | 0 | All Passed | +| Combo Box | 139 | 139 | 0 | All Passed | +| Common | 904 | 904 | 0 | All Passed | +| Context Menu | 105 | 105 | 0 | All Passed | +| Data Grid | 3670 | 3670 | 0 | All Passed | +| Date Picker | 426 | 426 | 0 | All Passed | +| Date Range Picker | 519 | 519 | 0 | All Passed | +| Date Time Picker | 324 | 324 | 0 | All Passed | +| Diagram | 12813 | 12813 | 0 | All Passed | +| Dialog | 63 | 63 | 0 | All Passed | +| DropDown Button | 132 | 132 | 0 | All Passed | +| Dropdown List | 194 | 194 | 0 | All Passed | +| Dropdown Tree | 104 | 104 | 0 | All Passed | +| File Manager | 2188 | 2188 | 0 | All Passed | +| Floating Action Button | 174 | 174 | 0 | All Passed | +| Gantt | 3530 | 3530 | 0 | All Passed | +| HeatMap Chart | 635 | 635 | 0 | All Passed | +| Image Editor | 1653 | 1653 | 0 | All Passed | +| In-place Editor | 642 | 642 | 0 | All Passed | +| Kanban | 268 | 268 | 0 | All Passed | +| LinearGauge | 426 | 426 | 0 | All Passed | +| Listbox | 115 | 115 | 0 | All Passed | +| ListView | 84 | 84 | 0 | All Passed | +| Maps | 1368 | 1368 | 0 | All Passed | +| Mention | 35 | 35 | 0 | All Passed | +| Menu | 187 | 187 | 0 | All Passed | +| Multicolumn Combo Box | 254 | 254 | 0 | All Passed | +| Multiselect Dropdown | 437 | 437 | 0 | All Passed | +| OTP Input | 240 | 240 | 0 | All Passed | +| Pivot Table | 5303 | 5303 | 0 | All Passed | +| Progress Bar | 81 | 81 | 0 | All Passed | +| Progress Button | 132 | 132 | 0 | All Passed | +| Query Builder | 480 | 480 | 0 | All Passed | +| RadioButton | 45 | 45 | 0 | All Passed | +| RangeNavigator | 140 | 140 | 0 | All Passed | +| Rating | 198 | 198 | 0 | All Passed | +| Ribbon | 623 | 623 | 0 | All Passed | +| Rich Text Editor | 5100 | 5100 | 0 | All Passed | +| schedule | 4644 | 4644 | 0 | All Passed | +| sidebar | 88 | 88 | 0 | All Passed | +| Signature | 105 | 105 | 0 | All Passed | +| Skeleton | 144 | 144 | 0 | All Passed | +| Slider | 147 | 147 | 0 | All Passed | +| SmithChart | 49 | 49 | 0 | All Passed | +| Sparkline | 58 | 58 | 0 | All Passed | +| Speech To Text | 200 | 200 | 0 | All Passed | +| Speed Dial | 366 | 366 | 0 | All Passed | +| Split Button | 144 | 144 | 0 | All Passed | +| Stepper | 91 | 91 | 0 | All Passed | +| Stock Chart | 533 | 533 | 0 | All Passed | +| Tab | 69 | 69 | 0 | All Passed | +| Text Area | 107 | 107 | 0 | All Passed | +| TextBox | 58 | 58 | 0 | All Passed | +| Time Picker | 180 | 180 | 0 | All Passed | +| Timeline | 213 | 213 | 0 | All Passed | +| Toast | 139 | 139 | 0 | All Passed | +| Toolbar | 115 | 115 | 0 | All Passed | +| ToolTip | 136 | 136 | 0 | All Passed | +| TreeGrid | 3787 | 3787 | 0 | All Passed | +| Treemap | 326 | 326 | 0 | All Passed | +| Treeview | 370 | 370 | 0 | All Passed | \ No newline at end of file diff --git a/ej2-asp-core-mvc/Release-notes/31.2.9.md b/ej2-asp-core-mvc/Release-notes/31.2.9.md new file mode 100644 index 0000000000..67f1971431 --- /dev/null +++ b/ej2-asp-core-mvc/Release-notes/31.2.9.md @@ -0,0 +1,16 @@ +--- +title: Essential Studio for ##Platform_Name## Release Notes +description: Learn here about the controls in the Essential Studio for ##Platform_Name## 2025 Volume 3 SP2 Release - Release Notes +platform: ej2-asp-core-mvc +documentation: ug +--- + +# Essential Studio for ##Platform_Name## - v31.2.9 Release Notes + +{% include release-info.html date="November 12, 2025" version="v31.2.9" %} + +{% directory path: _includes/release-notes/v31.2.9 %} + +{% include {{file.url}} %} + +{% enddirectory %} \ No newline at end of file diff --git a/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md b/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md deleted file mode 100644 index dcac81babd..0000000000 --- a/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -description: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -platform: ej2-asp-core-mvc -documentation: ug ---- - -# Essential Studio®##Platform_Name## Test Automation Results - -| Component Name | Test Cases | Passed | Failed | Remarks | -|---------------|------------|--------|--------|---------| -| Accordion | 109 | 109 | 0 | Fully Passed | -| AI Assist View | 430 | 430 | 0 | Fully Passed | -| App Bar | 50 | 50 | 0 | Fully Passed | -| Autocomplete | 482 | 482 | 0 | Fully Passed | -| Avatar | 1 | 1 | 0 | Fully Passed | -| Breadcrumb | 450 | 450 | 0 | Fully Passed | -| Bullet Chart | 164 | 164 | 0 | Fully Passed | -| Button | 721 | 721 | 0 | Fully Passed | -| Button Group | 420 | 420 | 0 | Fully Passed | -| Calendar | 177 | 177 | 0 | Fully Passed | -| Carousel | 60 | 60 | 0 | Fully Passed | -| Chart | 4442 | 4442 | 0 | Fully Passed | -| Checkbox | 120 | 120 | 0 | Fully Passed | -| Chips | 45 | 45 | 0 | Fully Passed | -| Circular Gauge | 281 | 281 | 0 | Fully Passed | -| Color Picker | 225 | 225 | 0 | Fully Passed | -| Combo Box | 365 | 365 | 0 | Fully Passed | -| Common | 1739 | 1739 | 0 | Fully Passed | -| Context Menu | 150 | 150 | 0 | Fully Passed | -| Dashboard Layout | 59 | 59 | 0 | Fully Passed | -| Data Grid | 5634 | 5634 | 0 | Fully Passed | -| Date Picker | 378 | 378 | 0 | Fully Passed | -| Date Range Picker | 417 | 417 | 0 | Fully Passed | -| Date Time Picker | 321 | 321 | 0 | Fully Passed | -| Dialog | 1 | 1 | 0 | Fully Passed | -| Dropdown Button | 240 | 240 | 0 | Fully Passed | -| Dropdown List | 437 | 437 | 0 | Fully Passed | -| Dropdown Tree | 159 | 159 | 0 | Fully Passed | -| File Manager | 2174 | 2174 | 0 | Fully Passed | -| Floating Action Button | 64 | 64 | 0 | Fully Passed | -| Gantt Chart | 2758 | 2758 | 0 | Fully Passed | -| Heat Map | 478 | 478 | 0 | Fully Passed | -| Image Editor | 1583 | 1583 | 0 | Fully Passed | -| Inplace Editor | 620 | 620 | 0 | Fully Passed | -| Kanban | 65 | 65 | 0 | Fully Passed | -| Linear Gauge | 308 | 308 | 0 | Fully Passed | -| List Box | 350 | 350 | 0 | Fully Passed | -| List View | 113 | 113 | 0 | Fully Passed | -| Map | 1126 | 1126 | 0 | Fully Passed | -| Mention | 125 | 125 | 0 | Fully Passed | -| Menu | 335 | 335 | 0 | Fully Passed | -| Message | 7 | 7 | 0 | Fully Passed | -| Multicolumn Combo Box | 254 | 254 | 0 | Fully Passed | -| Multiselect Dropdown | 784 | 784 | 0 | Fully Passed | -| OTP Input | 156 | 156 | 0 | Fully Passed | -| Pivot Table | 3448 | 3448 | 0 | Fully Passed | -| Progress Bar | 78 | 78 | 0 | Fully Passed | -| Progress Button | 660 | 660 | 0 | Fully Passed | -| Query Builder | 1080 | 1080 | 0 | Fully Passed | -| Radio Button | 181 | 181 | 0 | Fully Passed | -| Range Navigator | 138 | 138 | 0 | Fully Passed | -| Rating | 121 | 121 | 0 | Fully Passed | -| Ribbon | 1848 | 1848 | 0 | Fully Passed | -| Rich Text Editor | 3875 | 3875 | 0 | Fully Passed | -| Schedule | 4576 | 4576 | 0 | Fully Passed | -| Sidebar | 194 | 194 | 0 | Fully Passed | -| Signature | 200 | 200 | 0 | Fully Passed | -| Skeleton | 44 | 44 | 0 | Fully Passed | -| Slider | 195 | 195 | 0 | Fully Passed | -| Smith Chart | 49 | 49 | 0 | Fully Passed | -| Sparkline Chart | 57 | 57 | 0 | Fully Passed | -| Speed Dial | 366 | 366 | 0 | Fully Passed | -| Split Button | 240 | 240 | 0 | Fully Passed | -| Splitter | 13 | 13 | 0 | Fully Passed | -| Spreadsheet | 8515 | 8515 | 0 | Fully Passed | -| Stepper | 250 | 250 | 0 | Fully Passed | -| Stock Chart | 677 | 677 | 0 | Fully Passed | -| Switch | 122 | 122 | 0 | Fully Passed | -| Tab | 81 | 81 | 0 | Fully Passed | -| Text Area | 198 | 198 | 0 | Fully Passed | -| Text Box | 36 | 36 | 0 | Fully Passed | -| Time Picker | 176 | 176 | 0 | Fully Passed | -| Timeline | 213 | 213 | 0 | Fully Passed | -| Toast | 47 | 47 | 0 | Fully Passed | -| Toolbar | 131 | 131 | 0 | Fully Passed | -| Tooltip | 148 | 148 | 0 | Fully Passed | -| Tree Grid | 6243 | 6243 | 0 | Fully Passed | -| Tree Map | 210 | 210 | 0 | Fully Passed | -| Tree View | 709 | 709 | 0 | Fully Passed | - diff --git a/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md b/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md deleted file mode 100644 index dcac81babd..0000000000 --- a/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -description: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -platform: ej2-asp-core-mvc -documentation: ug ---- - -# Essential Studio®##Platform_Name## Test Automation Results - -| Component Name | Test Cases | Passed | Failed | Remarks | -|---------------|------------|--------|--------|---------| -| Accordion | 109 | 109 | 0 | Fully Passed | -| AI Assist View | 430 | 430 | 0 | Fully Passed | -| App Bar | 50 | 50 | 0 | Fully Passed | -| Autocomplete | 482 | 482 | 0 | Fully Passed | -| Avatar | 1 | 1 | 0 | Fully Passed | -| Breadcrumb | 450 | 450 | 0 | Fully Passed | -| Bullet Chart | 164 | 164 | 0 | Fully Passed | -| Button | 721 | 721 | 0 | Fully Passed | -| Button Group | 420 | 420 | 0 | Fully Passed | -| Calendar | 177 | 177 | 0 | Fully Passed | -| Carousel | 60 | 60 | 0 | Fully Passed | -| Chart | 4442 | 4442 | 0 | Fully Passed | -| Checkbox | 120 | 120 | 0 | Fully Passed | -| Chips | 45 | 45 | 0 | Fully Passed | -| Circular Gauge | 281 | 281 | 0 | Fully Passed | -| Color Picker | 225 | 225 | 0 | Fully Passed | -| Combo Box | 365 | 365 | 0 | Fully Passed | -| Common | 1739 | 1739 | 0 | Fully Passed | -| Context Menu | 150 | 150 | 0 | Fully Passed | -| Dashboard Layout | 59 | 59 | 0 | Fully Passed | -| Data Grid | 5634 | 5634 | 0 | Fully Passed | -| Date Picker | 378 | 378 | 0 | Fully Passed | -| Date Range Picker | 417 | 417 | 0 | Fully Passed | -| Date Time Picker | 321 | 321 | 0 | Fully Passed | -| Dialog | 1 | 1 | 0 | Fully Passed | -| Dropdown Button | 240 | 240 | 0 | Fully Passed | -| Dropdown List | 437 | 437 | 0 | Fully Passed | -| Dropdown Tree | 159 | 159 | 0 | Fully Passed | -| File Manager | 2174 | 2174 | 0 | Fully Passed | -| Floating Action Button | 64 | 64 | 0 | Fully Passed | -| Gantt Chart | 2758 | 2758 | 0 | Fully Passed | -| Heat Map | 478 | 478 | 0 | Fully Passed | -| Image Editor | 1583 | 1583 | 0 | Fully Passed | -| Inplace Editor | 620 | 620 | 0 | Fully Passed | -| Kanban | 65 | 65 | 0 | Fully Passed | -| Linear Gauge | 308 | 308 | 0 | Fully Passed | -| List Box | 350 | 350 | 0 | Fully Passed | -| List View | 113 | 113 | 0 | Fully Passed | -| Map | 1126 | 1126 | 0 | Fully Passed | -| Mention | 125 | 125 | 0 | Fully Passed | -| Menu | 335 | 335 | 0 | Fully Passed | -| Message | 7 | 7 | 0 | Fully Passed | -| Multicolumn Combo Box | 254 | 254 | 0 | Fully Passed | -| Multiselect Dropdown | 784 | 784 | 0 | Fully Passed | -| OTP Input | 156 | 156 | 0 | Fully Passed | -| Pivot Table | 3448 | 3448 | 0 | Fully Passed | -| Progress Bar | 78 | 78 | 0 | Fully Passed | -| Progress Button | 660 | 660 | 0 | Fully Passed | -| Query Builder | 1080 | 1080 | 0 | Fully Passed | -| Radio Button | 181 | 181 | 0 | Fully Passed | -| Range Navigator | 138 | 138 | 0 | Fully Passed | -| Rating | 121 | 121 | 0 | Fully Passed | -| Ribbon | 1848 | 1848 | 0 | Fully Passed | -| Rich Text Editor | 3875 | 3875 | 0 | Fully Passed | -| Schedule | 4576 | 4576 | 0 | Fully Passed | -| Sidebar | 194 | 194 | 0 | Fully Passed | -| Signature | 200 | 200 | 0 | Fully Passed | -| Skeleton | 44 | 44 | 0 | Fully Passed | -| Slider | 195 | 195 | 0 | Fully Passed | -| Smith Chart | 49 | 49 | 0 | Fully Passed | -| Sparkline Chart | 57 | 57 | 0 | Fully Passed | -| Speed Dial | 366 | 366 | 0 | Fully Passed | -| Split Button | 240 | 240 | 0 | Fully Passed | -| Splitter | 13 | 13 | 0 | Fully Passed | -| Spreadsheet | 8515 | 8515 | 0 | Fully Passed | -| Stepper | 250 | 250 | 0 | Fully Passed | -| Stock Chart | 677 | 677 | 0 | Fully Passed | -| Switch | 122 | 122 | 0 | Fully Passed | -| Tab | 81 | 81 | 0 | Fully Passed | -| Text Area | 198 | 198 | 0 | Fully Passed | -| Text Box | 36 | 36 | 0 | Fully Passed | -| Time Picker | 176 | 176 | 0 | Fully Passed | -| Timeline | 213 | 213 | 0 | Fully Passed | -| Toast | 47 | 47 | 0 | Fully Passed | -| Toolbar | 131 | 131 | 0 | Fully Passed | -| Tooltip | 148 | 148 | 0 | Fully Passed | -| Tree Grid | 6243 | 6243 | 0 | Fully Passed | -| Tree Map | 210 | 210 | 0 | Fully Passed | -| Tree View | 709 | 709 | 0 | Fully Passed | - diff --git a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md index 9f40bd899c..cb80d2ec7c 100644 --- a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md +++ b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md @@ -24,7 +24,18 @@ Before integrating `Speech-to-Text`, ensure the following: ## Configure Speech-to-Text -To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorporate the Web Speech API. The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens for microphone input, transcribes spoken words, and updates the AI AssistView's editable footer with the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. +To enable Speech-to-Text functionality in the ASP.NET MVC AssistView control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the AssistView’s editable footer using the [FooterTemplate](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.InteractiveChat.AIAssistView.html#Syncfusion_EJ2_InteractiveChat_AIAssistView_FooterTemplate) property to display the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. + +### Configuration Options + +* **[`Lang`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`AllowInterimResults`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -37,6 +48,14 @@ To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorp  +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#error-handling ) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + ## See Also * [Text-to-Speech](./text-to-speech) diff --git a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md index 5401f41fc3..347a5c99b0 100644 --- a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md +++ b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md @@ -24,7 +24,18 @@ Before integrating `Speech-to-Text`, ensure the following: ## Configure Speech-to-Text -To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorporate the Web Speech API. The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens for microphone input, transcribes spoken words, and updates the AI AssistView's editable footer with the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. +To enable Speech-to-Text functionality in the ASP.NET Core AssistView control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the AssistView’s editable footer using the [footerTemplate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.InteractiveChat.AIAssistView.html#Syncfusion_EJ2_InteractiveChat_AIAssistView_FooterTemplate) property to display the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. + +### Configuration Options + +* **[`lang`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`allowInterimResults`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -37,6 +48,14 @@ To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorp  +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#error-handling) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + ## See Also * [Text-to-Speech](./text-to-speech) diff --git a/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md new file mode 100644 index 0000000000..20f931a708 --- /dev/null +++ b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md @@ -0,0 +1,51 @@ +--- +layout: post +title: Speech-to-Text With ##Platform_Name## Chat UI Control | Syncfusion +description: Checkout and learn about configuration of Speech-to-Text with Azure OpenAI in ##Platform_Name## Chat UI control of Syncfusion Essential JS 2 and more. +platform: ej2-asp-core-mvc +control: Azure Open AI +publishingplatform: ##Platform_Name## +documentation: ug +--- + +# Speech-to-Text in ASP.NET MVC Chat UI + +The Syncfusion ASP.NET MVC Chat UI control integrates `Speech-to-Text` functionality through the browser's [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API). This enables the conversion of spoken words into text using the device's microphone, allowing users to interact with the Chat UI through voice input. + +## Configure Speech-to-Text + +To enable Speech-to-Text functionality in the ASP.NET MVC Chat UI control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the Chat UI’s editable footer using the [FooterTemplate](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.InteractiveChat.ChatUI.html#Syncfusion_EJ2_InteractiveChat_ChatUI_FooterTemplate) property to display the transcribed text. Once the transcription appears in the footer, users can send it as a message to others. + +### Configuration Options + +* **[`Lang`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`AllowInterimResults`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. + +{% tabs %} +{% highlight razor tabtitle="CSHTML" %} +{% include code-snippet/chat-ui/stt/razor %} +{% endhighlight %} +{% highlight c# tabtitle="SpeechToText.cs" %} +{% include code-snippet/chat-ui/stt/speechtotext.cs %} +{% endhighlight %} +{% endtabs %} + + + +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#error-handling ) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + +## See Also + +* [Messages](./messages) diff --git a/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md new file mode 100644 index 0000000000..95612f2411 --- /dev/null +++ b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md @@ -0,0 +1,51 @@ +--- +layout: post +title: Speech-to-Text With ##Platform_Name## Chat UI Control | Syncfusion +description: Checkout and learn about configuration of Speech-to-Text with Azure OpenAI in ##Platform_Name## Chat UI control of Syncfusion Essential JS 2 and more. +platform: ej2-asp-core-mvc +control: Azure Open AI +publishingplatform: ##Platform_Name## +documentation: ug +--- + +# Speech-to-Text in ASP.NET Core Chat UI + +The Syncfusion ASP.NET Core Chat UI control integrates `Speech-to-Text` functionality through the browser's [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API). This enables the conversion of spoken words into text using the device's microphone, allowing users to interact with the Chat UI through voice input. + +## Configure Speech-to-Text + +To enable Speech-to-Text functionality in the ASP.NET Core Chat UI control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the Chat UI’s editable footer using the [footerTemplate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.InteractiveChat.ChatUI.html#Syncfusion_EJ2_InteractiveChat_ChatUI_FooterTemplate) property to display the transcribed text. Once the transcription appears in the footer, users can send it as a message to others. + +### Configuration Options + +* **[`lang`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`allowInterimResults`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. + +{% tabs %} +{% highlight razor tabtitle="CSHTML" %} +{% include code-snippet/chat-ui/stt/tagHelper %} +{% endhighlight %} +{% highlight c# tabtitle="Gemini.cs" %} +{% include code-snippet/chat-ui/stt/speechtotext.cs %} +{% endhighlight %} +{% endtabs %} + + + +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#error-handling) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + +## See Also + +* [Messages](./messages) diff --git a/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png b/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png new file mode 100644 index 0000000000..215da92a78 Binary files /dev/null and b/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png differ diff --git a/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor b/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor new file mode 100644 index 0000000000..e057e9407f --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor @@ -0,0 +1,144 @@ +@using Syncfusion.EJ2.InteractiveChat; +@using Newtonsoft.Json; + +