Soenneker.Nws.OpenApiClientUtil 11.0.214

Prefix Reserved
dotnet add package Soenneker.Nws.OpenApiClientUtil --version 11.0.214
                    
NuGet\Install-Package Soenneker.Nws.OpenApiClientUtil -Version 11.0.214
                    
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.214" />
                    
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.214" />
                    
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.214
                    
#r "nuget: Soenneker.Nws.OpenApiClientUtil, 11.0.214"
                    
#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.214
                    
#: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.214
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Nws.OpenApiClientUtil&version=11.0.214
                    
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.214 48 10/27/2026
11.0.213 46 10/27/2026
11.0.212 46 10/27/2026
11.0.211 75 10/27/2026
11.0.210 92 10/26/2026
11.0.209 92 10/26/2026
11.0.208 86 10/26/2026
11.0.207 81 10/26/2026
4.0.206 97 10/25/2026
4.0.205 96 10/15/2026
4.0.204 100 10/15/2026
4.0.203 87 10/14/2026
4.0.201 91 10/14/2026
4.0.200 88 10/14/2026
4.0.199 88 10/14/2026
4.0.193 94 10/13/2026
4.0.192 94 10/12/2026
4.0.191 92 10/12/2026
4.0.190 87 10/12/2026
4.0.189 87 10/11/2026
Loading failed

Updated Multiple NuGet packages