Web-Development-with-Blazor-Second-Edition
Web-Development-with-Blazor-Second-Edition copied to clipboard
Path to the Data folder
In the book you have the path in Program.cs set to
options.DataPath = @"..\..\..\Data\";
which works if you are using the repository solutions to follow along.
but if your not then the path will be incorrect, I was scratching my head for a little while till I realised this, so if you do like me created a fresh solution to follow along and the create a folder in the solution directory for the example data you will need to modify the path to
options.DataPath = @"..\{YourFolderName}\";
Thanks for the report, I'll keep this one open so readers can find it :)