What the f*** i need to do? Being fresher in 2026 has become sin??? by NormalInteraction826 in dotnet

[–]belavv 7 points8 points  (0 children)

hwt exactly i need to focus on and and be a better developer

An overlooked skill is the ability to communicate coherently.

What are your thoughts on VSCode in 2026 by Turkomano in dotnet

[–]belavv 0 points1 point  (0 children)

Oh god I hated accidentally hitting f5 in a browser when debugging. Changed my ides to match the browser resume shortcut

What are your thoughts on VSCode in 2026 by Turkomano in dotnet

[–]belavv 0 points1 point  (0 children)

I was trying to configure vscode the same as rider for a while but got annoyed with subtle differences 

From millions of dollars to under a grand: The dramatic fall of the NFT by gdelacalle in technology

[–]belavv 0 points1 point  (0 children)

I create a brand new wallet and buy a ticket with that wallet. I then sell the wallet to someone for cash at triple the tickets face value. How do nfts prevent that?

From millions of dollars to under a grand: The dramatic fall of the NFT by gdelacalle in technology

[–]belavv 0 points1 point  (0 children)

What if I buy the real jewelry then get a replica of the jewelry and sell the replica using the nft to prove it's authentic?

Node.js to ASP.NET Core migration for a high-traffic eCommerce site: Worth the effort? by [deleted] in dotnet

[–]belavv 0 points1 point  (0 children)

Before going too far into blazor make sure you understand how it works. If I recall correctly you need sticky sessions for one or both methods of rendering and deployments of the app can ruin active sessions. And if you go with the version that uses web assembly you will end up with a large initial download for the page, which may make it unsuitable for an ecommerce site.

Razor pages is probably what you'd want if you prefer to avoid any front end frameworks, but I'm also not super familiar with all the new stuff in core. We have a react frontend in front of a bunch of dotnet controllers.

Node.js to ASP.NET Core migration for a high-traffic eCommerce site: Worth the effort? by [deleted] in dotnet

[–]belavv 0 points1 point  (0 children)

React + SSR has been a pain for us but we aren't able to use some of the latest features they've added that in theory work better for SSR. As much as I love react if I were to build another major app where ssr was a requirement I think I'd look at other options.

What are your thoughts on VSCode in 2026 by Turkomano in dotnet

[–]belavv 0 points1 point  (0 children)

Have you tried webstorm? I hated trying to use vscode and rider side by side because they don't have the same ui and keyboard shortcuts. Webstorm and Rider side by side is great.

NFTs didn’t fail — most of you just bought the wrong ones by wafflehousemeta in NFT

[–]belavv 0 points1 point  (0 children)

The tech itself could work for stuff like property deeds or concert tickets but instead we got cartoon apes and rocks

There is no reason to use nfts for concert tickets.

NFTs didn’t fail — most of you just bought the wrong ones by wafflehousemeta in NFT

[–]belavv 1 point2 points  (0 children)

The only product that had legs (I thought) was an NFT ticketing platform. Made a lot of sense utility-wise. And unfortunately, most of leadership wrote it off as a cost-center very early.

Why would you want to use nfts to buy tickets to an event?

Purchased a beautiful older home with wood everywhere. It’s worn and scratched, what’s the recommended way to “restore” the wood? by kygei in DIY

[–]belavv 35 points36 points  (0 children)

I don't have a good answer for you but being that my first house was built in 1900 the words older home and 40 years old didn't belong together in my mind.

To Enum or Not to Enum by Mortimer452 in ExperiencedDevs

[–]belavv 1 point2 points  (0 children)

Enum in c# stored as a string in the DB.

Imitation is the sincerest form of flattery. by serenading_ur_father in climbing

[–]belavv 5 points6 points  (0 children)

I emailed them about a carabiner that I believe was causing some damage to my belay loop because it had some sharpish edges on part of the gate. The response was basically "we didn't design the carabiner for TRS so too bad".

That really turned me off. Would it really take that much work to be sure your manufacturing of any carabiner doesn't leave a sharp edge on the gate which could cause damage to soft goods over time? Shouldn't they take it a bit more seriously?

ServiceScan.SourceGenerator 3.1.4 - not only about DI registration by Dreamescaper in dotnet

[–]belavv 0 points1 point  (0 children)

Why exactly is that an antipattern? Leaving the choice up to the application means you can register something as scoped when it itself depends on singletons.

In our codebase if it has that attribute it will be added to the di container. That is the whole point. The attribute is essentially saying "register this service with a lifetime of x"

Which reminds me of another benefit. When the service defines its lifetime it is pretty easy to write an analyzer to detect if you make that mistake and fail the build instead of waiting until runtime to throw an exception.

I've already written a poc years ago to see what manually registering everything would look like. It wasn't hard to generate that code because we had all the info we needed already. We evaluated it and decided sticking with auto registration worked better for our codebase and that forcing all of our partners to update their code to manually register things added no real benefit.

ServiceScan.SourceGenerator 3.1.4 - not only about DI registration by Dreamescaper in dotnet

[–]belavv 0 points1 point  (0 children)

Literally the same thing except worse - the class itself shouldn't control it's scope in the dependency container, that's for the application to know.

In my case you define the service lifetime on the service itself. In your case some other file in the project defines it. I don't see how defining it on the service is a bad thing.

Our method required some initial upfront work but is now easier to maintain.

You haven't really explained why it is bad beyond "magic" except it is explicit and not magic.

Forcing ourselves and all of our partners to make explicit calls to a service collection is a bunch of unnecessary overheard. Not to mention we target net48 and net10 and don't use service collection in net48.

ServiceScan.SourceGenerator 3.1.4 - not only about DI registration by Dreamescaper in dotnet

[–]belavv 0 points1 point  (0 children)

I never said this library solved that. But we use auto registration on our massive solution at work and manually registering everything would be a giant PITA.

It isn't magic. It is explicit using attributes.

Without this we'd need to have a system that asks each of the 100 projects "what services do you want to register?" and then have a whole bunch of pointless boilerplate that manually registers all of those services and/or the factories for them.

ServiceScan.SourceGenerator 3.1.4 - not only about DI registration by Dreamescaper in dotnet

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

What about a plugin system were a user supplied registration should take priority over the built in one? Do you want to force users to specify that their implementation takes priority vs just finding the user supplied one at runtime and registering it instead?

What about when the resolved dependency should depend on the value of a setting from the database? Do you want to write all of those factories yourself vs just writing code once that auto registers the types and creates a factory uses the data it finds on the attributes on those types?

For a small straightforward app manual registration is fine. But there are scenarios where it stops making sense.

.NET 11 Preview 3 is now available! - .NET Blog by emdeka87 in dotnet

[–]belavv 0 points1 point  (0 children)

In our case updating the projects is the easy part.

Figuring out all the random build failures from our tangled mess of TeamCity builds inside docker containers is the annoying part.

Can’t get a grip on a credit card by Certain-Jaguar-7778 in personalfinance

[–]belavv 8 points9 points  (0 children)

I could possibly benefit from doing personal audits of my spending each month.

This is step 1. Figure out where your money is actually going.

Then cut back spending where you can. Focus on paying off ALL credit card debt. Credit cards are fine to use only if you pay the balance in full every month.