How to Properly Get Remote IP Address in a Blazor-Server Application?
I've looked around and a few questions exactly like this has been answered already however they all state the solution as what I'm currently trying to do which it STILL doesn't work...Currently, I am...
View ArticleStatic styles.css issues after renaming Blazor project
If I start a Blazor server from scratch. Then right-click the project and click rename.All the namespaces change(EditedProjectName.Pages) but the using statements keep the old...
View Articlethe problem is in getting address using API the region is displaying in front...
// For Full address of user//the problem is in getting address using API the region is displaying in front end but the provinces, municipalities, and barangays is not displayed.private async Task...
View ArticleUse Azure MFA via graph API in blazor app
I'm writing a blazor app which calls a web api backend. In the backend I have several calls to the graph api.One is for example://User activates their eligible assignment for PIM for...
View ArticleIs there a way to have a base class for a razor's code behind?
I have CampaignPage.razor:@page "/Manager/Campaign"@implements IDisposable<PageTitle>Campaign</PageTitle><EditForm EditContext="EditContext" OnValidSubmit="HandleValidSubmitAsync"...
View ArticleMudSelect loses error validation on select
In the following MudSelect code:<MudSelect @bind-Value="value" T="string" Label="Test Select" Error="@isInError" ErrorText="The field is in error"> @foreach(string option in options)...
View ArticleCrystal Reports and how to handle it in .Net 8
I have a webforms project with quite a number of designed crystal reports. I have used slicing to slice the project up and move majority of the Logic to class libraries to make the migration easier. I...
View ArticleHow to remove this side bar in .net maui blazor hybrid?
PictureI already locate and change the navmenu.razor but side bar is not changing. I cant find where i need to change or what part in the code should need to delete to remove it.Or you cant remove this...
View ArticleNavigationManager - Get current URL in a Blazor component
I need to know the URL of the current page in order to check if I have to apply a certain style to an element. The code below is an example. @using Microsoft.AspNetCore.Blazor.Services @inject...
View ArticleHow to add a new line to MudTable with Inline-Edit
Can anyone suggest a method for creating a new record by using MudTable with Inline Editing? Maybe clicking a new button and it creates a new line in the table to fill out?Currently my MudTable...
View ArticleCustom Data Annotations Validator doesn't display ErrorMessage
Here's my custom validator:public class CustomRuleFileTypeAttribute : ValidationAttribute{ protected override ValidationResult IsValid(object value,ValidationContext validationContext) { var...
View ArticleLooking for simple way to persist scoped service state from Prerender phase...
I am in the process of converting a .NET 6 Blazor Server app to a .NET 8 Blazor Web app.Our app relies heavily on a scoped service to make data, obtained from the HttpContext of the initial page...
View ArticleMudBlazor MudMenu not opening on ChangePassword page in Blazor Server with...
I am developing a Blazor Server application based on .NET 9 that uses ASP.NET Core Identity. The identity components (like ChangePassword) are coming from the MudBlazor template. Now, for some reasone,...
View ArticleWhy am I getting a license error in EPPlus 8.0.2
I recently updated to this version and now I get the following error when I attempt to send my result set to Excel. I have updated appsettings.json as shown below the error message. I have gone to the...
View ArticleBlazor Slick Carousel Adding and Removeing Slides
I am using the Blazor Slick Carousel to show Game Cards. It is working fine so far, however, I find that I need to be able to add or remove certain cards to the carousel (filters) and am having...
View ArticleBlazor Slick carousel adding and removing slides
I am using the Blazor Slick Carousel to show game cards. It is working fine so far, however, I find that I need to be able to add or remove certain cards to the carousel (filters) and am having...
View ArticleCustom Teams App using Blazor published in Azure not working
I'm a beginner creating a Teams App Blazor in Visual Studio 2022 (not Visual Studio Code). I already created the Teams APP using another custom teams app that I downloaded and after modify it works...
View Articlehow to retrieve information from identity token in blazor
I'm creating a Blazor Server app where I call an API from one of my ASP.NET services that handles authentication using Identity.The service correctly returns the response DTO:tokenType":...
View ArticleVisual studio localhost loading without open page in Chrome
This happens the last 2 days.The Chrome browser is loading with an empty page.Firefox opens the page correctly. Any idea about that?Update:The page loads in chrome if I disable script debugging but...
View ArticleNullReferenceException when calling StateHasChanged() in base component class...
I'm working on a cross-platform project using Blazor WebAssembly and .NET MAUI Blazor Hybrid (targeting .NET 8). I'm using Fluxor for state management across both environments.In my shared component...
View Article