From faa3c8f04d574c3fc51bae7f95fc7784c90f05ec Mon Sep 17 00:00:00 2001 From: Backiaraj Date: Fri, 8 May 2026 17:27:31 +0530 Subject: [PATCH 1/4] Updated readme file --- README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 62 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5265293..b4c2a49 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,77 @@ -# Syncfusion Blazor Server Side application on Electron +# Blazor Electron App +A demonstration of integrating [Syncfusion® Blazor components](https://www.syncfusion.com/blazor-components) with the **Electron** framework to build modern desktop applications. This repository includes samples for .NET 3.1, .NET 6, and .NET 10.0 with full cross-platform support (Windows, macOS, Linux). + +## Overview + +This project showcases how to build robust desktop applications by combining: + +- **Blazor Server** - For building interactive web-based UIs using C# and Razor components +- **Electron** - For packaging and deploying as native desktop applications +- **Syncfusion Blazor Components** - For rich, enterprise-grade UI controls including grids, charts, and more + +## Features + +- **Desktop-ready** - Seamless Electron integration for native app experience +- **Syncfusion UI components** - Pre-configured with Syncfusion Blazor Grid and Themes +- **Cross-platform** - Build for Windows, macOS, and Linux (x64, ARM64) +- **Modern Blazor** - Interactive server rendering and real-time component updates +- **Sample pages** - Counter, Weather, Navigation, and Error handling examples ## Prerequisites -* [NET Core SDK 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) or [.NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) +Before you get started, ensure you have the following installed: -* [Node.js](https://nodejs.org/en/) +- [.NET SDK](https://dotnet.microsoft.com/download) + - [.NET Core SDK 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) + - [.NET SDK 6.0](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) + - [.NET SDK 10.0](https://dotnet.microsoft.com/download/dotnet) +- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or later +- [Visual Studio Code](https://code.visualstudio.com/) +- [Node.js](https://nodejs.org) (v14 or later) - Required by ElectronNET -## Running the application +## Getting Started -* Open command prompt and clone the repository using below command line. +### Clone the Repository -``` +```bash git clone https://github.com/SyncfusionExamples/blazor-electron-app +cd blazor-electron-app ``` -* Navigate into application .csproj folder and run the application using below command line. +### Choose Your .NET Version + +Navigate to your preferred .NET version folder: + +```bash +# For .NET 10.0 +cd NET10 +# For .NET 6.0 +cd NET6 + +# For .NET 3.1 +cd NET3.1 ``` -cd blazor-electron-app -cd NET3.1 [for .NET 3.1 application] / cd NET6 [for .NET 6.0 application] -dotnet electronize start + +### Run with Visual Studio + +1. Open the solution file using Visual Studio 2022 or later. +2. Restore the NuGet packages by rebuilding the solution. +3. Build the project to ensure there are no compilation errors. +4. Run the project. + +### Run with .NET CLI + +```bash +# Restore dependencies +dotnet restore + +# Run the project +dotnet run ``` -* The application will launch on Electron shell. +## References + +- [ElectronNET Guide](https://github.com/ElectronNET/Electron.NET) +- [Electron Framework documentation](https://www.electronjs.org/docs) From 9084d100250736f5d4aa7f4baa71983b0acb8a6e Mon Sep 17 00:00:00 2001 From: Backiaraj Date: Fri, 8 May 2026 17:31:09 +0530 Subject: [PATCH 2/4] Updated readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4c2a49..432378f 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,4 @@ dotnet run ## References - [ElectronNET Guide](https://github.com/ElectronNET/Electron.NET) -- [Electron Framework documentation](https://www.electronjs.org/docs) +- [Electron framework documentation](https://www.electronjs.org/docs) From 816d8709325910c866e56d8e09f7f244fa0c663d Mon Sep 17 00:00:00 2001 From: Backiaraj Date: Fri, 8 May 2026 18:01:11 +0530 Subject: [PATCH 3/4] Updated readme file --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 432378f..9db807e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ This project showcases how to build robust desktop applications by combining: - **Syncfusion UI components** - Pre-configured with Syncfusion Blazor Grid and Themes - **Cross-platform** - Build for Windows, macOS, and Linux (x64, ARM64) - **Modern Blazor** - Interactive server rendering and real-time component updates -- **Sample pages** - Counter, Weather, Navigation, and Error handling examples ## Prerequisites From fd6f8acd6bdd788ee819c8891ab56e3fb9586fa3 Mon Sep 17 00:00:00 2001 From: Backiaraj Date: Fri, 8 May 2026 18:59:03 +0530 Subject: [PATCH 4/4] Updated readme file --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 9db807e..19231ae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Blazor Electron App -A demonstration of integrating [Syncfusion® Blazor components](https://www.syncfusion.com/blazor-components) with the **Electron** framework to build modern desktop applications. This repository includes samples for .NET 3.1, .NET 6, and .NET 10.0 with full cross-platform support (Windows, macOS, Linux). +A demonstration of integrating [Syncfusion® Blazor components](https://www.syncfusion.com/blazor-components) with the **Electron** framework to build modern desktop applications. ## Overview @@ -21,10 +21,7 @@ This project showcases how to build robust desktop applications by combining: Before you get started, ensure you have the following installed: -- [.NET SDK](https://dotnet.microsoft.com/download) - - [.NET Core SDK 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1) - - [.NET SDK 6.0](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) - - [.NET SDK 10.0](https://dotnet.microsoft.com/download/dotnet) +- [.NET SDK 10.0](https://dotnet.microsoft.com/download/dotnet) - [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or later - [Visual Studio Code](https://code.visualstudio.com/) - [Node.js](https://nodejs.org) (v14 or later) - Required by ElectronNET @@ -38,21 +35,6 @@ git clone https://github.com/SyncfusionExamples/blazor-electron-app cd blazor-electron-app ``` -### Choose Your .NET Version - -Navigate to your preferred .NET version folder: - -```bash -# For .NET 10.0 -cd NET10 - -# For .NET 6.0 -cd NET6 - -# For .NET 3.1 -cd NET3.1 -``` - ### Run with Visual Studio 1. Open the solution file using Visual Studio 2022 or later.