---
title: "Discussion on \"Thin controllers in ASP.Net Core\" | Hashnode"
description: "Discussion on \"Thin controllers in ASP.Net Core\". As we start implementing an API in ASP.Net core we usually repeat the constructor on each controller and the decorators for each controller class, for example:\n  [ApiController]\n    [Route(\"api/[controller]\")]\n    public class ToDoController : Contro..."
url: "https://hashnode.com/posts/thin-controllers-in-aspnet-core/60329623f51caf4448563247"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Thin controllers in ASP.Net Core](https://alexulag.hashnode.dev/thin-controllers-in-aspnet-core?utm_source=hashnode&utm_medium=feed)

As we start implementing an API in ASP.Net core we usually repeat the constructor on each controller and the decorators for each controller class, for example: \[ApiController\] \[Route("api/\[controller\]")\] public class ToDoController : Contro...

Feb 21, 2021 · 2 min read · alexulag.hashnode.dev  
Read the article

-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)
-   [#oop](https://hashnode.com/tag/oop)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[John Ubaque](https://hashnode.com/@alexulag)

@alexulag · Bogota CO

  
[View profile](https://hashnode.com/@alexulag)

Developer

I am a software engineer from Colombia, with experience in c# and Golang

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
