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
<PackageReference Include="OSDC.DotnetLibraries.Drilling.WebAppUtils" Version="1.1.0" />
<PackageVersion Include="OSDC.DotnetLibraries.Drilling.WebAppUtils" Version="1.1.0" />
<PackageReference Include="OSDC.DotnetLibraries.Drilling.WebAppUtils" />
paket add OSDC.DotnetLibraries.Drilling.WebAppUtils --version 1.1.0
#r "nuget: OSDC.DotnetLibraries.Drilling.WebAppUtils, 1.1.0"
#:package OSDC.DotnetLibraries.Drilling.WebAppUtils@1.1.0
#addin nuget:?package=OSDC.DotnetLibraries.Drilling.WebAppUtils&version=1.1.0
#tool nuget:?package=OSDC.DotnetLibraries.Drilling.WebAppUtils&version=1.1.0
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 interactionsDataUtils: 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
- OSDC Official Website
- .NET 8.0 Documentation
- Open Subsurface Data Collaborative Standards and Specifications
| Product | Versions 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. |
-
net8.0
- OSDC.UnitConversion.DrillingRazorMudComponents (>= 3.3.47)
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.