Category "blazor-server-side"

How to reset custom validation errors when using editform in blazor razor page

I have an editform using an editcontext: <EditForm OnValidSubmit="HandleValidSubmit" EditContext="_editContext" Context="auth"> <DataAnnotat

Blazor Re-Ordering A list With Drag And Drop

I am learning Blazor having come from a WinForm UWP background. I have a list of Game: public class Game { public string ID { get; set; } public string

Blazor server not scaling (zoomed) on mobile

I made a small sensor application in Blazor server. However, when I view the app on my phone, it shows these scrolling bars (I always need to pinch/zoom out my

Best way to use multiple awaits C# .NET Blazor

In a Blazor app I have a file uploader that can take multiple files. When the user clicked 'upload' I used something like this: private async Task HandleFileUpl

Call method in MainLayout from a page component in Blazor

I have a Blazor app with a MainLayout page, which has a @Body to load the actual page content. In my case Index.razor is loaded inside the MainLayout page. Is

Blazor server app still authorized even after altering cookies

I have tested a sample Blazor server application that uses standard ASP.NET Core Identity and I logged in successfully. But even after I tried to alter the cook

Blazor Server cookie authentication with custom AuthenticationScheme

I'm trying to build custom cookie authentication in my Blazor Server app. It works as long as I use the DefaultAuthenticateScheme like this: builder.Services.Ad

How do I define the SignedOut page in Microsoft.Identity.Web?

I'm successfully signing in and out using Azure AD B2C in a Blazor Server app, but it's not clear to me the proper way to define the SignedOut page. This questi

How to add fonts to a MudTextField with MudBlazor API?

I have this MudBlazor component: <MudTextField @bind-Value="@_presentationSettingsServiceRequest.PostCode" Class="my-2" Variant="Variant.Outlined" AutoFocus=

Blazor Navigation Manager Go Back?

While using blazor, I want to be able to "go back" to a page I was before. I found this issue and looks like it's a dead end? This feature is something so basic

How do I set focus to a text box in Blazor

How do I set focus to a textbox in Blazor? So far the only way we have found is with JavaScript.

onclick method not working in Blazor server-side razor component

I am building a sample razor component, and I can not get my button onclick method to fire. When I click the button nothing happens at all. I have even placed a

Blazor Textfield Oninput User Typing Delay

How can I add a delay to an event (OnInput) in Blazor ?For example, if a user is typing in the text field and you want to wait until the user has finished typin