• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    C#
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A stand-alone hosted wrapper of the NuGet.Server package

NuGet Server

NuGet Server is essentially a self-hosted wrapper of the NuGet.Server package. NuGet Server is distributed with its own IIS Express instance and as such does not require a webserver to be installed on the machine.

Requirements

  • .NET 4.8 or higher
  • Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows 7, Windows 8, Windows 8.1, Windows 10 or Windows 11

Getting Started

Install as a Windows Service

  • Download Install.msi from the Releases page
  • Run Install.msi as a user with Administrator privledges
  • Complete all wizard steps
  • Browse to http://localhost:8080

Run from the Command Line

  • Download NuGetServer.zip from the Releases page
  • Unzip NuGetServer.zip to a location of your choosing
  • Run Svenkle.NuGetServer.Service.exe

Configuration

Host configuration

You can configure many different features of the host using the applicationhost.config file located in Host\Website\Configuration.

API Key, Package location etc.

You can customise all of the normal NuGet.Server functionality by editing the Web.config located in Host\Website. Further documentation on the configuration settings can be found here.

FAQ

How is this different to the Cassini based NuGet Server?

It's simple! This one is free and open-source.

Why do you bundle IIS Express as an MSI?

In order to increase support for servers that do not have IIS Express installed it must be bundled with the service. The Microsoft license agreement for IIS Express only allows distribution in .msi form.

Problems and Solutions

Specified Argument was out of the range of valid values

This issue is caused by a partial installation of Visual Studio ie. Visual Studio Build Tools. To resolve either install Visual Studio completely, Install IIS Express using the installed .msi or install the full IIS suite.