OSDC.Drilling.EarthMagneticField.WebPages 1.0.5

dotnet add package OSDC.Drilling.EarthMagneticField.WebPages --version 1.0.5
                    
NuGet\Install-Package OSDC.Drilling.EarthMagneticField.WebPages -Version 1.0.5
                    
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="OSDC.Drilling.EarthMagneticField.WebPages" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OSDC.Drilling.EarthMagneticField.WebPages" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="OSDC.Drilling.EarthMagneticField.WebPages" />
                    
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 OSDC.Drilling.EarthMagneticField.WebPages --version 1.0.5
                    
#r "nuget: OSDC.Drilling.EarthMagneticField.WebPages, 1.0.5"
                    
#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 OSDC.Drilling.EarthMagneticField.WebPages@1.0.5
                    
#: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=OSDC.Drilling.EarthMagneticField.WebPages&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=OSDC.Drilling.EarthMagneticField.WebPages&version=1.0.5
                    
Install as a Cake Tool

OSDC.Drilling.EarthMagneticField.WebPages

This release targets MudBlazor 9.9.0 and the matching OSDC shared web component packages.

Reusable Blazor pages for stateless Earth magnetic-field evaluation:

  • /EarthMagneticFieldCalculation: unit-aware WMM2025/IGRF14 evaluation with explicit UTC and north-east-down output.
  • /EarthMagneticFieldModel: installed-model validity and provenance.
  • /StatisticsEarthMagneticField: cumulative operational counters retained by the service's persistent data volume.

Consumers implement and register IEarthMagneticFieldWebPagesConfiguration, register IEarthMagneticFieldAPIUtils with APIUtils, add MudBlazor and the OSDC unit-system services, and include the WebPages assembly in the Blazor router. APIUtils creates the generated client from the configured host root and appends EarthMagneticField/api/.

Package ID: OSDC.Drilling.EarthMagneticField.WebPages

Author: Eric Cayeux

Company: NORCE Research

Magnetic dip uses the MagneticDip result property and the label “Magnetic dip”. It is in SI radians, positive downward from horizontal, and nullable when total magnetic flux density is zero. Service and client releases must agree on this property name.

HorizontalIntensity and TotalIntensity are displayed as horizontal/total magnetic flux density (EarthMagneticFluxDensity, SI teslas). MagneticDip and Declination use PlaneAngleDrilling in SI radians. Physical quantities agree with the service semantic annotations.

Package release 1.0.4

This release packages the current WebPages and generated contracts. Update consuming WebApps to OSDC.Drilling.EarthMagneticField.WebPages version 1.0.4 after it is available on nuget.org.

Trusted NuGet publishing

The publish-webpages-nuget.yml workflow authenticates with GitHub OIDC through NuGet/login@v1; no long-lived NUGET_API_KEY secret is used. Set NUGET_USER to the nuget.org profile username as a repository variable (a repository secret is also accepted). The publishing job requests contents: read and id-token: write and obtains its temporary credential immediately before uploading.

On nuget.org, the package owner must configure a trusted-publishing policy for Open-Source-Drilling-Community/EarthMagneticField, workflow filename publish-webpages-nuget.yml, with permission to push new versions of OSDC.Drilling.EarthMagneticField.WebPages. Leave the policy environment empty because the workflow does not declare a GitHub environment. Trigger the workflow manually with the intended version or push a webpages-v* tag. Already published versions are skipped.

Package release 1.0.5

Requires OSDC.UnitConversion.DrillingRazorMudComponents 3.4.9 so embedded unit selectors consume bounded UnitSystem discovery pages. Rebuild consuming WebApps after upgrading this package.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
1.0.5 109 10/17/2026
1.0.4 56 10/17/2026
1.0.3 128 9/6/2026
1.0.2 337 9/1/2026
1.0.1 130 8/24/2026
1.0.0 118 8/24/2026