exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 127 discussion

Actual exam question from Microsoft's 70-487
Question #: 127
Topic #: 1
[All 70-487 Questions]

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.
Show Suggested Answer Hide Answer
Suggested Answer: BDEF 🗳️
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>
References:
https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
supersunny
Highly Voted 5 years, 5 months ago
BDEF. https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server.
upvoted 6 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...