• Stars
    star
    131
  • Rank 267,117 (Top 6 %)
  • Language
    C#
  • License
    Other
  • Created about 12 years ago
  • Updated 11 months ago

Reviews

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

Repository Details

NuGet team sample repo

Samples

This repo contains NuGet sample packages and sample code.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

  1. ExtensionSDKasNuGetPackage is a sample solution that walks you through several scenarios for shipping an extension SDK as nuget package

  2. VsCredentialProvider is a sample for creating a NuGet credential provider for Visual Studio

  3. Satellite-Packages is a sample class library and console app that demonstrates how to localize your NuGet packege using the Sattelite Package feature.

  4. PackageReferenceProjects demonstrates how you can manually migrate to the new PackageReference format.

  5. ContentFilesExample is a sample package and project that demonstrates how to use the contentFiles feature in NuGet 3.3+

  6. Preinstalled-Packages demonstrates how template authors can instruct NuGet to install the necessary packages, rather than individual libraries. Read more about Packages in Visual Studio templates

  7. CatalogReaderExample is a sample showing how to read the NuGet API's catalog resource.

  8. NuGetProtocolSamples shows how to use the NuGet.Protocol package.

  9. PackageDownloadsExample shows how to get a package's download counts.

  10. PackageSourceMappingExample is a sample solution that shows how to configure Package Source Mapping for a couple projects and packages. The README contains many smaller example scenarios and results.

Documentation and Further Learning

The NuGet Docs cover creating NuGet packages in more detail:

Feedback

If you're having trouble with the NuGet.org website or HTTP API, file a bug on the NuGet Gallery Issue Tracker.

If you're having trouble with the NuGet client tools (the Visual Studio extension, NuGet.exe command line tool, etc.), file a bug on NuGet Home.

Check out the contributing page to see the best places to log issues and start discussions. The NuGet Home repo provides an overview of the different NuGet projects available.

More Repositories

1

NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
C#
1,501
star
2

Home

Repo for NuGet Client issues
HTML
1,476
star
3

NuGet.Client

Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)
C#
705
star
4

NuGet.Server

NuGet Server is a lightweight standalone NuGet server
C#
550
star
5

WebBackgrounder

Proof of concept of a web based background task manager that deals well with web farms/app shutdowns
C#
321
star
6

NuGetDocs

Former Documentation site for NuGet - now replaced by NuGet/docs.microsoft.com-nuget
C#
159
star
7

docs.microsoft.com-nuget

Documentation for NuGet
PowerShell
147
star
8

NuGet2

This is the home of nuget.core and all the repos from codeplex.
C#
92
star
9

Announcements

Subscribe to this repo to be notified of upcoming proposals and other important changes to NuGet
82
star
10

PoliteCaptcha

PoliteCaptcha is a spam prevention library for use with ASP.NET MVC that attempts polite spam prevention first, before rudely presenting the user with a CAPTCHA.
C#
73
star
11

NuGet.Build.Packaging

The NuGetizer-3000 is here!
C#
70
star
12

setup-nuget

TypeScript
69
star
13

NuGet.Jobs

C#
49
star
14

Insights

Gather insights about public NuGet.org package data
C#
24
star
15

NuGet.Services.Metadata

NuGet's Metadata Service
24
star
16

ServerCommon

Common libraries used across the server repos
C#
20
star
17

Entropy

A place for random samples, prototypes and ideas. None of the stuff here is supported or production grade.
C#
20
star
18

NuGet.Services.Dashboard

NuGet Services Monitoring Dashboard
JavaScript
11
star
19

docs.microsoft.com-nuget.zh-cn

Documentation repo for NuGet localized for zh-cn language-culture
PowerShell
9
star
20

Media

Media files for use in your NuGet integration projects
HTML
7
star
21

PackageSourceMapper

A home of the PackageSourceMapper tool that helps onboard users to PackageSourceMapping
PowerShell
7
star
22

NuGet.Services.EndToEnd

C#
6
star
23

NuGet.Operations

Operations console for executing jobs for NuGet Services
C#
6
star
24

NuGet.Services.Work

Worker that executes queued jobs for the various NuGet Services
C#
5
star
25

NuGet.Schema

5
star
26

NuGet.Licenses

A host for SPDX license text. Also allows parsing of SPDX license expressions.
C#
5
star
27

NuGet.Warehouse

A data warehouse for NuGet Gallery package downloads
PLpgSQL
4
star
28

NuGet.PackageIndex

This repo contains NuGet's implementation of the VS2015 'Add Missing NuGet packages' feature.
C#
4
star
29

NuGet.Build.Localization

Holds localization artifacts for NuGet client dlls.
Rich Text Format
4
star
30

NuGet.Services.Platform

Shared/common code for the NuGet Services
C#
3
star
31

docs.microsoft.com-nuget.ja-jp

Documentation repo for NuGet localized for ja-jp language-culture
PowerShell
3
star
32

docs.microsoft.com-nuget.ko-kr

Documentation repo for NuGet localized for ko-kr language-culture
PowerShell
3
star
33

OpsDashboard

NuGet Gallery Operations Dashboard
C#
2
star
34

NuGet.Services.Messaging

NuGet's email processing service
PowerShell
2
star
35

NuGet.Staging

A repository for the NuGet staging feature
2
star
36

docs.microsoft.com-nuget.es-es

Documentation repo for NuGet localized for es-es language-culture
PowerShell
2
star
37

NuGet.Services.Metrics

C#
2
star
38

NuGet.Services.Gateway

Gateway application for NuGet API Services
C#
2
star
39

docs.microsoft.com-nuget.de-de

Documentation repo for NuGet localized for de-de language-culture
PowerShell
1
star
40

NuGet.Services.Status

NuGet's status page
C#
1
star
41

docs.microsoft.com-nuget.pl-pl

Documentation repo for NuGet localized for pl-pl language-culture
PowerShell
1
star
42

docs.microsoft.com-nuget.handback

Handback repo for docs localization efforts
1
star
43

docs.microsoft.com-nuget.handoff

Handoff repo for docs localization efforts
1
star
44

.github

1
star
45

docs.microsoft.com-nuget.ru-ru

Documentation repo for NuGet localized for ru-ru language-culture
PowerShell
1
star