Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internal NuGet Feed - folder vs IIS

Tags:

nuget

Is there a benefit to hosting an internal (remote) NuGet feed through an IIS website vs simply using a shared network folder?

like image 618
cfbarbero Avatar asked Jul 08 '11 18:07

cfbarbero


People also ask

Where are NuGet packages stored locally?

The global-packages folder is where NuGet installs any downloaded package. Each package is fully expanded into a subfolder that matches the package identifier and version number. Projects using the PackageReference format always use packages directly from this folder.

What is the NuGet feed?

NuGet is an open-source package manager designed for the Microsoft development technologies. The NuGet repository support at Cloudsmith is compatible with Chocolatey, so if you're looking to manage packages on Windows, that's our recommended approach.


1 Answers

If shared UNC access is available, then it is definitely the simpler solution to create an internal feed. However, if the feed has a large number of packages, then the performance will be better when using http because of the caching it's able to do. In the UNC case, NuGet needs to crack open the packages on every operation.

like image 74
David Ebbo Avatar answered Nov 03 '22 03:11

David Ebbo