Monday, November 26, 2018

Drowning in Interfaces .. whats the solution?

Using ASP.net core 2.1, and of course using DI I have to generate 2 files. Despite using folders to separate operations I wonder what people with bigger projects do with their Interfaces?

Could you lump them all together in one Interface folder? Afterall you only need to access them to update them, and that can be done from the class, so there is no need for them to be in the main part of the structure.

Also, is there an "Update Interface based on Signature change" command that might automatically update the Interfaces when you change the contents of the class?

edit: I found the Update part, when you click on the changed method then the lightbulb has "Add to Interface"

Drowning in Interfaces .. whats the solution? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team