Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [blazor]

Blazor is a free and open-source web framework being developed by Microsoft. It supports incremental updates to a virtual DOM, enables UI code to be written in C# with JS interoperability, can run from either server or client, and sends data over a constant SignalR connection instead of http request/response cycles.

Filter by
Sorted by
Tagged with
2 votes
1 answer
47 views

Passing in method as func and using dynamic to circumvent type checking

I'm working on a side project. One of the design decisions is that components shouldn't do any database calling (if this is wrong or impractical then I'm open to disregarding this design policy). I'm ...
xtreampb's user avatar
  • 123
0 votes
0 answers
25 views

React equivalent to Blazor singelton pattern

I'm refactoring a code-base in React, and our design team have decided to move a button out of its usual flow and instead to a component that's very much not a descendant of the logic. I'm relatively ...
BM-'s user avatar
  • 161
3 votes
1 answer
189 views

Cargo truck travel management

With the code I'll provide my objective is to build a map (table) based on the trips the truckers should do for each week with all of the charge/discharge operations. I do not need a deep analysis, ...
davidsi02's user avatar
  • 231
1 vote
1 answer
121 views

Finding exceptions and optimisations in weather forecast service

When creating a new Blazor project, there is a page called FetchData which gives an example of a razor page using a service to pull data to a page. I set myself a ...
AT123's user avatar
  • 13
1 vote
0 answers
975 views

Parallel file upload with HttpClient in API

I have created a helper service to send files from the client application to the API over HTTP using the POST method. Source project on Blazor Server Side, .NET 6, C # 10. Service features: Sending ...
abberdeen's user avatar
  • 111
1 vote
1 answer
93 views

Allow adding errors and warnings and remove both after a while with seperate timers

I use this in my Blazor application, letting other services send errors or warnings to this AlertService. The service triggers an update of a component which simply displays the messages, errors in ...
Metallkiller's user avatar
2 votes
0 answers
1k views

C# Color implementation with conversions from RGB to HSL and CMYK and vice versa, targetting Blazor and CSS

This is an implementation of a Color class, primarily targetting the web to be used in a Blazor app. Color.cs ...
LeoVen's user avatar
  • 337