Skip to main content
Filter by
Sorted by
Tagged with
10 votes
1 answer
15k views

I'm using vscode. I cannot debug "standalone" (or "hosted") blazor wasm. There are many questions like this, but they are for RCs, bugs apparently fixed for .NET 6, or tooling bugs ...
lonix's user avatar
  • 22.4k
7 votes
2 answers
9k views

I have this code. <ParentComponent> <ChildComponet> @renderFragment </ChildComponent> <ChildComponetn> <GridComponent Data="@dataList"/> &...
Kristijan Mihaljinac's user avatar
8 votes
2 answers
6k views

I'm learning about the Blazor, and see benefit of 2 types client-side and server-side. I want to use both on the same web e.g. one path is a client-side WebAssembly app, another path is a server-side ...
user avatar
1 vote
1 answer
8k views

How to Embed a Leaflet map on a Blazor SPA, using JSInterop, what objects should be defined, and how to pass data that represents the location clicked on the map, from JavaScript to Blazor
enet's user avatar
  • 46.4k
77 votes
14 answers
76k views

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 still ...
Kasta's user avatar
  • 2,084
4 votes
1 answer
4k views

Please, see this question for context and the answer by MrC aka Shaun Curtis This question is about something I've tried to solve in the past without great success. Are you familiar with this sample ...
enet's user avatar
  • 46.4k
1 vote
1 answer
2k views

I tried to find files located in the root project of my Blazor Client WebAssembly project. While it works when executed locally on my computer, it doesn't work when hosted on Azure. When executed ...
Bronzato's user avatar
  • 9,416
53 votes
3 answers
69k views

I'm learning the Blazor technology. I started a default increment project in VS 2019 and I have modified the code for Decrement with confirm() and alert but it does not work. @page "/counter&...
Prasanna Kumar J's user avatar
25 votes
3 answers
8k views

I have a simple Blazor WASM running Net 6 Preview 4 that I setup using this guide: https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/hosted-with-azure-active-directory?view=...
aherrick's user avatar
  • 20.2k
0 votes
3 answers
3k views

My Blazor component has some associated JavaScript, which performs (async) animations. MyComponent.razor protected override async Task OnAfterRenderAsync(bool firstRender) { if (someCondition & ...
lonix's user avatar
  • 22.4k
22 votes
8 answers
35k views

I have a Blazor WASM app and a Web Api to get called by Blzor via HttpClient. Both programs run on the same machine (and also in production environment which should not be to exotic for a small ...
tomschrot's user avatar
  • 259
20 votes
2 answers
12k views

I'm looking for a way to render a Blazor component into an HTML string, so that I'll be able to use it as a templating engine to create and send emails in my web application. Ideas?
Franc's user avatar
  • 5,514
6 votes
1 answer
9k views

I have some complex calculations that take a while to do. (Yes, I know, client-side may not sound like the ideal place to do them, but there are good reasons for it.) I would like the page to update ...
TallGuy's user avatar
  • 1,953
5 votes
4 answers
5k views

I would like to set up a Blazor client-side app with authentication through AWS Cognito. When I run the app I'm not redirected to a login page, instead the page says "Authorizing..." for a few ...
matlodej's user avatar
34 votes
1 answer
36k views

I'm new to blazor C# and trying to make a simple countdown timer website. My website consist of: Text to display the timer Start and stop button Buttons to set the timer I'm having a problem in the ...
TheNoobProgrammer's user avatar
16 votes
3 answers
34k views

I recently started developing a Blazor WebAssembly app, and now I'm settling on a database connection. All lessons and instructions say that you need to enter information into the Startup.cs file and ...
Евгений Ляшенко's user avatar
11 votes
1 answer
6k views

I watched this tutorial on how to create a .NET MAUI Blazor App https://www.youtube.com/watch?v=bnoCU5XGBh4 However I have an existing Blazor Web Assembly app, what is the best recommended way to wrap ...
User101's user avatar
  • 860
9 votes
3 answers
4k views

Many SO answers use await Task.Delay(1) to solve various async rendering issues in Blazor (wasm). I've even found a number of places in my own code where doing that "makes it work". However ...
lonix's user avatar
  • 22.4k
6 votes
5 answers
4k views

It's a little duplicated Event for click outside a div or element to close it on Blazor, but no right answers. (And I didn't find anything on my topic in Google) In JS I just use "window.onclick&...
Naked Snake's user avatar
4 votes
5 answers
24k views

I want to create a simple expandable table in Blazor WebAssembly. I added some HTML code like the following: <table class="table table-hover"> <thead> <tr> <...
Enrico's user avatar
  • 6,872
2 votes
2 answers
2k views

Have working knowledge of Blazor WebAssembly but not too advanced. I'm good with EventCallback from child components. What I haven't seen anywhere documented is how to subscribe to EventCallback from ...
frigon's user avatar
  • 5,159
1 vote
2 answers
3k views

I have a blazor webassembly component for a modal pop-up. So far it works, but it will only close when you click the x button and not when you click off Here is the code in question @using System....
wolfman928's user avatar
0 votes
1 answer
2k views

I'm new to a Blazor and now I'm working to Blazor WebAssembly project. I have couple razor page with a table where I'm displaying data from SQL. When I click in one of the table rows it opens a page ...
ewardz1's user avatar
  • 39
27 votes
20 answers
64k views

I have a Blazor Webassembly project with a controller method as follows: [HttpGet] public async Task<List<string>> GetStatesForProfile() { IConfigurationSection ...
mz1378's user avatar
  • 2,632
25 votes
2 answers
34k views

I have a custom component with an event Action called TabChanged. In my Razor page I set the reference to it up like so: <TabSet @ref="tabSet"> ... </TabSet> @code { private TabSet ...
INNVTV's user avatar
  • 3,439

1
2 3 4 5
10