OSDC.DotnetLibraries.Drilling.WebAppUtils 1.1.0

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

OSDC.DotnetLibraries.Drilling.WebAppUtils

A comprehensive .NET library providing utilities and interfaces for drilling-related web applications. This library offers standardized abstractions for accessing drilling data services through configurable host URLs and includes utility functions for API interactions and data manipulation.

Overview

OSDC.DotnetLibraries.Drilling.WebAppUtils is part of the OSDC (Open Subsurface Data Collaborative) initiative to create interoperable, reusable .NET libraries for the oil and gas industry. This specific library focuses on providing web application utilities tailored for drilling operations and related subsurface data management.

Features

  • Standardized Host URL Interfaces: Abstractions for various drilling-related services:

    • Cartographic Projection hosting
    • Cluster data management
    • Drilling Fluid properties
    • Drill String configuration
    • Field data management
    • Geodetic Datum references
    • Geological Properties
    • Geothermal Properties
    • Rig information
    • Trajectory data
    • Unit Conversion services
    • WellBore Architecture
    • WellBore data
    • Well information
  • Utility Classes: Helper functions for common operations:

    • APIUtils: Utilities for API interactions
    • DataUtils: General-purpose data manipulation utilities

Requirements

  • .NET 8.0 or higher
  • Visual Studio 2022 or compatible IDE (optional)

Installation

NuGet Package

Install the package via NuGet Package Manager:

dotnet add package OSDC.DotnetLibraries.Drilling.WebAppUtils

Or via the Package Manager Console:

Install-Package OSDC.DotnetLibraries.Drilling.WebAppUtils

Manual Reference

Alternatively, reference the project directly in your solution or build from source.

Getting Started

Basic Usage

To use the host URL interfaces, implement them in your application or inject them as dependencies:

using OSDC.DotnetLibraries.Drilling.WebAppUtils;

// Implement an interface for your specific needs
public class MyDrillingService : IWellHostURL
{
    public string GetWellHostURL()
    {
        return "https://api.example.com/wells";
    }
}

// Use utility classes
var apiHelper = new APIUtils();
var dataHelper = new DataUtils();

Configuring Host URLs

Each host URL interface provides an abstraction for accessing specific drilling-related services. Implement the interfaces in your configuration or dependency injection setup to define the actual endpoints for your application.

// Example of dependency injection setup
services.AddSingleton<IWellHostURL, MyWellHostURLProvider>();
services.AddSingleton<IDrillStringHostURL, MyDrillStringHostURLProvider>();
// ... configure other interfaces as needed

Project Structure

OSDC.DotnetLibraries.Drilling.WebAppUtils/
├── APIUtils.cs                          # API interaction utilities
├── DataUtils.cs                         # Data manipulation utilities
├── I*HostURL.cs                         # Host URL interface definitions
├── OSDC.DotnetLibraries.Drilling.WebAppUtils.csproj
└── Readme.md                            # This file

Contributing

Contributions are welcome! Please ensure that:

  • Code follows .NET coding standards and conventions
  • Changes include appropriate documentation
  • All interfaces maintain backward compatibility where possible

License

This project is licensed under the terms specified in the LICENSE file. See the LICENSE file for details.

Support

For issues, questions, or contributions, please refer to the OSDC (Open Subsurface Data Collaborative) project guidelines and repository.

Additional Resources

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 (13)

Showing the top 5 NuGet packages that depend on OSDC.DotnetLibraries.Drilling.WebAppUtils:

Package Downloads
NORCE.Drilling.Trajectory.WebPages

Reusable Razor class library containing the Trajectory and TrajectoryInterpolation web pages and related components. See the package README for setup, dependencies, and usage.

NORCE.Drilling.Well.WebPages

Reusable Razor class library containing the Well and statistics web pages. See the package README for setup, dependencies, and usage.

NORCE.Drilling.Cluster.WebPages

Reusable Razor class library containing the Cluster and statistics web pages. See the package README for setup, dependencies, and usage.

NORCE.Drilling.WellBore.WebPages

Reusable Razor class library containing the WellBore and statistics web pages. See the package README for setup, dependencies, and usage.

NORCE.Drilling.CartographicProjection.WebPages

Reusable Razor class library containing the CartographicProjection, CartographicConverter, and statistics web pages. See the package README for setup, dependencies, and usage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 76 4/16/2026
1.0.1 35 4/16/2026
1.0.0 36 4/16/2026