As you choose it, a new dialogue of NuGet Package Manager with a search box will pop up.
To add a package from NuGet, right-click on the Main project “ BlazorPlayGround1” and select Manage NuGet Packages from the menu. This part will learn how to add the Entity Framework Core package to the project from the NuGet package manager. } Adding Entity Framework Core package from NuGet Adding Model folder to project and Adding Countries, States, Cities Models in it Countries using Tables which we are going to UseĪfter we saw the Tables, now let’s first start with adding Models to Project.
The data we are going to get from the database is shown below. In which State is dependent on Country and Cities are dependent on State. In this part, we are going to add 3 dropdowns The Value of one DropDownList is passed to another DropDownList to bind Data. We are going to choose Blazor ServerĪfter creating the Application, First, Let’s understand what we are going to develop.Ĭascading Dropdown means a set of DropDownLists dependent on the parent or previous DropDownList for Binding Values. Next, we are going to get 2 hosting models options from that.Next step, we will configure the project name, the location where we want to store this project, and set the solution name.The first result which appears is Blazor App we are going to choose it. In the search bar of Visual Studio, we are going to enter text blazor to search.