Imagine you're developing an ASP.NET Core application on a machine without any internet access. Which tool, among the following, allows you to install NuGet packages from a local feed or folder?
- Visual Studio
- dotnet CLI
- NuGet Package Manager Console
- Visual Studio Code
The dotnet CLI (Command-Line Interface) allows you to install NuGet packages from a local feed or folder. It provides the dotnet add package command, which supports specifying package sources. This is particularly useful when working in an offline environment or when you want to use custom package sources.
Loading...
Related Quiz
- How can you configure session timeout for a logged-in user in ASP.NET Core?
- You're building a custom registration form for an ASP.NET Core application, and you want to ensure that users provide a strong password. Which configuration in ASP.NET Core Identity should you adjust?
- When you attempt to create a user programmatically in ASP.NET Core, and the creation fails, what type of object can be checked to obtain the reasons for the failure?
- You are setting up a new development environment for a team that will be working on an ASP.NET Core application. While some team members use Windows, others use macOS. Which development tools would be most suitable to ensure uniformity across the team?
- While setting up an ASP.NET Core development environment on macOS, what would be the preferred installation method for the .NET SDK?