New to Telerik UI for Blazor? Download free 30-day trial

Telerik Private NuGet Feed

This article explains how to add the private Telerik NuGet feed to your system. You can use it to obtain the Telerik UI for Blazor components.

There are several approaches to set up the Telerik NuGet feed

For other issues after the setup, see the NuGet Feed Troubleshooting article.

For information on automated builds, CI and CD, see the CI, CD, Build Server article.

Visual Studio GUI

Here are the steps to add the Telerik NuGet Feed through Visual Studio

  1. Clear the local NuGet caches to ensure no cached Telerik packages exist (it is important in the steps later where your credentials will be stored by Windows). You can run dotnet nuget locals all --clear in your CLI.

  2. Open Visual Studio and go to Tools > NuGet Package Manager > Package Manager Settings > Package Sources.

  3. Click the + button at the top right hand side.

  4. Add the Telerik Feed URL and choose a Name for that package source (such as "TelerikOnlineFeed").

  5. Click OK and close all Visual Studio instances.

  6. Open a project that has a Telerik UI components library package referenced. For example, generate one through our New Project Wizard.

    • Make sure to remove local nuget.config files from the solution that contain information about Telerik packages.
  7. From the Build menu select Rebuild Solution.

  8. There will be a Windows prompt asking for credentials for the Telerik feed. Enter the email and password you use to log in to

    • Make sure to select the Remember my password checkbox.
  9. Your project should now build and restore all packages - including those from and from Telerik.

The following video explains how you can add the Telerik NuGet feed. If you prefer to do this yourself, follow the rest of this article.

The video focuses on using nuget.exe as a generic approach to do this, but if you have .NET Core 3.1 or .NET 5 (or later) you do not need it - the dotnet CLI command allows you to manage nuget feeds. You can find examples of that later in this article.

Manual Steps - CLI

To add the Telerik private NuGet feed, you can use the dotnet CLI. Ultimately, it creates a nuget.config file for you. You can get familiar with the concepts of configuring a NuGet feed source in the MSDN: nuget.config reference - Package source sections article.

The tooling does not fully support encrypted credentials for authenticated feeds, so you need to store them in plain text.

The command from the example below stores the password in clear text in the %AppData%\NuGet\NuGet.config file.

Use the CLI to add the Telerik NuGet feed (make sure to remove the new lines, they are here for readability)

dotnet nuget add source 
--name TelerikOnlineFeed 
--password <YOUR PASSWORD HERE> 

If you have already stored a token instead of storing the credentials as clear text, update the definition in the %AppData%\NuGet\NuGet.config file by using the command below.

Update Credentials for the Telerik NuGet feed (make sure to remove the new lines, they are here for readability)

dotnet nuget update source "TelerikOnlineFeed" 
--source "" 
--password <YOUR PASSWORD HERE> 

Store Encrypted Credentials

The ASP.NET Core NuGet tooling does not fully support encrypted credentials.

On Windows, if you add the feed through the Visual Studio dialog (Tools > NuGet Package Manager > Package Manager Settings > Package Sources), the credentials will be stored in the Windows Credential Manager and will be encrypted there, instead of being stored in plain text in the nuget.config file.

This is suitable only for local setup because such credentials can only be read on the same machine by the same user. You can read more about the options provided by the NuGet tooling in the packageSourceCredentials section of the nuget.config reference article at MSDN. Note the difference between the password and cleartextpassword options.

Nuget Config File

NuGet feeds and other settings can be stored in a nuget.config file. You can read more about it in the Nuget Config File - Package Sources article.

Make sure you are familiar with how such configurations work. The Common NuGet Configurations article is a reference document you can use.

To use a nuget.config file for the Telerik feed, you need to:

  1. Ensure you have the relevant config file: %AppData%\NuGet\NuGet.Config. You can create a new one by via the dotnet new command by calling dotnet new nugetconfig.

  2. Add the Telerik feed to it, and make sure to use plain-text credentials, because the .NET Core NuGet tooling does not fully support encrypted credentials. Here is an example of how your config file can look like:


    <?xml version="1.0" encoding="utf-8"?>
        <!--To inherit the global NuGet package sources remove the <clear/> line below -->
        <clear />
        <add key="nuget" value="" />
        <add key="telerik" value="" />
          <add key="Username" value="your telerik account email" />
          <add key="ClearTextPassword" value="your plain text password" />


For tips about common pitfalls when working with the Telerik NuGet feed, see the NuGet Troubleshooting article.

Next Steps

Once you have the NuGet feed set up, follow the instructions to create either a Client-side Blazor app, or a Server-side Blazor app.

Further Reading

You may find useful the following Microsoft articles on securing your NuGet feed setup and supply chain as general best practices:

Telerik is working on providing signed packages that you can verify, you can Follow the status of this enhancement here.

See Also

In this article