Apr 23, 2021
Hi, I understand the reluctancy about this particular use case.
We use this approach mostly for small applications that derive from our large main application. Some of our logic is re-used in Console apps and Azure Functions, where each implementation differs from context to context. This tool allows us to avoid boilerplate and write all the code inside one Program.cs file, which gives us an at-a-glance overview of what the program is doing.
I do not recommend using this library in large applications, it would be difficult to test this code.