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

Implementing and understanding a Blazor Static Server-Side Rendered Counter Page

Blazor Web App Template, selecting 'None' for the Interactive Render mode.To begin my understanding of Static Server-Side Rendering (SSR), as it is implemented in Blazor compared to that of MVC or...

View Article


Refresh authentication cookie causing .NET Core Router Not Found

We're building an API which sends a GET request to our .NET Core app to retrieve the web page. To comply with authentication, we also supply it a .NET Application cookie (just copied from the browser...

View Article


Get local files in blazor + monogame(kniEngine)

I have a folder with .json files and by default im getting them withDirectory.GetFiles("Content/animations");and then read them. But in blazor platform i have no access to this folder anymore.Is there...

View Article

A shared public static variable does not change synchronously in all razor...

I defined a static class in order to share data among different razor pages.Here is the class:namespace BlazorTest{ public static class General { public static int number; }}This is my parent...

View Article

The given key 'blazorpack' was not present in the dictionary

This error showed after connecting to Azure SignalR. But when using signal r service everything works fine.No console error showing and signalR is...

View Article


Blazor wasm pwa - on opening after being inactive for some time

I have build a blazor wasm app with pwa support. Is it possible to trigger some code when it is reopened after being inactive? I would like to fetch the most recent information from the server without...

View Article

In blazor, variable current value is not maintained on component re-render

I have defined one variable named ActiveStep, like below:[Parameter]public int ActiveStep { get; set; } = 0;Below, I have shared my sample code.<button class="e-btn"...

View Article

Image may be NSFW.
Clik here to view.

Blazor Server 8 Advanced Navigation Font Awesome icons oversized

I'm experiencing issues with Font Awesome and Blazor Server 8 when using advanced navigation. I created a new basic application and placed one icon from the FontAwesome package on the homepage. When I...

View Article


How do I import my DataAccessLybrary into blazor project?

I am trying to import my DataAccessLybrary into my Program.cs file for a Blazor project, but my import is not working correctly.Sharing an image of my project structure.enter image description...

View Article


ASP.NET Core 8 and Blazor Web Assembly application runtimeconfig

I am following this tutorial https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run which builds a very basic Blazor app. However the project won't run on ASP.NET Core 8. Could you please...

View Article

Image may be NSFW.
Clik here to view.

How do I import my DataAccessLibrary into blazor project?

I am trying to import my data access library into my Program.cs file for a Blazor project, but my import is not working correctly.Sharing a screenshot of my project structure:Thank you in advance for...

View Article

Blazor not found when using query parameters

When i use query Parameters and start to navigate to the url my .Net 8 Blazor Web App shows me not foundUrl:...

View Article

Blazor EditForm Validation not working when using Child Component

I have a Blazor component called EditOffice. It looks as follows:<EditForm Model="@Office" OnValidSubmit="@HandleValidSubmit"><DataAnnotationsValidator /><ValidationSummary...

View Article


What does the _blazor?id= part of a Blazor Server URL mean?

I have a Blazor Server web app. When I look at the DevTools in my browser I see a lot of GET requests to URLS like https://mysite/_blazor?id=123456789&_=123456789 for one page load.What are these...

View Article

Image may be NSFW.
Clik here to view.

Style Sheets for data objects within rows

Tackling some UI on the front end and getting a crash course in CSS. I'm using the Syncfusion Blazor components and they are well documented. I seem to have found myself stuck with some CSS style...

View Article


How to read appsetting.json from any class blazor serverside

i know how to acess to appsetting.json fron razor component but how from any class in a blazor serverside project?from razor component i simply inject:@inject IConfiguration _configand access all that...

View Article

Is there a way to bypass a windows authentication prompt on one specific page...

I do not have access to an identity server for my blazor server side app and am currently using windows authentication where I work for the whole site. Signing in is not a problem but to control...

View Article


Image may be NSFW.
Clik here to view.

BUnit razor syntax not recognized

The blazor documentation describes how this should be done. I tried :specifying the name of the cascading parameter in both the definition. It makes sense that the names are necessary, how else would...

View Article

PDF not recognized as PDF when opened in _self

In my Blazor project, I utilize JavaScript for managing file downloads and displaying PDFs. I transfer a BLOB via interop to JavaScript and subsequently open the browser's PDF viewer. This process...

View Article

Why is MudColorPicker validation not working

I can't seem to get the validation working for the MudColorPicker component. Am I using the component or attribute incorrectly?https://try.mudblazor.com/snippet/wuGeEolkSdRPrmFc@using...

View Article
Browsing all 4839 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>