Installation and Configuration guide of Nuget Server


Hello,

If you want to create own Nuget Server, You should install Nuget.Serger package via Empty Web Site type of project in Visual Studio then publish it without typing any code.


  1. Open Visual Studio
  2. File > New > Project
  3. Select "ASP.NET Web Application (.NET Framework)" under Web node.
  4. Give a Project Name, Location if default loc. does not satisfy you.
    (you may select .NET Framework 4.6 instead of .Net framework 4.6.1, if exists. I faced an error while publishing Nuget.Server to local IIS. You may not see the issue in your try :) )
  5. Visual Studio is going to generate all necessary files for us (thanks :) ) 
  6. Right Click to Project name from Solution Explorer
  7. Find Manage NuGet Packages
  8. once you click it, you will see a form. Type Nuget.Server (Visual Studio must connect to Internet)
  9. Select "Nuget Server by .NET Foundation" 
  10. You will see Install button in the right side (for Visual Studio 2017 - other version may have differences so my message is install it )
  11. You will get couple verification, warning. Accept all
  12. Empty Web Site project will have all necessary components to be Nuget Server
  13. Open Web.config
  14. Find apiKey
  15. Set value as a key (it can be anything,but we will use it while publishing package through Nuget command)
  16. Build project
  17. Publish it (Please keep googling for how do we publish a web site in Visual Studio


Ready!,
good luck.

Muhammet ATALAY

Comments

Popular posts from this blog

Complex Query in QueryExpression in Microsoft CRM 2011

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Microsoft Power Apps Portal integration with Dynamics 365 CE On-Premise - Step By Step Guide