ARTIFACTORY: Step by Step guide to configure NuGet Smart Remote Repository

Products
Frog_Artifactory
Content Type
Administration_Platform
AuthorFullName__c
Vaibhav Jain
articleNumber
000005629
FirstPublishedDate
2023-03-21T08:54:25Z
lastModifiedDate
2025-07-22

ARTIFACTORY: Step by Step guide to configure NuGet Smart Remote Repository

In this article, we will configure the Nuget smart remote repository.

A smart remote repository is a remote repository that proxies a local, remote, and federated repository from another instance of Artifactory. The most important prerequisite is that both  Artifactory instances should have different licenses. Below are the steps to set up a Nuget smart remote repository.

Steps to create a Nuget Smart Remote Repository:

Here, lets say we are having two Artifactory instances namely - art1 and art2

Step 1:

In the art1 instance, go to the welcome <username> tab and select ‘New Remote(/local) Repository‘ to create a source repository.

User-added image

Step 2:

Select Nuget Repository type and provide the name to it and then Click create. 
The three repositories local, virtual and remote will be created for nuget package type.
Now, navigate to Adminsitration -> Repositories -> Remote to check the newly created remote repository.
Here, we can see the remote repository is pointing tochttps://www.nuget.org/ by default and then Click create.

User-added image
 

Step 3:

 Now in other instance art2, create a new remote repository type Nuget. In the URL, Enter the repository URL of art1 as we will be making the art2 remote repository as a Smart repository. 
Also, enter the username and password and test the connection. Make sure to append /api/nuget in the URL of the repository of art1.

For example- http://host:port/artifactory/api/nuget/repoKey/

User-added image

Step 4:

Under NuGet Settings tab, set NuGet Download Context Path to Download and leave the NuGet Feed Context Path empty.
Set the NuGet v3 Feed URL to http://host:port/artifactory/api/nuget/v3/repoKey/

User-added image

Step 5:

Enable the List Remote folder items checkbox and save it.

User-added image 
Step 6:

Go to Artifactory UI and expand the remote repository, all the packages will be listed. Also, you can test the same by configuring the new smart repository with Nuget client according to Set Me Up instructions and install packages.

And cool we are done with the set up of NuGet Smart Remote Repository.

For more information on NuGet Repositories, you can refer to the below documentation:-

  1. NuGet+Repositories
  2. setting-up-a-nuget-repository-with-jfrog-artifactory-in-less-than-one-minute/