Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Browsing all 3951 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Blazor WASM JavaScript Interop Function Not Defined/Found

I'm messing around with the default Blazor WASM scaffolded application from Visual Studio 2022 (.NET 6).Specifically just trying to call a JS function (that's in its own file) from a method in one of...

View Article


Blazor WebApp with APIController and OIDC Authentication

does anyone have an example of a Blazor WebApp in combination with WebAPI APIController?I would like to make my application accessible via Api. My own frontend should then also use the API.The frontend...

View Article


Blazoredmodal.razor.js route "_PAGENAME_content/" instead of "content/"

I have a Blazor Server App, using Blazorize (net core 6).When my page has this route:@page "/"Blazorize tries to retrieve the JS from here (which is...

View Article

no websocket network activity when debugging a Blazor serverside app locally

I'm working on a Blazor app (.net 8, server side, Visual Studio 2022) and I'm not seeing any WebSocket network activity at all when debugging and running locally in Chrome. The app works ok, it fetches...

View Article

Dependency injection in Blazor does not work while switching page

I have a classpublic class SessionState { public int id { get; set; } public bool verified { get; set; }}And in every page I have injected the class with @inject SessionState state.I want to fill...

View Article


Image may be NSFW.
Clik here to view.

The type or namespace name 'App' could not be found - Blazor .Net 8.0 program.cs

Why am I getting this warning?Inside the program.cs code file of my Blazor web application (.net 8.0).The web app runs fine, but I want to get rid of this warning:"The type or namespace name 'App'...

View Article

Chromium can't download PDF from integrated reader

I serve a BLOB from my server to the clients browser included PDF-Reader.const file = new File([data], filename, { type: contentType });const url = URL.createObjectURL(file);const anchorElement =...

View Article

Azure WebApp Blazor with IdentityServer4 Couldn't find a valid certificate...

I used self-signed certificate for my IS4. I followed the steps in here.I tried using self-signed certificate and uploading the pfx file.New-SelfSignedCertificate -Subject "CN=certName"...

View Article


Blazor web assembly: cannot stop img streaming when leaving page

I'm having a problem with the disposing of a Blazor Web Assembly page containing an img tag having as src the path of a camera stream. In short, when I leave the page, the stream is not interrupted and...

View Article


Data Binding seems to be broken

I am working on a layout designer, think of WinForms Designer for Web-Components, and am at the very beginning of the project. I use Blazor Server App, and, as I need to generically generate controls,...

View Article

how to re-render a MudBlazor MudDataGrid after a database update from a modal...

I'm using the MudDataGrid with a data edit function from a modal popup (Blazorise.Modal). Clicking a button on a row retrieves an instance of that data (single record) and puts it into a modal for...

View Article

Passing parameters to anonymous javascript function in Blazor

I am building an app that requires the use of the TradingView advanced chart widget but I want to be able to pass a parameter into the options. This is what the code looks like from the website.<!--...

View Article

Why are these fields getting concatenated during my save using Entity Framework?

SqlException: Invalid column name 'fldCustomer_Groups_RecordfldRecordID'.Invalid column name 'fldCustomer_RecordfldRecordID'.Invalid column name 'fldCustomer_Stores_RecordfldRecordID'.

View Article


How can i Render a foreach Loop in MudBlazor MudTable RowTemplate

I have MudExpansionPanels in my code which when placed i need them to show a Table of its related data. But am having an issue where by the Table is not rendering the correctly all items are displayed...

View Article

Problema com Componente RadzenDropDown [closed]

Preciso mostrar um dropDown com RadzenDropDown, mas não está funcionando.Fiz um foreach para verificar se o problema estava nos dados, mas eles aparecem normalmente. Porém na lista suspensa não...

View Article


Asynchronous reading XML in Blazor

I have problem while trying to read XML data from string asynchronous in Blazor. It's just freeze browser for couple seconds while reading. I wonder how to do it asynchronous to get nice progress for...

View Article

Is it fine to change the Blazor component's parameter inside the target...

The Blazor has been inspired by Vue, and the Blazor "components' parameters" has the same concept as Vue "components' props". In Vue and similar frameworks, the changing of the props inside the class...

View Article


Logs / stacktraces from abp.io Blazor app

Is there any way to check logs or stacktraces from a Blazor web app? I am trying to learn abp, and all I got is internal error. I have been trying to looking for logs or something, but finds nothing....

View Article

Selecting an Item from Blazor MudAutoComplete

Am trying to use MudAutoComplete to search for an item in the database, am searching for a match in a name, should be showing the name in the select box but right now am getting...

View Article

How to use custom JWT Authentication in .NET 8 Blazor App with Auto Render Mode

when I create a Blazor application it generates server and client application. I am creating Api's in the server side of the application. So when app is render it is render in server mode and my pages...

View Article
Browsing all 3951 articles
Browse latest View live