© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
rokibox

Controller-Service architecture. What is service?

I'm developing an ASP.NET REST API and use the Controller-Service architecture (I don't have a data layer). And I have the following question: what is a service? Is it a facade object for the controller? In this case, I have two main groups of objects: Services and Controllers, each of which is in its own namespace(folder), where, in this case, should I put the rest of the classes that the service uses? In 'Model'? In 'Core'?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What should 'Service Layer' do? (MVC; layered architecture)
C#CC# / help
4y ago
What should the service layer return back to a controller?
C#CC# / help
2y ago
ServiceFabric DataContract exception serialization and ServiceProxy.Create
C#CC# / help
2y ago
ASP.NET: Elegant controller <-> service interaction
C#CC# / help
2y ago