I have a web service API REST in ASP.NET CORE 2.0 several projects (layers) in it. However, for larger forces, it can not be used as a service.
It was then suggested to create a nuget package for this WEB API. I've never created a nuget package and I've seen examples on the internet of simple projects being used as a nuget package and not a WEB REST API. The question is:
Can I generate a nuget package from my WEB API REST application?
-
** Edit
-
Force Majeure = > The fearful stackeholders
Application Type = > Audit log (for various other applications)
Situation
Applications will not be able to do anything without logging in before, and stackeholders are concerned that this API will eventually stop working for some reason, and all applications consuming this service will stop working.
>-
Application Architecture
- Controller
- Application
- Domain
- Repository
- etc ...
1st) Do I need to change Architecture?
2nd) If it is possible to use this API as a nuget package, would I use it as if it were a service? For example I have the GET route: link . Would I use these Controllers routes? Or would I access the API's resources in another way?
- Here is the repository for this project: link