Answer the question
In order to leave comments, you need to log in
How to take out the logic of work in separate .dll? And what is it called?
Given: a web service for sending data to WebAPI with a customer base. Each client receives mailings according to his own requirements (protocol, data fields, sometimes it is even required to send a file (.xls, .mdf, ...)).
Necessary:
Answer the question
In order to leave comments, you need to log in
For .NET, there is only one option to update a dll, and that is AppDomain.
In your case, you create new ones for each unique scenario, and if the dll changes, unload the entire domain and create a new one.
Of course it's not entirely clear from your description what exactly you want. But I will assume that Workflow is more suitable for you when you break everything into small tasks that you can already put in a dll, and then simply describe the scenario.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question