Artifactory (NuGet)

3 Easy Steps

Teams using JFrog Artifactory can manage access to NES packages through 3 easy steps:

  1. Create a Remote Repository for our private NuGet registry.
  2. Verify your developers are able to access our package through your Virtual Repository.

Create a Remote Repository

  1. Navigate to the Administration tab (top navbar next to Application)
    "Step 1"
  2. Select Repositories (left side navbar)
    "Step 2"
  3. Navigate to the Remote subtab.
    "Step 3"
  4. Select Create Repository > Remote, and then select NuGet as the type.
    "Step 4a""Step 4b"
  5. Configure the following parameters on the Basic tab:
    "Step 5"
    ParameterValue
    Repository Keynes (or whatever alias your team prefers)
    URLhttps://registry.nes.herodevs.com/nuget/v3/index.json
    Usernameartifactory
    Password<NES_ACCESS_TOKEN>
    NuGet v3 Feed Urlhttps://registry.nes.herodevs.com/nuget/v3/index.json
    Force Authenticationtrue
  6. Configure the following on the Advanced tab:
    "Step 6"
    • Ensure Bypass HEAD Requests is checked
    • Ensure Disable URL Normalization is checked

The final results should look similar to the following:

Basic

"Result-Basic"

Advanced

"Result-Advanced"

Verify Access

Lastly, with your Virtual Repository keyed as nuget-default and assuming that you have a valid Artifactory username / password, configure your NuGet Package Manager accordingly:

  1. Open a project in visual studio
  2. Go to Tools > NuGet Package Manager > NuGet Manager Settings
  3. Click on the + button on the top right
  4. Fill in the following
    1. name: Whatever name your teams wants
    2. Source: https://<DOMAIN>.jfrog.io/artifactory/api/nuget/<ARTIFACTORY_REPO_NAME>/

"verify-access"

Once added, you should see a new package source in the NuGet packet manager.