This repository contains a sample full-stack application demonstrating how to synchronize appointments between in-memory storage and the Syncfusion Blazor Scheduler component. The ASP.NET Core Minimal API backend handles CRUD operations on Scheduler events, and the Blazor frontend delivers a modern, responsive scheduler interface for interacting with those events.
- .NET SDK (10.0)
- Clone the repository to your local machine:
-
Install required NuGet packages:
dotnet restore
The Minimal API in Program.cs exposes the following REST routes:
| Method | URL | Description |
|---|---|---|
| GET | /api/appointments |
Get all appointments |
| GET | /api/appointments/{id} |
Get appointment by ID |
| POST | /api/appointments |
Create a new appointment |
| PUT | /api/appointments/{id} |
Update an existing appointment |
| DELETE | /api/appointments/{id} |
Delete an appointment |
-
Build the project:
dotnet build
-
Run the application:
dotnet run
-
The application will start on
http://localhost:5175 -
You can perform CRUD operation on the scheduler that will be reflected in the in-memory storage.
Image illustrating the Syncfusion Blazor Scheduler
- Port already in use: Change the port in
Properties/launchSettings.json - Theme not applying: Clear browser cache or open in incognito mode