All Questions
Tagged with .net-6.0 blazor-server-side
112
questions
0
votes
1
answer
30
views
Loading Modal does not show until method is completed in Blazor Server
I need to show a Loading modal in Blazor server, using Net6. When finish loading, it needs to change the text "loading..." with "finished".
But it only opens when everything is ...
1
vote
0
answers
81
views
.net core 6, blazor server, "A task was canceled" when OnInitializedAsync queries EFCore. Only when page path is not "/"
sorry for the cryptic subject.
My Blazor Server App (.net core 6), has a page in root "/". In the OnInitializedAsync I make an async read to EFCore. So far, works like a charm.
When I change ...
1
vote
0
answers
53
views
Application pool recycle cause bug with duplication of collection items. Blazor server .net6 app hosted in windows Azure app service
We experience a serious bug when application pool recycles for a .net6 Blazor server-side application hosted on windows Azure app service. We have a Mapster mapping between client side ViewModel and ...
0
votes
0
answers
212
views
Blazor Server - Disable browser back button .NET6
I come from an ASP.NET webforms background and now learning Blazor Server. I have an application that is in testing and I need a way to disable the browser's back button. In ASP.NET this was very ...
1
vote
1
answer
103
views
.NET Authentication Cookie shared between clients
I am working on a Blazor server project that uses a separate .NET backend api to handle authentication as well as querying the database. Both instances are using .NET 6. I was under the impression ...
0
votes
1
answer
464
views
Blazor Server Azure App Service Easy Auth
I have a .Net 6.0 Blazor Server app running in an Azure App Service. Azure gives you the ability to setup your App Service so that it does the authentication for you. This is called Easy Auth. You can ...
1
vote
0
answers
251
views
MudBlazor - MudDatePicker not selecting date on first click
I have a MudDatePicker that I put in a reusable component. Here is the code on the parent page:
<MudText>@((MarkupString)paymentsMade)</MudText>
<div>
<span>Add ...
0
votes
0
answers
105
views
Blazor server app .net6.0 - Intermittent issues while uploading files
I am facing an issue when the client uploads a file in Blazor Server app. This doesnt happen everytime, but this does happen each day for some users & its pretty adhoc. Below is the error:
System....
-1
votes
1
answer
277
views
Blazor site returning empty html page for any url when deployed to IIS
I have created a site using blazor in .net 6 core and have deployed this site to 3 different servers without any major hiccups.
When deploying to a 4th server I am getting a strange issue where my ...
0
votes
1
answer
56
views
Handling migrations for Multiple DbContexts
My scenario is that I have added Identity to an existing .Net Core 6 Blazor Server project. This obviously creates a DbContext that inherits from IdentityDbContext.
However I now need to add my own ...
4
votes
1
answer
2k
views
Custom claims lost after sometime in AspNetCore Identity cookie
I see a question that was already asked years ago that explains a problem related to losing custom claims while using AspNet Identity. The solution mentioned there unfortunately doesn't work for me as ...
0
votes
1
answer
488
views
Blazor Server: Convert blob locally stored in browser to Base64 String
I am creating an application in Blazor Server Net 6
I was able to save the image as a blob on the local browser by going through the documentation
https://learn.microsoft.com/en-us/aspnet/core/blazor/...
0
votes
1
answer
400
views
Blazor Server App with single-sign on and different user roles per "page"
I'm building a Blazor Server App that has a database that has already been established with tables/fields. The db has the following tables: users, groups, roles, sitemap and the association tables to ...
0
votes
1
answer
90
views
Blazored.FluentValidation and IBrowseFile
This is the code snippet:
@page "/fileupload"
@using Blazored.FluentValidation
@using FluentValidation
<EditForm Model="@model" OnValidSubmit="@HandleSubmit">
&...
0
votes
1
answer
323
views
Type 'MyComponent' already defines a member called 'BuildRenderTree' with the same parameter types
This is what I have - almost the simplest possible Blazor (.NET 6.0, server side) component:
@this.Title
@code {
[Parameter]
public string Title { get; set; }
protected override void ...