Soenneker.Nws.OpenApiClientUtil 11.0.216

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Nws.OpenApiClientUtil --version 11.0.216
                    
NuGet\Install-Package Soenneker.Nws.OpenApiClientUtil -Version 11.0.216
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Nws.OpenApiClientUtil" Version="11.0.216" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Nws.OpenApiClientUtil" Version="11.0.216" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Nws.OpenApiClientUtil" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Nws.OpenApiClientUtil --version 11.0.216
                    
#r "nuget: Soenneker.Nws.OpenApiClientUtil, 11.0.216"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Nws.OpenApiClientUtil@11.0.216
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Nws.OpenApiClientUtil&version=11.0.216
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Nws.OpenApiClientUtil&version=11.0.216
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Nws.OpenApiClientUtil

Provides a configured National Weather Service client and reuses it for the lifetime of the registered service.

Installation

dotnet add package Soenneker.Nws.OpenApiClientUtil

Configuration

{
  "Nws": {
    "UserAgent": "my-weather-app/1.0 (contact@example.com)"
  }
}

Usage

using Soenneker.Nws.OpenApiClientUtil.Abstract;
using Soenneker.Nws.OpenApiClientUtil.Registrars;

services.AddNwsOpenApiClientUtilAsSingleton();

INwsOpenApiClientUtil nws = serviceProvider
    .GetRequiredService<INwsOpenApiClientUtil>();

var client = await nws.Get(cancellationToken);
var alertTypes = await client.Alerts.Types.GetAsync(cancellationToken: cancellationToken);

Use AddNwsOpenApiClientUtilAsScoped() when each application scope should have its own generated client wrapper. The underlying HTTP provider remains shared and is disposed by the service container at shutdown.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.243 90 11/21/2026
11.0.242 98 11/19/2026
11.0.241 87 11/19/2026
11.0.240 87 11/18/2026
11.0.238 88 11/18/2026
11.0.237 94 11/17/2026
11.0.236 86 11/17/2026
11.0.235 97 11/15/2026
11.0.234 93 11/15/2026
11.0.233 97 11/15/2026
11.0.232 293 11/11/2026
11.0.231 98 11/11/2026
11.0.230 95 11/11/2026
11.0.229 92 11/11/2026
11.0.228 96 11/11/2026
11.0.227 92 11/11/2026
11.0.226 106 11/3/2026
11.0.225 95 11/3/2026
11.0.224 89 11/3/2026
11.0.216 105 10/31/2026
Loading failed

Updated Soenneker.Nws.OpenApiClient to 11.0.83