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 ArticleRefresh 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 ArticleGet 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 ArticleA 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 ArticleThe 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 ArticleBlazor 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 ArticleIn 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 ArticleBlazor 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 ArticleHow 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 ArticleASP.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 ArticleHow 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 ArticleBlazor 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 ArticleBlazor 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 ArticleWhat 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 ArticleStyle 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 ArticleHow 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 ArticleIs 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 ArticleBUnit 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 ArticlePDF 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 ArticleWhy 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