2min chapter

The Modern .NET Show cover image

ASP .NET Core 5 Design Patterns With Carl-Hugo Marcotte

The Modern .NET Show

CHAPTER

Servicein and Repository - Is That a Bad Idea?

You want that micro service to do as little as possible, because it should only have that single responsibility. So maybe having a service is a bad idea. Maybe you just go here. It your data repository. Here are your tables. Just convert the row that matches to the d t o and send it back to me. That requires often a bit more, more refractory skills. And i'm not saying, don't use servicein and repository. It's not what i'm saying. I mean, everything as a as a purpose, just sometimes you don't need that whole structure. You can go simple and just build. But that requiresoften a bit more,. more refract

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode