Currently our infrastructure consists of multiple applications and multiple back-end databases.
I want to develop a more loosely coupled infrastructure by creating web API’s and messaging to help communicate between multiple applications.
I also want to move business logic out of stored procedures which we currently rely on heavily, and put this logic in services containing NServiceBus handlers. Does this sound sane?
One of the things i am not entirely sure about is if i want an external application to grab information from a database how do i return this information.
External API -> NServicebus WebAPI endpoint -> get information -> return information(Json Response)
-> external API
Is this the process i would use? does NServiceBus allow for this? what are the best practices?
I am graduate developer so please bare with me and correct me if anything i say seams daft!