All Questions
Tagged with asp.net-core-8 blazor
22 questions
1
vote
2
answers
48
views
Blazor doesn't work in a Docker container
I have an ASP.NET Core 8.0 MVC (upgraded from .NET 6.0) project; it's working fine in a Docker container except for the pages that contain Blazor code. I'm getting an error
blazor.server.js:1 [2025-...
0
votes
1
answer
53
views
After ASP.NET Core 8 Identity SignOutAsync, the user doesn't have to provide credentials to external log in
When using Blazor's IdentityComponentsEndpointRouteBuilderExtensions.cs logout method:
accountGroup.MapPost("/Logout", async (
ClaimsPrincipal user,
...
0
votes
0
answers
104
views
Microsoft Entity Framework Core [10100]
I have this form and when I try to submit the form, my DB gets a register with null fields, every field that supposed to fill in the form, I sent null, but the fields I've preset the value reaches the ...
0
votes
1
answer
121
views
Blazor interactive unauthorized .NET 8
I am building a service that uses a mix of SSR and interactive server. The SSR portion is only used to login. Now after the login completes, any request to the backend fails as unauthorized, but if I ...
0
votes
1
answer
43
views
Blazor and HMTX: form only get
I have a project in ASP.NET Core 8. This project has HTMX. Now, I want to add Blazor to the solution. I have quite a simple page that mimics the example on GitHub.
<CascadingValue Value="...
0
votes
1
answer
119
views
ASP.Net Core 8.0 MVC Blazor button element not working properly
I attempted to implement Blazor in my ASP.NET Core MVC application. When I try to click a button, it doesn't call the right method and doesn't do anything.
<button @onclick="UpdateHeading"...
0
votes
0
answers
54
views
How can put a Facebook Open Graph into Razor component instead of APP.Razor in ASP.NET Core 8 Blazor
I want to put below open graph according to razor pages - how we can do that?
<meta property="og:url" content="">
<meta property="og:title" content=""&...
0
votes
2
answers
133
views
Where to include jquery script in Blazor web app in ASP.NET Core 8?
I am trying to use the NavBar from the code show here on my Blazor web app in ASP.NET Core 8.
But for the dropdown menu to work, a jQuery script reference must be included in the project.
I have tried ...
1
vote
1
answer
286
views
Base address of HttpClient not been assigned anymore on Blazor Web App
The code shown here works in an ASP.NET Core 8.0 Blazor server-side project, but it is not working in a Blazor Web App built with "Interactive render mode: Server" and "Interactivity ...
-1
votes
1
answer
65
views
Blazor with ASP.NET Core MVC project
I have an ASP.NET Core MVC project where I'm trying to add Blazor specially because we have a lot of dynamic forms inside modals, and is a pain in the ... handle all in javascript + modelstate and ...
1
vote
1
answer
347
views
Navigation error in Blazor when submit a form
This error occurs when I submit a form and execute the method:
I used dependency injection at the top:
@inject NavigationManager NavigationManager
By the way, if I prefixed the method name with ...
0
votes
3
answers
2k
views
Blazor 8 Delegate Type Could Not Be Inferred
I am migrating my Blazor Server from .NET 7 to 8. Apparently it causes error on calling the function this way:
<input type="checkbox" class="form-check" checked="@isChecked&...
2
votes
2
answers
5k
views
Local storage for Blazor Server 8
I am encountering some issues configuring local storage in Blazor .NET Core 8. After updating my project, I found that since the pages are now created on the server, it's not possible to access the ...
0
votes
0
answers
206
views
Adding ApiAuthorization to .NET 8 Blazor App Causes Errors Migrating from .Net 6 WebAssembly App
I am migrating a .Net6 Web Assembly App over to .Net8 because I would like to use some of the server side rendering features.
I started with the new template and selected render mode auto as the ...
0
votes
1
answer
192
views
ASP.NET Core MVC routing with Blazor and React apps in sub folders
I have a new ASP.NET Core 8 site. The solution has two projects, a blazor wasm app and the MVC site.
In the MVC site the folder structure is:
- wwwroot
- ...
- Pages
- Blazor
- index....