1
I have a WEB API REST service in ASP.NET CORE 2.0 multiple projects(layers) in it. However, by larger forces, it cannot be used as a service.
It was then suggested to create a nuget package for this WEB API. I have never created a nuget package and have seen examples on the internet of simple projects being used as nuget package and not a REST WEB API. The doubt is as follows:
I can generate a nuget package from my REST WEB API application?
--
** Edit
--
Force majeure => The fearful stackeholders
Type of Application => Audit Log (for several other applications)
Situation
Applications will not be able to do anything without logging in first and stackeholders are afraid that, by some chance, this API will stop working for some reason, and all applications that used this service will stop working.
--
Application Architecture
- Controller
- Application
- Domain
- Repository
- etc....
1º) I would need to change the Architecture?
2º) If it is possible to use this API as a nuget package, would I use it as a service? For example I have the GET route: http://localhost/api/logs. Would I use these controller routes? Or would I access the API resources otherwise?
- Here is the repository of this project of mine: https://github.com/LeoFelipe/AuditLog
Could you clarify which are the larger forces?
– Leandro Angelo