So I am trying to get more knowledge on the Architecture/Infrastructure of an application and want to build simple applications, just to learn.
So what I was wondering is the following:
If I have multiple applications which have functions that are almost same in every application, how can I move this code to 1 place and let all applciations use it.
Let's say the way of logging in. You preferably want to build it one time and maintain it at one place. All updates should be done in one place.
Should I use an Api, nuget, shared library or something else?
The database for each application should be different.
This is a general question, but I am coding in C# .net