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.razorPages/ComponentWithCascadingValue.razorPages/CounterWithoutRazor.csPages/CounterWithParameter.razorPages/DBTest.razorPages/FetchDataWithCodeBehind.razorPages/FetchDataWithInherits.razorPages/Parameters.razorPages/ParentCounter.razorPages/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.