Questions tagged [blazor]

Blazor provides the opportunity to create dynamic web interfaces using C# rather than relying on JavaScript. This functionality is part of ASP.NET, a Microsoft web development framework that enhances the capabilities offered by the .NET developer platform.

How can I prevent StateHasChanged() from affecting all open browsers in a Blazor Server-Side application?

Hey there, I'm new to Blazor but familiar with C#. This is my first time asking a question here so please bear with me. :) I am working on a Blazor server-side application where users can enter information and validate it based on server data. So far ...

Encountering a compilation error while trying to utilize Newtonsoft.Json in my Blazor application

This snippet contains the following code: @page "/" @using Newtonsoft.Json @using System.Text.Json @using System.Text.Json.Serialization <h1>Hello World</h1> @code { public class Account { public string Email { get; set; } public boo ...

Tips for incorporating razor isolated/code behind CSS classes into MudBlazor components

Within my codebehind file, I have defined a CSS class. When I use the "class" attribute on normal HTML elements, the style is applied correctly. However, if I apply the class to a MudElement using the "Class" attribute, the style does not get pulled. Altho ...

I am having trouble generating a TikTok page link due to the presence of an @ symbol, although all other links are functioning correctly. Can anyone provide a solution to this issue?

I am currently developing a website using primarily HTML within a Blazor application on Visual Studio. I have encountered an issue with the code where the first two buttons function correctly, but there is an error regarding the @ symbol in the TikTok butt ...