You are preparing to develop a set of libraries for a company.
The libraries must be shared across the company.
You need to create a remote NuGet feed that exposes the libraries.
What should you do? (Each answer presents part of the solution. Choose all that apply.)
A.
Install the NuGet.Feed Package.
B.
Install the NuGet.Server Package.
C.
Create a new Empty Web Site in Visual Studio.
D.
Configure the Packages folder located in the appSettings section of the web application’s Web.config.
E.
Add packages to the Packages folder.
F.
Create a new Empty Web Application in Visual Studio.
Explanation:
B: NuGet.Server is a package provided by the .NET Foundation that creates an ASP.NET application that can
host a package feed on any server that runs IIS.
The process is as follows:
(F) Create an empty ASP.NET Web application in Visual Studio and add the NuGet.Server package to it.
(E) Configure the Packages folder in the application and add packages.
Deploy the application to a suitable server.D: Configuring the Packages folder
With NuGet.Server 1.5 and later, you can more specifically configure the package folder using the appSetting/
packagesPath value in web.config:
<appSettings>
<!– Set the value here to specify your custom packages folder. –>
<add key=”packagesPath” value=”C:\\MyPackages” />
</appSettings>
https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server