Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

BP57: Make Startup class as readable as possible

The Startup class will be one of the first things the new developers who join the team will see. So make it as simple to understand as possible.

  • Use extension methods and separate code by its funcionality to static extension classes
  • If you pass some options and the method call cannot be a one-liner, create an extension method. By creating a method you will also be able to document why your optinos are used
  • Use well defined method names


Typo: optinos

Download Better Coder application to your phone and get unlimited access to the collection of enterprise best practices.

Get it on Google Play