Cleaning up the project
Throughout the book, we have generated a bunch of files, and if we used the repository at any point, we probably have a bunch more files. So, the first thing we need to do is to clean up the project a bit.
In the MyBlogServerSide
project, delete the following files (if you don't have a particular file in the following list, don't worry, just go to the next one):
Pages/Alert
– folderPages/Events
– folderForm-
folderPages/ComponentWithCascadingParameter.razor
Pages/ComponentWithCascadingValue.razor
Pages/CounterWithoutRazor.cs
Pages/CounterWithParameter.razor
Pages/DBTest.razor
Pages/FetchDataWithCodeBehind.razor
Pages/FetchDataWithInherits.razor
Pages/Parameters.razor
Pages/ParentCounter.razor
Pages/SetFocus.razor
Great! We now have a project that is a bit cleaner. The next step is to set up the Blazor WebAssembly project and make it use our new API.