u/Venisol

Does anybody do the .AddApplicationServices thing in real projects?
▲ 50 r/dotnet

Does anybody do the .AddApplicationServices thing in real projects?

Ive been seeing this pattern for a while, in all kinds of sample architecture templates like this one here.

The pattern is instead of registering everything in program.cs, you extract it and have 10 places with 50 lines of registration code, instead of 1 place with 500 lines of registration code.

The same pattern you can do in a DbContext with OnModelCreating. You can either do it all in one file, or split it up.

In real projects I pretty much only see the all in one file approach. I think it makes more sense too, its more honest. Some classes are just big. If I have 100 tables, im gonna have 100 db sets and probably like 1000 lines of model configuration.

Do you find it annoying in real life projects? Or is it just fine? Do you think its better to split? Does it lead to philisophical discussions?

u/Venisol — 1 day ago

PSA: Disable all plugins, then reenable the ones you use

Ive been getting more and more frustrated with how slow rider got. Idk when it happened, but it just crept up over time. It certainly wasnt this slow 5 years ago. There also have been threads like that here.

There are a lot of plugins built in. Im not talking about custom plugins like ideaVim.

I went in and disabled all of them, then just added back the ones I actually use, when I noticed I couldnt open the db explorer or the console. I am in fucking heaven man. I wouldnt call start up time instant, but its certainly down 75% or something.

"Search Everything" can be configured like you want, I put it to files and classes since that is what I want 90% of the time and responsiveness went way up.

In addition I cleaned up visually and removed all the clutter I never use. Break line in the editor, Scope lines, line numbers, gutter icons and most of the stuff in the bottom bar, all but 4 tool windows. Its so nice and clean man.

Almost looks like distraction free mode. You can just right click stuff and get there or at least find out what things are called and then find that in the settings. You can even limit the number of tabs to like 5, so that gets less cluttered.

Just had to shout it from the roof tops, if it gets one person back to the experience from 5 years ago.

reddit.com
u/Venisol — 4 days ago

Is this information valuable to marketers?

I have this idea floating around in my head. I want to analyze radio stations and figure out who advertises.

Since its radio, there is a lot of local businesses.

If I managed to build that, could I sell access to that information to local marketing agencies?

I imagine it like this "Lawyer X and Y are advertising for four months consistently in this area" with this information a marketing agency could go out to similar local Lawyers and try to get their business.

Im not sure if it makes sense. Its not even a lead list, since you still need to do the work to find similar businesses.

Im thinking its less competetive since its all locally focused.

reddit.com
u/Venisol — 19 days ago
▲ 16 r/radio

Title pretty much. Im a dev and during an interview with a company, they basically told me the idea for a pretty simple product.

They just want to allow local stations to subscribe to competitor stations theyre interested in and then give them all the data like what kinda songs are most played etc. So they can differentiate themselves to attract listeners.

How realistic is that? Shouldnt that already exist? Especially talking about europe.

reddit.com
u/Venisol — 19 days ago