Orc.NuGetExplorer

NameBadge
ChatJoin the chat at https://gitter.im/WildGums/Orc.NuGetExplorer
DownloadsNuGet downloads
Stable versionStable version
Unstable versionUnstable version
Find the source at https://github.com/WildGums/Orc.NuGetExplorer.

This library provides everything you need to explore and download packages from the NuGet gallery as well as any private feed.

It can be used as part of a plugin system for your application.

Features

NuGet Packages

library consists of two NuGet packages:

Screenshots

Packages available:

NuGetExplorer 01

Available updates:

NuGetExplorer 02

Recommended updates:

NuGetExplorer 03

How to use

NuGetExplorer is made up of several services:

Watcher:

Examples

Usage of IPackagesUIService for showing NuGetExplorer dialog box

public class NuGetManager
{
    private readonly IPackagesUIService _packagesUiService;
    
    public NuGetManager(IPackagesUIService packagesUiService)
    {
        Argument.IsNotNull(() => packagesUiService);
        
        _packagesUiService = packagesUiService;
    }
    
    private async Task ShowNuGetDialog()
    {
	    await _packagesUiService.ShowPackagesExplorer();
    }
}

Use IPackageBatchService and IPackagesUpdatesSearcherService for checking for updates

public class SmartUpdater
{
    private readonly IPackagesUpdatesSearcherService _packagesUpdatesSearcherService;
    private readonly IPackageBatchService _packageBatchService;
    
    public SmartUpdater(IPackageBatchService packageBatchService, IPackagesUpdatesSearcherService packagesUpdatesSearcherService)
    {
        Argument.IsNotNull(() => packageBatchService);
        Argument.IsNotNull(() => packagesUpdatesSearcherService);
        
        _packageBatchService = packageBatchService;
        _packagesUpdatesSearcherService = packagesUpdatesSearcherService;
    }
    
    private async Task ShowRecommenedUpdates()
    {
        var packages = await _packagesUpdatesSearcherService.SearchForUpdatesAsync(false);
	    await _packageBatchService.ShowPackagesBatchAsync(packages, PackageOperationType.Update);
    }
}

Contributions

We would like to thank the following contributors:

Want to contribute to the documentation? We have a guide for that!


Questions

Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!