Unable to connect to web server 'IIS Express'
I am using Microsoft Visual Studio 2019 Community preview, version 16.4.0 Preview 1.0. I just updated to Windows 10 Pro Version 1903 OS build 18362.418. With an ASP.NET Core 3 web app project (Blazor...
View ArticleInputText : unable to implement CSS for InputText
There is an issue with the InputText which is that it is unable to implement CSS from the razor.css file. This works if implementing the styling directly, but if it is not working if I am placing it in...
View ArticleHow can I get the executable folder of a tauri blazor app
I am writing a tauri Blazor app based on ASP.NET Core 8.I'm trying to get the folder where my tauri Blazor exe runs.I tried checking a folder using:@code { private string patchFolder =...
View ArticleSkiaSharp in Blazor for desktop app without WASM ( Blazor Hybrid? )
I want to use SkiaSharp in a Blazor desktop app ( Windows, Mac, Linux, etc. )I know about Blazor Hybrid ( Blazor Desktop ) but I didn't find any way to integrate SkiaSharp.So basically what I want is a...
View ArticleHow to show Google Maps Navigation with .NET MAUI Blazor Hybrid
I'm currently implementing a logistics app and I integrated Google Maps there. Now I need to show the Google Map Navigation within the app.I have added a new page called Navigation.razor and using it...
View ArticleWhy does my file upload from Blazor WebApp directly to AWS/MinIO close the...
I'm currently trying to create an Aspire based project where, among other things, you can upload files to a MinIO backend. In order to somewhat minimize the shoving around of files, I'm trying to...
View ArticleIs it possible mix Javascript and C# code in a DOM event in Blazor?
I'm trying to achieve the next in Blazor WebAssembly; I need to be able to listen for an event in a component, and use both Javscript and C# code like the next way:<button...
View ArticleWelcome text blazor app keeps receiving error "Error. An error occurred while...
The Welcome text app's purpose is to generate a web link to the WelcomeText site and send the link to a new customer. On the site, the customer is supposed to be greeted by a welcome message, but the...
View ArticleHow to use new UseExceptionHandler and Error page in Blazor net8.0
I was pleased to read that Microsoft were introducing Error page support for Blazor in net8.0, see:...
View ArticleCan we consume a Blazor component as a Web Component within a regular...
Can we render a Blazor component as an independent DOM fragment, or somehow else consume it as a standard Web Component within a vanilla HTML/JS page?This might be a naive question from the Blazor...
View ArticleI have a problem with when I use it in the _Layout.cshtml file along with...
I have a problem that I am facing while working with Blazor Server in .NET 8. My JavaScript scripts stop working correctly when I try to load the script <script...
View Article.NET 8 & Blazor components nullable warning with @ref
From what I understand the recommended method to hide null warnings on services is the following:[Inject] private IExampleService ExampleService { get; set; } =...
View ArticleBlazor 8 Timer Table update without button click
I have a Blazor 8 with InteractiveServerMode. I have a table that shows jobs to be done by a server. The jobs might be added every 20 sec (or an other program checks if there are any new jobs added and...
View ArticleToo many redirects to MicrosoftIdentity/Account/AccessDenied
I have a blazor server app with AAD login. I want to restrict access only to specific users (based on user roles).program.csbuilder.Services...
View ArticleDebounce implementation with CancellationTokenSource in Blazor server side
I implemented a debounce on input with CancellationTokenSource in Blazor server side app (.net core 3.0).It works well with input delay as expected, but always writes errors in Debug Output,when...
View ArticleWayfinder using custom map [closed]
I would like to seek some guidance in this project that im in. I have a pdf file that is a blueprint of a certain floor in a building, I would like to have a way finder using that blueprint where a...
View ArticleIs there any way to communicate to main layout of blazor pages
Here I want to pass some title to the mainlayout.razor page so that my components or pages can update the title of header. Is there any possible way in blazor to do this ? Any help will be...
View ArticleUsing On Scroll Events in Blazor to Add or Remove Classes
I need help creating a script to work in a Blazor project running Web Assembly and the latest version of .NET. The script should add or remove classes on a menu element based on the amount the browser...
View ArticleBlazor Server app not redirecting to an external payment app url
<form @onsubmit="ProcessCheckout"><div><h2>Checkout</h2><button type="submit" class="btn btn-primary">Place Order</button><a href="/cart" class="btn...
View ArticleAuthorize not working as expected in Blazor
I have a .NET 8 server-side Blazor app. It uses Entra ID for authentication and I've created a CustomAuthenticationStateProvider that gets roles from a database.public class...
View Article