With our new server hosting Telerik NuGet packages, you can now save time and get all the benefits of package management while developing with UI for Xamarin.

Today, package managers are undoubtedly the preferred way to get third party libraries added to your project. This saves you time and effort, avoiding the manual steps of downloading the library from a website and then adding it to your project.

NPM, NuGet and CocoaPods are a few of the most popular package managers, usually oriented to serve specific audiences and environments. The package manager for developers working with Microsoft technologies is NuGet.

Because of the benefits such a distribution model brings, we recently created a server which hosts all available Telerik NuGet packages. This allows you to easily add the required package(s) into an existing solution. The server greatly improves the getting started experience for both new and experienced customers.

Adding or updating the Telerik references is now just a few clicks away. Below you will find out what is needed in order to get the UI for Xamarin libraries from our NuGet server.

Using Telerik NuGet Server on a Mac with Xamarin Studio

Here are few steps describing how you can easily take advantage of the server while working on a Mac:

  1. Open the existing Package Manager

    nuget-xamarin-studio-add-packages

  2. Go to “Configure Sources…”

    nuget-xamarin-studio-configure

  3. The next dialog will list all servers that the Package Manager can connect to. You can include the Telerik NuGet Server by clicking Add.

    nuget-source-add

  4. In the Add Package Source dialog fill in the information of the Telerik server (URL: https://nuget.telerik.com/nuget) as well as your private Telerik credentials. An authentication procedure is required in order to allow downloading any of the existing packages.

    nuget-server-add

  5. Once the server is added you can easily add to your projects all Telerik NuGet packages available for your license

    nuget-xamarin-studio-manager

Using Telerik NuGet Server on Windows with Visual Studio

Here are some simple steps describing how you can use Windows and Visual Studio to utilize the server:

  1. Open the solution NuGet Package manager

    nuget-visual-studio

  2. Open the Package Sources settings window

    nuget-package-manager

  3. In the settings window click the “+” button to add a new package source

    nuget-package-manager-options

  4. When a new package source is added, specify a Name and a URL to the source itself. The address of the Telerik NuGet Server is: https://nuget.telerik.com/nuget

    nuget-package-manager-options-address

  5. When you try to connect to the server, your private Telerik credentials will be required. When the authentication procedure completes, you will be able to see and add all packages available for their license.

    nuget-vs-authentication

This is it! Just follow the steps above and voila! You now have the latest Telerik UI for Xamarin bits added to your project.

Happy coding!
pavelrpavlov
About the Author

Pavel Pavlov

Pavel has been part of the Telerik team for three years. He has background in various XAML technologies, including WPF, Silverlight and WinRT. He is now part of the UI for Xamarin team at Telerik.

Related Posts

Comments

Comments are disabled in preview mode.