1,383 questions with Blazor tags

Sort by: Updated
0 answers

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
edited a comment 2024-04-24T12:01:58.09+00:00
AgaveJoe 26,191 Reputation points
1 answer

Play sound in Blazor Hybirs app

I have a blazor hybird app running Android emulator inViual Studio. the app has a button when clicked play a sound using javascript interop to play a soun. the js code : window.PlayAudio = (elementName) =>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,365 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,858 questions
asked 2024-04-23T10:01:01.01+00:00
Qun Shen 20 Reputation points
answered 2024-04-24T09:03:42.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

How should I add a Blazor UI to an existing .NET Core API?

We have a .NET Core product with an API that we want to create a UI for. We've decided to switch from React (which we've used on other projects) to Blazor because our team all knows C# and only one person knows React/JS. I've done some initial learning…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-23T23:30:13.6466667+00:00
Steve Nicholson 0 Reputation points
answered 2024-04-24T00:54:52.9166667+00:00
Bruce (SqlWork.com) 55,366 Reputation points
2 answers One of the answers was accepted by the question author.

Loading module from “.../_framework/dotnet.js” was blocked because of a disallowed MIME type (“text/html”)

** Update: I've pinpointed the issue to the Visual Studio publishing wizard failing to push all files, regardless of my efforts. Subsequently, I established a new Azure Web App under a fresh subscription, which resolved the issue. Thus, the publish…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-23T01:56:10.4266667+00:00
Michael Washington 911 Reputation points MVP
edited the question 2024-04-23T21:31:25.04+00:00
Michael Washington 911 Reputation points MVP
1 answer

EditForm in Blazor does not work on submit

Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-20T15:03:25.1633333+00:00
Rob Bertora 0 Reputation points
commented 2024-04-23T10:06:00.2366667+00:00
AgaveJoe 26,191 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,256 Reputation points
commented 2024-04-21T23:45:16.42+00:00
David Thielen 2,256 Reputation points
1 answer

Blazor Title

Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,251 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-20T15:08:46.87+00:00
Bruce (SqlWork.com) 55,366 Reputation points
1 answer

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
edited the question 2024-04-20T11:08:48.66+00:00
Pradeep M 165 Reputation points Microsoft Vendor
2 answers

Failure to run Blazor Web Assembly on CPU 5200

The software Develop with Blazor Web Assembly and .NET 8 runs on almost all CPUs, but it does not run on the Intel E5200 CPU.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-09T10:05:43.3733333+00:00
amir allahvirdi 0 Reputation points
edited the question 2024-04-20T11:05:27.1433333+00:00
Pradeep M 165 Reputation points Microsoft Vendor
1 answer

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
edited the question 2024-04-20T11:01:54.83+00:00
Pradeep M 165 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Is it able to upload a folder with blazor wasm client and minimal api server?

I want to upload files and folders recursively throught the wasm client to minimal api server. I have learned that I can use IFormFile or IFormFileCollection to receive files in minimal api.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-19T06:48:37.5933333+00:00
William Liu 266 Reputation points
edited an answer 2024-04-20T00:37:27.6566667+00:00
SurferOnWww 1,906 Reputation points
1 answer One of the answers was accepted by the question author.

How do I find the method calling Entity Framework that led to an exception

I believe this call is coming from the ASP.NET Identity Library. However, it may be coming from my Blazor code. The below is the entire exception written to the log. How do I find out what method (Identity library or my Blazor code) is calling this? …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-19T20:39:54.0166667+00:00
David Thielen 2,256 Reputation points
commented 2024-04-19T21:29:36.8466667+00:00
David Thielen 2,256 Reputation points
1 answer

Blazor .net 8 performing authentication with sessionStorage

Hi, I used sessionStorage to ensure that the user remains logged in throughout the session. I had my own pre built database with usernames and passwords, so I did not use migrations and did not implement this with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,365 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-19T13:18:56.1633333+00:00
Esma 20 Reputation points
answered 2024-04-19T14:45:12.7766667+00:00
Bruce (SqlWork.com) 55,366 Reputation points
1 answer One of the answers was accepted by the question author.

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,365 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 20 Reputation points
accepted 2024-04-19T12:10:42.7066667+00:00
Esma 20 Reputation points
0 answers

@bind-Value:event="oninput" does not work for InputText blazor component?

I am new to Blazor and I am having trouble understanding why the oninput event does not work for the InputText Blazor component but works for the HTML input tag. I am also getting errors, which I do not understand. I am using .NET 8 Blazor Server app.…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2023-12-21T02:04:44.3066667+00:00
PrateekArora-1569 15 Reputation points
commented 2024-04-18T21:31:44.4433333+00:00
Bruce (SqlWork.com) 55,366 Reputation points
4 answers

Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,229 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 31 Reputation points
commented 2024-04-18T11:41:02.26+00:00
Develter, Filip 0 Reputation points
1 answer

Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos

error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,365 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
answered 2024-04-17T18:07:57.8366667+00:00
Fin Watling (student) 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to ignore ETag checking and fix this error

I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,426 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,229 questions
asked 2023-01-18T12:50:17.69+00:00
Sarah 161 Reputation points
commented 2024-04-17T09:46:38.9733333+00:00
Gayatri Gupta 0 Reputation points
2 answers

Is there a way to minify or bundle or pack blazor wasm js?

Is there a way to minify or bundle or pack blazor wasm js?   For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.    

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
asked 2024-04-16T14:41:52.6333333+00:00
RSa 0 Reputation points
edited an answer 2024-04-17T06:18:45.9466667+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Add Validator in Blazor

I want Location text box to accept only alphabets both cases,number and comma 1)a-z 2) A-Z 3) 0-9 4) comma(,) So Location can be like 125 Harkness Ave,Pasadena or London,Ontario Location shouldnt accept %![ etc. Please suggest how do I add Validator in…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,858 questions
asked 2024-04-12T18:16:54.3033333+00:00
Maui Learner 420 Reputation points
accepted 2024-04-16T09:24:50.7966667+00:00
Maui Learner 420 Reputation points