Multiple ways to install Nuget packages in Visual Studio

In this tutorial we will learn how to install nuget packages in asp .net.

What is nuget?

NuGet is a free and open-source package manager for the Microsoft development platform which automates the process of installing, downloading and removing packages. Nuget is central package repositry used to upload and consume packages online.Nuget is used to easily import third party libraries into your project solution.

 

In this tutorial we will take an example of Jquery package to download all the necessary files required to use Jquery in asp .net

  1. Using Nuget GUI.
  2. In this example we will use Nuget GUI to add packages into our asp .net project.

    Go to: Tools=>Nuget Package Manager=>Manage Nuget Packages for solution.

    How to Install nuget packages in asp .net

     

    Search for nuget package.

    How to Install nuget packages in asp .net

     

    Press OK.

    How to Install nuget packages in asp .net

     

    All required files are downloaded.

    How to Install nuget packages in asp .net

  3. Using Nuget Package Manager Console.
  4. In this example we will used Nuget package manager console to install our package.

    Go to www.Nuget.org and search for Jquery(Or any other) package

    After you select your desired package you will see command like this: (Copy command) How to Install nuget packages in asp .net

     

    Go to: Tools=>Nuget Package Manager=>Package Manager Console.

    How to Install nuget packages in asp .net

     

    Paste the command in package manager console and hit enter.

    How to Install nuget packages in asp .net

    All required files are downloaded.

    How to Install nuget packages in asp .net
 
Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

Name
Email
Comment
7 + 7 =
 

About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2024 CodingFusion
50+ C# Programs for beginners to practice