As our devs are writing internal applications, often times we need to share code. There are various ways to do this, but it usually comes down to creating a nuget package on a shared server or hosting a web api internally. We don't have a definitive way to decide between the 2 and currently have a mixture of both. Any suggestions/guidance of when to do one over the other?
To get a little more specific... Say I have a few general use methods to FormatXXX(), CalculateXXX(), SendXXX(), etc... that many apps could benefit from. Should this be an internal web api, or a nuget package?
We are a .Net shop, and use VS 2017, TFS (with git). We mostly build web apps, web api's, wcf services, and command line apps. We interface with 3rd party api's all the time.