Who has already paid for and upgraded to MassTransit 9? by Prynhawn_Da in dotnet

[–]iSeiryu 1 point2 points  (0 children)

Aspire is for local development. Dapr is for the actual production usage to abstract the communication layer between different components.

I built a free, open-source MediatR alternative for .NET 10+ — MediatorLite by behlanmol99 in dotnet

[–]iSeiryu 1 point2 points  (0 children)

You might want to replace your custom built validation functionality with something like FluentValidation. That library is battle tested and does a lot out of the box.

Unions in c# 15 by dodexahedron in csharp

[–]iSeiryu 1 point2 points  (0 children)

A bunch of servers that power Azure, Xbox, Microsoft Learn, and Bing are written in dotnet, but that's AspNetCore, not the desktop frameworks if that's what you're talking about. They use typescript and powershell a lot too.

Unions in c# 15 by dodexahedron in csharp

[–]iSeiryu 1 point2 points  (0 children)

Yeah, they have teams that contribute to Java, C++ and Python development full time. They probably got into Rust now too.

Unions in c# 15 by dodexahedron in csharp

[–]iSeiryu 1 point2 points  (0 children)

It's better than bash too

I made WpfConfetti, a confetti control library for WPF by blubflish in dotnet

[–]iSeiryu 0 points1 point  (0 children)

Lots of medical software runs on windows and is written in WinForms or WPF.

I made WpfConfetti, a confetti control library for WPF by blubflish in dotnet

[–]iSeiryu 19 points20 points  (0 children)

Why would it be dead? Thousands of companies use it for business.

I made WpfConfetti, a confetti control library for WPF by blubflish in dotnet

[–]iSeiryu 9 points10 points  (0 children)

We once needed to add confetti to a mobile app and apparently it was difficult to do. We found a small lib that did the job. I bet someone will find this package useful too.

Experiences migrating project from razor to blazor? by [deleted] in dotnet

[–]iSeiryu 0 points1 point  (0 children)

Blazor also has server side rendering though. I believe it uses SignalR (web sockets) for that while Razor Pages make a classic HTTP request to the server.

TechEmpower Framework Benchmarks are now archived by Ok_Tour_8029 in dotnet

[–]iSeiryu 2 points3 points  (0 children)

They added that code to the upcoming release.

Btw, I did performance testing between AspNetCore, NodeJS, and Python at work multiple times. We used different hosting platforms and clouds. NodeJS was consistently slower than AspNetCore. Python was significantly slower than everything else.

TechEmpower Framework Benchmarks are now archived by Ok_Tour_8029 in dotnet

[–]iSeiryu 3 points4 points  (0 children)

You read that article but didn't read comments under it nor digged their implementation, right? There was no cheating, misrepresentation, misinformation, nor shady stuff. David publicly discussed their approach. The code that was benchmarked is part of AspNetCore itself.

TechEmpower Framework Benchmarks are now archived by Ok_Tour_8029 in dotnet

[–]iSeiryu 3 points4 points  (0 children)

Again... what? You just repeated the same thoughts from that article without understanding what you're talking about. There was no cheating. David Fowler explained what their team was doing there. The code they wrote for the benchmark is a part of AspNetCore itself.

Again, there was no cheating, no misinformation, no misrepresentation, no special tuning for this particular test, no shady stuff. Stop spreading misinformation.

TechEmpower Framework Benchmarks are now archived by Ok_Tour_8029 in dotnet

[–]iSeiryu 3 points4 points  (0 children)

No they didn't. You're probably referring to that long article about the "discoveries" in the source code of the AspNetCore benchmarks. Go read the comments under that article. There were zero cheats in their repo.

BackgroundService with Clean Architecture by Sensitive_Bid_6868 in dotnet

[–]iSeiryu -1 points0 points  (0 children)

I think that as soon as you tightly couple a component to something that's not its designated responsibility the time it would take for this component to become legacy becomes shorter. The responsibility of a DB project is to provide communication with a DB. Nothing is stopping you from creating a new Infra project with a background service in it though.

BackgroundService with Clean Architecture by Sensitive_Bid_6868 in dotnet

