Build Nuget Server and nugetserver

Source: Internet
Author: User

Build Nuget Server and nugetserver

Every woman has many bags. In fact, there are also men, but only the male who write programs have the big "package" and "package" in the Code world ". These large packages are purchased at a cost, from the open-source market, and made by yourself or colleagues.

Bags have the following features: easy to break, fast update, and many new products. As a result, there is a bag store on the market and a wardrobe dedicated to bags in the house. As a result, women often go shopping to buy bags, and often sort out the bags in the closet. What about men? They don't like shopping, they don't like sorting out... In the face of more and more bags, many people lament that it is difficult to be a "man who writes programs!

Finally someone can not bear the troubles of these large bags, a dedicated storage package "Storage Package" turned out-NuGet (http://nuget.codeplex.com /). Chinese translation-"New-Get"-"New (BAG)" means that no matter how many bags are there, you can throw them if you want to throw them. If you want to buy them, you can buy them. You can take care of them with NuGet.

Will you be troubled by your bags if you are a programmer? Use NuGet. Not only free, but also open-source -- can be converted to your favorite storage cabinet as needed.

There are two ways to use NuGet

One is the well-known free online bags store-http://nuget.org/list/packages. with the vs plug-in NuGet Package Manager, you can easily choose your own bags.

One is to install a storage cabinet in a company or in your own house-to set up your own NuGet server. Note: the latest version of NuGet. Server (2017-1) is 2.11.3 and must be. net framework 4.6 or later. Otherwise, compatibility errors may occur. 1. Create a project (NugetServerSol)

 

2. Right-click the solution and add a new project (NugetServer) -- add an empty website

 

3. Right-click the new website (NugetServer) to manage the Nuget package and search for NuGet. Server !!! Run the Default. aspx tab.

 

 

Running Effect: It's amazing. It's so simple (It's much simpler than building java maven). However, you have to release it to the server (under source code release and under iis). 4. set the apikey and package directory to open the web. config, set the apiKey and packagesPatch nodes to specify the access key value and package path.

 

 

5. How to enrich your resource package and clear the cache

 

The two statements tell you how to perform the operation ~~~ Next, let's take a look at the detailed operations and precautions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.