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

Image may be NSFW.
Clik here to view.

.net blazor new debug profile lacks .css .js why? / no css / not applied css

i have some .net blazor serverside project that use MudBlazor for FrontEndi neded to add new debug profile for test env.so i did copy defauld debug profilerenamed id to httpsTest and changed env...

View Article


On Blazor Auto render mode: Can we immediately drop the websocket when WASM...

Currently, if we use an Auto render mode for a component, and the WASM has not previously been downloaded in the browser, the SignalR connection remains open after the WASM download is completed until...

View Article


ElectronNET Electron.Dialog.ShowOpenDialogAsync never returns

Consider the following code:private async Task ShowOpenFileDialogAsync(){ BrowserWindow? mainWindow = Electron.WindowManager.BrowserWindows.First(); OpenDialogOptions options = new() { Title = "Choose...

View Article

Image may be NSFW.
Clik here to view.

Duplicate Content Security Policies for frame ancestors generated (Blazor,...

I have published a web app (sub.domain.com) to an Internet Information Services (IIS) virtual server and now wish to display it in an iFrame on www.otherdomain.com. The published web.config file on the...

View Article

Image may be NSFW.
Clik here to view.

Blazor components folder issue

I am working on a Blazor hybrid project and have a component called ArraySelector.If I place the component in a subdirectory BaseComponents as shown belowAnd setThe @onclick event is not recognize and...

View Article


Alignment of items inside of HeaderTemplate of RadzenPanel

I've specified a custom header-template for a RadzenPanel-component. I want some items to align on the left side and other one on the right side of that panel header.I found an similiar question here...

View Article

VSTHRD003 with AuthenticationStateTask

After migrating from .Net 6 to .Net 8, I see the following warning:VSTHRD003: Avoid awaiting or returning a Task representing work that was not started within your context as that can lead to...

View Article

How to authenticate with Auth0 inside of a Blazor WASM app wrapped into a...

We have a Blazor WASM application that we are releasing as an app using Median (formerly GoNative). Our app has a secured portion that required a user to sign in via Auth0.We have Auth0 working fine...

View Article


Bunit.Extensions.WaitForHelpers.WaitForFailedException after running all tests

With Bunit, my test always pass if I run I lonely. In the contrary, if I run all my 284 tests, I get this error like half the time and I do not know why. This is really frustrating because this is...

View Article


Image may be NSFW.
Clik here to view.

In Bootstrap why does "fixed-bottom" make the buttons full width when...

On one page, I want 1 button near the top and 2 buttons fixed to the bottom. With everything else being equal when I add the fixed-bottom` class to the div containing the buttons to be fixed to the...

View Article

How to denote Blazor component is abstract using only .razor file?

When I have .razor.cs file it is no brainer, but how to tell given Blazor component is abstract when having only .razor file?I checked...

View Article

Blazor: The name 'Acti' does not exist in the current context

I'm getting the following Error:The name 'Acti' does not exist in the current contextIn the code behind file acti is declared as a string:[Parameter]public string? Acti { get; set;...

View Article

FluentUI: Capture KeyCode [Ctrl] + Mouseclick

I am using FluentUI for Blazor WASM in version 4.10.3.I want to check if they key [Ctrl] is pressed when clicking on an element with my mouse.I registered builder.Services.AddFluentUIComponents(); in...

View Article


Blazor dependency injection service not registered

I created an ASP.NET Blazor project. There is a Client which is a Blazor WebAssembly application, and it has a BaseLibrary where I store the DTOs and Entities, and a ClientLibrary that I use to call...

View Article

Blazor server - Fluent UI - Set focus to a FluentDatePicker

I can set focus to a FluentTextField:Use a @ref: @ref=myFluentTextFieldDeclare it as a FluentTextField:FluentTextField? nombreFluentTextField;Set focus:protected override void OnAfterRender(bool...

View Article


Blazor WASM - How do I register the access token when I have authenticated...

I have a Blazor WASM website where I need to authenticate using Auth0 thru JavaScript. The user is given a window where they sign into Auth0.I can make the call successfully and I get back the...

View Article

Register Service in Server And Client Blazor Web App .Net 8

I have a Blazor Web App .Net 8 project.I want to register the JsMethods service in the Client Program.cs file//JsMethods Servicenamespace QK.Services.Js{ public interface IJsMethods { Task...

View Article


Blazorise Vertical Sidebar always on top and collapsed

I would like in my Blazor PWA wasm the Sidebar always on top and collpased.I tried adding to class 'collapse' but the Sidebar disappear.<div class="sidebar collapse"><NavMenu...

View Article

Image may be NSFW.
Clik here to view.

blazor after visual studio update throws some strange JS warnings

After update visual studio to 17.11.3, in almost every file that i opened with visual studio threw some warning:Severity Code Description Project File Line Suppression StateWarning (active) TS1109 (JS)...

View Article

How to add panning and zoom in blazor web app wasm

I create a new blazor web app project like this: (https://i.sstatic.net/ejiES4vI.png)It has 2 projects in 1 solution, one is server-side and the other one is client-side. In client-side project there...

View Article
Browsing all 4031 articles
Browse latest View live


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