Some Errors I faced.
See original GitHub issueThank you for the amazing BlazorBoilerplate project. I have been wanting to try using it for some time, but I was overwhelmed because I am still learning Blazor and was unsure where to begin customizing the project. However, I have improved my skills and am now ready to use your project to increase my productivity.
I downloaded the source code from the latest release on GitHub at https://github.com/enkodellc/blazorboilerplate/archive/refs/tags/3.4.zip. After opening the project using the latest visual studio (Version 17.4.3), I restored the dependencies and set the server project as the startup project and launched. These are the issues I faced.
1st Issue - Reconnect Message
I noticed that when I visit some pages, like the login page, a message saying “Attempting to reconnect to the server: 1 of 8” appears. Does this message only appear when I am running the project locally, or will it also appear when I host the project?
2nd Issue - Breeze Error
I received an error page related to Breeze after logging in with the admin credentials. When I refreshed the page, it opened the dashboard page correctly. I did not take a snapshot of the error page, but I can say that the error was visible to the user, which is not ideal. The exception details are as follows:
Breeze.Sharp.DataServiceRequestException: Internal Server Error at Breeze.Sharp.DataService.ReadResult(HttpResponseMessage response) at Breeze.Sharp.DataService.GetAsync(String resourcePath, CancellationToken cancellationToken) at Breeze.Sharp.EntityManager.ExecuteQuery(EntityQuery query, CancellationToken cancellationToken) at Breeze.Sharp.EntityManager.ExecuteQuery[T](EntityQuery`1 query, CancellationToken cancellationToken) at BlazorBoilerplate.Shared.Services.ApiClient.GetUserProfile() in C:\Users\Ibrahim\Desktop\blazorboilerplate-3.4\src\Shared\BlazorBoilerplate.Shared\Services\ApiClient.cs:line 19 at BlazorBoilerplate.Shared.Services.AppState.GetUserProfile() in C:\Users\Ibrahim\Desktop\blazorboilerplate-3.4\src\Shared\BlazorBoilerplate.Shared\Services\AppState.cs:line 58 at BlazorBoilerplate.Theme.Material.Admin.Shared.Layouts.AdminLayout.OnInitializedAsync() in C:\Users\Ibrahim\Desktop\blazorboilerplate-3.4\src\Shared\Modules\BlazorBoilerplate.Theme.MudBlazor.Admin\Shared\Layouts\AdminLayout.razor:line 53 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
3rd Issue - Visual Studio Error List
The project runs fine, but I noticed some errors in Visual Studio. I am not sure what to do with these errors. Should I ignore them?
(Ignore the spelling mistakes, I used ocr tool to capture the text from image below)
- CS1061
UserProfile
does not contain a definition forLastPageVisited
and no accessible extension methodLastPageVisited
accepting a first argument of typeUserProfile
could be found (are you missing a using directive or an assembly reference?) BlazorBoilerplate.Ul.Base LoginPage.cs 99 Active - CS1061
UserProfile
does not contain a definition forLastPageVisited
and no accessible extension methodLastPageVisited
accepting a first argument of typeUserProfile
could befound (are you missing 3 using directive or an assembly reference?) BlazorBoilerplate.Ul.Base LoginPage.cs 99 - CS0117
Todo
does not contain a definition forCreatedByld
BlazorBoilerplate.Storage Databaselnitializer.cs 137 - CS0246 The type or namespace name
ILocalizationRecord
could not befound (are you missing a using directive or an assembly reference?) BlazorBoilerplate.Client Program.cs 82
Issue Analytics
- State:
- Created 9 months ago
- Comments:6
The master branch has some issues with .Net 7 . Try Maui branch instead
Thank you.