Backend example for DHTMLX Scheduler implemented with ASP.NET Core 8 and Entity Framework Core.
Related tutorial: https://docs.dhtmlx.com/scheduler/integrations/dotnet/howtostart-dotnet-core/
- Basic CRUD with REST/JSON data processor
- Dynamic loading by date range
- Recurring events using the rrule-based engine (Scheduler 7.1+)
- Error-handling middleware
- XSS protection on the event
textfield
- Visual Studio 2022
- .NET 8 SDK
- SQL Server LocalDB (or any SQL Server instance reachable via the connection string)
Clone the repository:
git clone https://github.com/DHTMLX/scheduler-howto-dotnet-core.git
cd scheduler-howto-dotnet-core
Open SchedulerApp.sln in Visual Studio 2022, restore NuGet packages and run the project (F5).
If you prefer the command line:
dotnet restore
dotnet run --project SchedulerApp/SchedulerApp.csproj
By default the app uses the LocalDB connection string from SchedulerApp/appsettings.json and recreates the database on every start. Update the connection string if you want to point it at a different SQL Server instance.
/basic.html- basic CRUD sample/recurring.html- recurring events sample (rrule-based)
A complete tutorial is available at https://docs.dhtmlx.com/scheduler/howtostart_dotnet_core.html.
Source code in this repository is released under the MIT License.
DHTMLX Scheduler is a commercial library - use under a valid DHTMLX license or evaluation agreement.