blazor-webassembly Questions
3
Solved
.Net Blazor WebAssembly sounds really great. It can run fully client-side, meaning there is no need for a dynamic server and one can even host it on a CDN. Even better, it is possible to turn it in...
Spirituel asked 2/12, 2023 at 12:25
3
Solved
I created a fresh new Blazor WASM project targeting .NET 8 and want to deploy it to Azure Static Web App service using GitHub actions but I keep getting an error that tells me that .NET version 8 i...
Institutionalize asked 29/8, 2023 at 18:19
4
Solved
We use Blazor WebAssembly and I want to call an non-static method in my Index.razor-File by JavaScript.
JavaScript:
(function () {
// keydown event
window.addEventListener("keydown", f...
Auteur asked 17/7, 2020 at 12:57
1
I have a Blazor Webassembly, .NET hosted application. On the server we host it on, the base path of the app will be mydomain.com/coolapp. Therefore, to try to get the app to render correctly on the...
Bibliotheca asked 14/2, 2022 at 14:42
7
Solved
In Blazor WASM standalone app it is easy, because there is dedicated element for that:
<div id="app">Loading...</div>
And it gets replaced once the the app is loaded.
In Blaz...
Hyacinthia asked 14/12, 2023 at 14:3
2
@page "/fileup"
<h3>FileUp</h3>
<InputFile OnChange="@UploadedExcel" accept=".xlsx" />
@code {
public async Task UploadedExcel(InputFileChangeEventA...
Graniteware asked 28/1, 2024 at 13:1
6
i have tied so many ways for switching Between Dark and Light Mode in Blazor.with different packages and Even Manually with css.
but they never workedout For Me.can someone Give me complete guid on...
Sidell asked 2/2, 2022 at 6:4
2
I have a Blazor WASM application that I publish to a server where it's run as an IIS site.
I've just converted it to .NET 8 and in DEBUG and RELEASE modes it executes just fine on my machine in Vis...
Frederigo asked 24/11, 2023 at 18:10
3
Solved
Before .NET 8, hosting server side controllers with a Blazor WebAssembly app was easy. You just clicked the "ASP.NET Core Hosted" checkbox in the project template, and an ASP.NET Core pro...
Roa asked 15/11, 2023 at 9:26
1
Solved
I have a Blazor Hosted WebAssembly application under .NET8. That means I have a Client, a Server and a Shared projects.
Into Server, I have the following controller, which has a loop which triggers...
Outsider asked 27/5, 2024 at 14:14
20
I have a Blazor Webassembly project with a controller method as follows:
[HttpGet]
public async Task<List<string>> GetStatesForProfile()
{
IConfigurationSection statesSection = conf...
Peritoneum asked 28/4, 2020 at 18:24
2
I'm trying to hook up MediatR in a client-side Blazor application purely to handle event notifications between components.
The event is published, and it gets picked up by a separate component with...
Kraut asked 14/10, 2020 at 10:44
8
I have an InputText in blazor and I want to prevent non-numeric characters, what is the basic razor and c# code to do that? here is how I need it to work, a user enters a character and it refuses t...
Churl asked 23/2, 2021 at 20:59
19
I am using Visual Studio 2022 for Blazor WebAssembly Project and the ASP.NET Core API Project. When I run these projects independently, they works fine in Edge, Chrome browsers but, when I select M...
Ambo asked 16/12, 2021 at 6:47
12
Solved
I'm trying to migrate from ASP.NET Core 3.1 to 5.0 using this migration guide provided by Microsoft.
I installed SDK 5.0.100-rc.1 with runtimes. I updated the project as the guide says, but I'm sti...
Balsaminaceous asked 21/9, 2020 at 13:28
4
Solved
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 ple...
Uncoil asked 29/11, 2023 at 17:9
5
Solved
In my Blazor WebAssembly client, I have this appsetting:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
}
}
So why do I still get endless cruft in...
Brucebrucellosis asked 18/9, 2020 at 15:23
1
Solved
I try to apply ASP.NET Core Blazor WebAssembly additional security scenarios Typed HttpClient with OIDC authentication like below,
// Blazor WebAssembly 'Program.cs'
public static async Task Main(s...
Prophets asked 23/6, 2021 at 4:21
2
Solved
I don't want to implement my logic in OnInitializedAsync, which happens on initial load. This should happen after the initial load and when user start resizing the browser window.
Thanks.
Budge asked 24/3, 2022 at 7:9
10
I have Visual Studio 2019 16.6.2 installed, along with the .NET Core 3.1.301 SDK and all the necessary Blazor templates.
If I create a brand new Blazor WebAssmbly application, I can run it from Vis...
Stomacher asked 12/6, 2020 at 17:24
2
Solved
I'm trying to check if my blazor web assembly app is opened on mobile or not. For that,
I created a wwwroot/script.js file and added code:
function isDevice() {
return /android|webos|iphone|ipad|i...
Pigment asked 23/11, 2020 at 14:14
1
I have a lazy loaded assembly that contains services that I need to register with the built in Dependency Injection implementation. How do I register these services so I can inject them as dependen...
Coping asked 30/11, 2020 at 19:43
3
Solved
I'm using blazor webassembly and I need to display an image that stored as byte array in the client side.
I tried
in C#:
imagesrc= Convert.ToBase64String(imageBytes);
imageDataURL = string.Format(&...
Vain asked 5/9, 2021 at 11:50
4
Solved
I have a layout (MainLayout.razor), and it has a flag called ShowFooter. On some pages, I want to be able to set that flag to true, and on some others to false.
I haven't been able to find any clea...
Moffitt asked 8/12, 2020 at 12:19
5
I'm currently using MudBlazor and really like it.
However, there are things I find myself repeatedly adding to components like CancellationTokens, are customizing the template myself.
Is there a wa...
Cylindroid asked 29/7, 2022 at 18:38
1 Next >
© 2022 - 2025 — McMap. All rights reserved.