CropGuardian.Core 1.0.0

dotnet add package CropGuardian.Core --version 1.0.0                
NuGet\Install-Package CropGuardian.Core -Version 1.0.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="CropGuardian.Core" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CropGuardian.Core --version 1.0.0                
#r "nuget: CropGuardian.Core, 1.0.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.
// Install CropGuardian.Core as a Cake Addin
#addin nuget:?package=CropGuardian.Core&version=1.0.0

// Install CropGuardian.Core as a Cake Tool
#tool nuget:?package=CropGuardian.Core&version=1.0.0                

CropGuardian.Core Status

Static Badge CI

Overview

CropGuardian.Core is a .NET 9 library designed to provide core...

Features

  • Crop Monitoring: Real-time monitoring of crop health using various...
  • Data Analysis: Advanced data analysis tools to predict crop...
  • Alerts and Notifications: Automated alerts and notifications for potential...
  • Integration: Easy integration with other agricultural management systems and...

Getting Started

To get started with CropGuardian.Core, follow these steps:

  1. Installation: Add the CropGuardian.Core package to your .NET 9...

Contributing

We welcome contributions to CropGuardian.Core. Please read our contributing guidelines...

License

This project is licensed under the LGPL v2.1 License. See the...

CropGuardian Core Library

Overview

CropGuardian is a comprehensive .NET class library designed for agricultural management systems. It provides a robust foundation for building farm management applications, offering features from basic farm operations to advanced crop monitoring and analysis.

Target Audience

  • Agricultural software developers
  • Farm management system integrators
  • IoT agriculture solution providers
  • Agtech startups and enterprises

Key Features

Farm Management

  • Farm and field data modeling
  • Crop lifecycle tracking
  • Task scheduling and resource allocation
  • Geospatial calculations

Weather Integration

  • Real-time weather data
  • Weather forecasting
  • Field-specific conditions
  • Weather alerts and monitoring

IoT Support

  • Device management
  • Sensor data integration
  • Real-time monitoring
  • Equipment tracking

Nutrient Analysis

  • Soil analysis
  • Nutrient tracking
  • Fertilizer management
  • Crop requirements monitoring

Security

  • Built-in JWT authentication
  • Role-based authorization
  • Predefined permission sets
  • Secure API endpoints

Analytics

  • Crop performance analysis
  • Resource usage tracking
  • Yield predictions
  • Data visualization support

Contributing

We welcome contributions to CropGuardian.Core. Please read our contributing guidelines for more information.

Getting Started

To get started with CropGuardian.Core, follow these steps:

Maintainers

  • [CropGuardian]
  • Contact: support@cropguardian.com

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

  1. Installation: Add the CropGuardian.Core package to your .NET 9 project.2. Usage: Import the library and start using its features in your application.

Prerequisites

  • .NET 9.0
  • Entity Framework Core
  • SQL Server (or compatible database)

Installation

dotnet add package CropGuardian.Core

Basic Usage

// Register services
services.AddCropGuardian(options => {
    options.UseDatabase(Configuration.GetConnectionString("DefaultConnection"));
    options.UseWeatherService(Configuration["WeatherApi:Key"]);
});

// Use in your application
public class FarmController : ControllerBase
{
    private readonly IRepository<Farm> _farmRepository;

    public FarmController(IRepository<Farm> farmRepository)
    {
        _farmRepository = farmRepository;
    }

    [RequirePermission(Permissions.ManageFarms)]
    public async Task<ActionResult<Farm>> CreateFarm(Farm farm)
    {
        var result = await _farmRepository.AddAsync(farm);
        return Ok(result);
    }
}

Architecture

  • Clean Architecture principles
  • SOLID design patterns
  • Repository pattern for data access
  • Dependency injection ready
  • Asynchronous operations throughout

Security

Built-in security features include:

  • JWT authentication
  • Role-based authorization
  • Predefined permission sets
  • Secure communication

Documentation

Comprehensive documentation is available at:

  • XML documentation included in the package
  • API documentation website (coming soon)
  • Code examples and samples

Support

  • GitHub issues for bug reports and features
  • Community Discord channel (coming soon)
  • Premium support available for enterprise customers

Contributing

We welcome contributions! Please see our contributing guidelines for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Weather data provided by OpenWeather API
  • Geospatial calculations based on the Haversine formula
  • Built with modern .NET technologies
Product Compatible and additional computed target framework versions.
.NET net9.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
1.0.0 27 11/28/2024

This is our first major release of this advanced agricultural management library. Version 1.1.0 we expect to be released by the end of December 2024.