A quick-start project that helps you perform CRUD operations on a Syncfusion Blazor TreeView in a ASP.NET Core hosted WebAssembly application using Entity framework and Web API. You will learn how to add a context menu to the TreeView component and perform CRUD operations. You will also learn how to add new nodes by incrementing the TreeView node’s unique ID.
Watch the video now: Coming soon...
Documentation: https://blazor.syncfusion.com/documentation/treeview/data-binding/#entity-framework Online example: https://blazor.syncfusion.com/demos/treeview/remote-data
Make sure you have a compatible version of .NET Core on your machine before starting to work on this project. You will also need the following:
To run this application, you need to first clone or download the ‘perform crud operations in blazor treeview using entity framework and web api’ repository and then open it in Visual Studio 2019. In the Server project, change the connection string path in the appsettings.json file. The NorthWind.MDF file is placed in the Shared project. Now, build and run your project to view the output.
To get more help, check the ASP.NET Core Blazor documentation.