Soenneker.Nws.OpenApiClientUtil 11.0.236

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.236
                    
NuGet\Install-Package Soenneker.Nws.OpenApiClientUtil -Version 11.0.236
                    
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.236" />
                    
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.236" />
                    
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.236
                    
#r "nuget: Soenneker.Nws.OpenApiClientUtil, 11.0.236"
                    
#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.236
                    
#: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.236
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Nws.OpenApiClientUtil&version=11.0.236
                    
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.242 47 11/19/2026
11.0.241 42 11/19/2026
11.0.240 43 11/18/2026
11.0.238 45 11/18/2026
11.0.237 50 11/17/2026
11.0.236 44 11/17/2026
11.0.235 91 11/15/2026
11.0.234 89 11/15/2026
11.0.233 94 11/15/2026
11.0.232 288 11/11/2026
11.0.231 96 11/11/2026
11.0.230 93 11/11/2026
11.0.229 91 11/11/2026
11.0.228 94 11/11/2026
11.0.227 91 11/11/2026
11.0.226 105 11/3/2026
11.0.225 94 11/3/2026
11.0.224 88 11/3/2026
11.0.223 98 11/3/2026
11.0.222 99 11/3/2026
Loading failed

Updated Multiple NuGet packages