In this step you will create and set up a WPF Application containing two windows, those will be the Views in your project. One will be the main window and will be used to display, filter and delete cars from the database. The other will be called from the main window and will allow you to edit existing cars or add new ones.
- Add to your solution a new WPF Application project and name it SofiaCarRental.WPF
- Integrate the Telerik.DataAccess.Core NuGet package with the SofiaCarRental.WPF project.
- Add a reference to SofiaCarRental.Model in the SofiaCarRental.WPF project.
Copy the App.config file from the model SofiaCarRental.Model to the wpf project SofiaCarRental.WPF.
Add the following references to your WPF project:
Add two new folders in your project, name them Views and ViewModels. In the Views folder add another one named ViewInterfaces.