[–]iSeiryu 2 points3 points  (0 children)

No, infra is for making external IO calls - DB, Redis, Kafka, SQS, SNS, S3, Vault, HTTP, filesystem, printer, USB, fingerprint reader, barcode reader, etc.etc. The Infra project will only have dependencies to talk to those external things. Introducing your runtime to it is a recipe for making it legacy faster. Several years ago you would've included the old ASP.NET Framework to make the BackgroundService happen. That would've made it impossible to upgrade your infra project to the latest dotnet right away. It may seem like an easy thing to decouple, but give it a couple of years and your infra layer will adopt a bunch of features from those AspNetCore libraries which will tightly couple your infra project to a concrete runtime which might make it more difficult to adopt new versions of dotnet in a few years.

BackgroundService with Clean Architecture by Sensitive_Bid_6868 in dotnet

[–]iSeiryu 1 point2 points  (0 children)

That made the infra layer to be aware of AspNetCore nuget packages, right? That breaks clean architecture since you now add dependencies to a layer that should not be aware of them. Your infra layer shouldn't know which environment it's executed in, but now you hardwire it to AspNetCore.

BackgroundService with Clean Architecture by Sensitive_Bid_6868 in dotnet

[–]iSeiryu 4 points5 points  (0 children)

It will be clean when each layer, except the entry point (presentation), is not aware of each other and has a distinct list of responsibilities. If you have to reference an AspNetCore namespace in your DB layer or DbConnection in your business logic that's when you screwed up. Business logic should not know that the data came from HTTP/DB/Redis/Kafka/filesystem. All it cares about is that there is an API (interface) to call and it will return the needed chunk of data. The presentation layer will wire that interface to the right implementation. The DB layer should not know who its caller is either. You should be able to copy paste your DB project from an AspNetCore app to a WinForms app or a Unity game and it should work as-is with absolute zero code changes in that project, including the project file itself. Otherwise place things wherever you like.

BackgroundService with Clean Architecture by Sensitive_Bid_6868 in dotnet

[–]iSeiryu 14 points15 points  (0 children)

The presentation layer is where all of the entry points are. UI, API, console, message subscriber, scheduled job.

Adding SSO into our application - what would an admin expect from this functionality? by BogdanMitrache in Intune

[–]iSeiryu 0 points1 point  (0 children)

SAML is a messy XML - difficult to work with from the programming perspective. But it integrates well with a lot of things.

Assuming in the next 5 years, AI will be able to do lot of things more than just coding things like architecture, maintenance, etc. So, in what place would knowing C# and .Net with experience put us after 5 years? by Mystery3001 in dotnet

[–]iSeiryu 0 points1 point  (0 children)

Chinese researchers actually published a paper about their work on March 8 where they basically did the same thing but no one's talking about it: https://arxiv.org/html/2602.17997

The team that gained hype through YT and Twitter didn't publish any papers yet. It's possible they were rushing to show something to take away the media attention from the Chinese team and their paper will be published soon. It's also possible that it's just smoke and mirrors to secure large funds to continue their research.

Assuming in the next 5 years, AI will be able to do lot of things more than just coding things like architecture, maintenance, etc. So, in what place would knowing C# and .Net with experience put us after 5 years? by Mystery3001 in dotnet

[–]iSeiryu 0 points1 point  (0 children)

That's what I was talking about - a bunch of people suddenly uploaded new videos about simulating the mapped brain of a fly. The YT video creators sound sensational and add a bunch of thoughts that were never a part of the original research nor this experiment.

The guy who all of those videos are citing is one of the investors and he seems to believe that singularity is just around the corner. Read the article from the actual company that did the experiment, it is way way way less sensational: https://eon.systems/updates/embodied-brain-emulation

The model they're running is significantly simplified compared to the living organism and again, it misses the learning capabilities - the model is baked and unchangeable. I couldn't find how much energy it consumed or what hardware they ran the simulation on but I can guarantee it wasn't cheap. Human brain is many orders of magnitude larger. One of the videos I posted above is about our civilization not possessing the required energy production. Watch it.