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>** …
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) =>…
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…
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…
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…
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 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
How To make Common Filter Component in Blazor Web Assembly project
Please Describe How i make Common filter component
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.
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…
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.
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? …
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…
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…
@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 - 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…
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…
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…
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.
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…