Skip to content

Latest commit

 

History

History
96 lines (66 loc) · 4.74 KB

nuget-install.md

File metadata and controls

96 lines (66 loc) · 4.74 KB
title page_title description slug previous_url position
NuGet Packages
NuGet Packages - Getting Started
Download and install Progress Telerik UI for ASP.NET MVC from our NuGet feed.
aspnetmvc_nuget
/nuget-install
3

NuGet Packages

Telerik maintains a NuGet Feed for registered users.

NuGet is a popular .NET package manager. Official releases and service packs of UI for ASP.NET MVC are available for registered users.

The Telerik Private NuGet Feed

To use the Telerik NuGet Feed as a Package Source, use the NuGet CLI.

As of now, Visual Studio does not provide a UI for configuring authenticated NuGet feeds.

Set Up NuGet Package Source

  1. Download the latest NuGet executable.
  2. Open a Command Prompt and change the path to where the nuget.exe is downloaded.
  3. Execute the command from the example below.

Store Encrypted Credentials

The command from the example below stores a token in the %AppData%\NuGet\NuGet.config file. Your original credentials cannot be obtained from this token.

If you are unable to connect to the feed by using encrypted credentials, try the alternative approach of storing credentials in clear text.

NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
      -UserName "your login email" -Password "your password"

Store Credentials in Clear Text

The command from the example below stores the password in clear text in the %AppData%\NuGet\NuGet.config file. If you are unable to connect to the feed using encrypted credentials, use this alternative approach.

NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
      -UserName "your login email" -Password "your password" ^
      -StorePasswordInClearText

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 following command.

NNuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
      -UserName "your login email" -Password "your password" ^
      -StorePasswordInClearText

Install NuGet Packages

With the setup done, you can install packages either through the Package Manager Console or through the Package Manager Dialog.

List of Provided Packages

The NuGet Feed provides the following packages related to UI for ASP.NET MVC:

  • Telerik.UI.for.AspNet.Mvc5—Telerik UI for ASP.NET MVC 5 Commercial.
  • Telerik.UI.for.AspNet.Mvc5.Trial—Telerik UI for ASP.NET MVC 5 Trial.
  • Telerik.UI.for.AspNet.Mvc4—Telerik UI for ASP.NET MVC 4 Commercial.
  • Telerik.UI.for.AspNet.Mvc4.Trial—Telerik UI for ASP.NET MVC 4 Trial.
  • Telerik.UI.for.AspNet.Mvc3—Telerik UI for ASP.NET MVC 3 Commercial.
  • Telerik.UI.for.AspNet.Mvc3.Trial—Telerik UI for ASP.NET MVC 3 Trial.
  • Telerik.UI.for.AspNet.Core—Telerik UI for ASP.NET Core Commercial.
  • Telerik.UI.for.AspNet.Core.Trial—Telerik UI for ASP.NET Core Trial.

The Kendo UI Packages are listed in a separate section.

Troubleshooting

After changing my Telerik password, I get [Telerik Nuget] The V2 feed at '...' returned an unexpected status code '401 Logon failed.' error

After changing your Telerik password, you need to reset your credentials in the NuGet.config file. To do this, run the NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" -UserName "your login email" -Password "your new password" command.

NuGet package takes too long to install or update on Visual Studio

  • Disable the auto-sync in the _references.js file by modifying the following /// <autosync enabled="false" /> line.
  • You can also disconnect the project from the source control before running the Update Wizard.

See Also

  • [Telerik UI for ASP.NET MVC Fundamentals]({% slug fundamentals_aspnetmvc %})
  • [Scaffolding with Telerik UI for ASP.NET MVC]({% slug scaffolding_aspnetmvc %})
  • [Use Telerik UI for ASP.NET MVC in MVC 3 Applications]({% slug aspnetmvc3_aspnetmvc %})
  • [Use Telerik UI for ASP.NET MVC in MVC 4 Applications]({% slug aspnetmvc4_aspnetmvc %})
  • [Use Telerik UI for ASP.NET MVC in MVC 5 Applications]({% slug aspnetmvc5_aspnetmvc %})
  • Use Telerik UI for ASP.NET MVC in Core MVC Applications
  • [Use Telerik UI for ASP.NET MVC Visual Studio Extensions]({% slug overview_visualstudio_aspnetmvc %})
  • [Telerik UI for ASP.NET MVC Troubleshooting]({% slug troubleshooting_aspnetmvc %})