Skip to main content
8 votes
Accepted

Cargo truck travel management

Name what it is, not how it is implemented in C# - public class TableItem Trip private async void UpdateTable() UpdateTrips No random numbers @for (var i = 0; i < 7 operatingWeekDays ; i++) &...
radarbob's user avatar
  • 8,249
3 votes
Accepted

Blazor web app using .NET 9: SQLDbSettings Code Optimization

I do not suggest your approach as is, for the following reasons : There are no safe-guards that prevents key uniqueness, key-pair, and also wrong procedure name. (e.g. validate ...
iSR5's user avatar
  • 6,383
2 votes
Accepted

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

Needing to access a distant RDBMS across the WAN can induce noticeable latencies. Fast unit tests may need a high fidelity mock of a database. Let's leave aside the matter of whether "no DB ...
J_H's user avatar
  • 43.3k
1 vote
Accepted

Finding exceptions and optimisations in weather forecast service

The GetForecastAsync method Since you always call it with DateTime.Now from FetchData.razor ...
Peter Csala's user avatar
  • 10.8k
1 vote
Accepted

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

Try this collection to hold your messages. It should do exactly what you are looking for - just create couple instances for errors and warnings. ...
Dmitry Nogin's user avatar
  • 6,131

Only top scored, non community-wiki answers of a minimum length are eligible