C#C
C#12mo ago
jojomueller05

Worker service recommended folder structure / namespaces

Hi there,

I used to do a lot of procedural programming. Now, I have to build an OOP C# Worker service that processes files (Extract data, create JSON/XML or write data into a DB). I already know the basics of OOP and have built some smaller Java applications.

Is there a recommended or best practice folder structure or pattern, like MVC, for a Worker service?

For example, in Java, I had to build an abstract class and two child classes (in-memory and database) in order to write unit tests.
Was this page helpful?