AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() In your build pipeline, there's a NuGet Restore step. Once the setup is completed your build pipelines can now fetch packages from the Telerik NuGet feed. Once that selection is made, you can enter the Telerik server URL and use your Telerik account credentials. ![]() For the Telerik NuGet server select Basic Authentication. On the Project Settings page, select the Service Connections menu item under Pipelines and then open the New Service Connection drop down.Įnter the URL and authentication credentials in the dialog window. Go to the Project Settings in your DevOps project portal. See the NuGet packageSourceCredentials documentation for more information. This is because Password is an encrypted value, set on a specific Windows machine, and is only supported on Windows. You cannot use Password instead of ClearTextPassword. That Service Connection can now be used by multiple pipelines to authenticate private NuGet feeds (and other services that need authentication). The Azure DevOps Service Connection resolves this as it lets you enter credentials in a secure manner without unnecessarily exposing account details. However, this could be a security issue in a CI/CD environment where another user might be able to read the values of environment variables. The following example demonstrates how to do this. Set your own username and password (in clear text) that are needed to log in to the Telerik site. ![]() Add a new nfig item to the same directory as the project.json file is located.Add nfig to the WebApp project in Visual Studio.The NuGet config file allows you to set package sources as well as where to get the credentials. These credentials can be later accessed via the Windows Credentials tab in the Credential Manager app (e.g. Visual Studio will prompt you for your Telerik credentials the first time the feed is accessed. In Visual Studio add a private NuGet feed by going into the Tools > Options > NuGet > Package Sources and add a Package Source. Тwo options are available when restoring Telerik NuGet packages in your build definitions.īoth require that a private NuGet feed is set up along with a nfig file. ![]() How can I set up the private NuGet feed in Azure to publish an ASP.NET Core application that references the Telerik UI for ASP.NET Core package? Solution Download free 30-day trial Set Up Private NuGet Feed for Azure Environment Product ![]()
0 Comments
Read More
Leave a Reply. |