Backend example for DHTMLX Scheduler implemented with ASP.NET MVC 5, Web API 2 and Entity Framework.
Related tutorial: https://docs.dhtmlx.com/scheduler/integrations/dotnet/howtostart-dotnet/
- Basic CRUD with REST data processor
- Dynamic loading by date range
- Recurring events using the rrule-based engine (Scheduler 7.1+)
- Web API exception filter for unified error responses
- XSS protection on the event
textfield
- Visual Studio 2022 with ".NET Framework Project and item templates"
- .NET Framework 4.x
- IIS Express / SQL Server LocalDB
Clone the repository:
git clone https://github.com/DHTMLX/scheduler-howto-dotnet.git
cd scheduler-howto-dotnet
Open DHX.Scheduler.Web.sln in Visual Studio 2022, restore NuGet packages and run the project (F5).
The database is created and seeded automatically by SchedulerInitializer (DropCreateDatabaseIfModelChanges) on the first run and re-created whenever the model changes.
/Home/Basic- basic CRUD sample/Home/Recurring- recurring events sample (rrule-based)
A complete tutorial is available at https://docs.dhtmlx.com/scheduler/howtostart_dotnet.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.