Developing Microsoft Azure and Web Services — Question 73
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.)
Answer options
- 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.
Correct answer: B, D, E, F
Explanation
The correct answer is B, D, E, and F. Installing the NuGet.Server Package (B) is essential for setting up a remote NuGet feed. Configuring the Packages folder in the Web.config (D) and adding packages to that folder (E) are necessary steps in managing the library packages. Additionally, creating a new Empty Web Application (F) is required to host the feed. Option A is incorrect because the NuGet.Feed Package is not necessary for this setup, and option C is not suitable as a website is not needed for a NuGet feed.