SweetMeSoft.Base 1.10.144

There is a newer version of this package available.
See the version list below for details.
dotnet add package SweetMeSoft.Base --version 1.10.144
                    
NuGet\Install-Package SweetMeSoft.Base -Version 1.10.144
                    
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="SweetMeSoft.Base" Version="1.10.144" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SweetMeSoft.Base" Version="1.10.144" />
                    
Directory.Packages.props
<PackageReference Include="SweetMeSoft.Base" />
                    
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 SweetMeSoft.Base --version 1.10.144
                    
#r "nuget: SweetMeSoft.Base, 1.10.144"
                    
#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 SweetMeSoft.Base@1.10.144
                    
#: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=SweetMeSoft.Base&version=1.10.144
                    
Install as a Cake Addin
#tool nuget:?package=SweetMeSoft.Base&version=1.10.144
                    
Install as a Cake Tool

SweetMeSoft.Base

Base library with a set of utilities, helpers and fundamental classes for SweetMeSoft projects.

Description

SweetMeSoft.Base is a library for .NET Standard 2.1 that serves as the cornerstone for other SweetMeSoft libraries and applications. It provides a set of reusable components that include custom attributes, generic connectivity, captcha handling, application constants, file helpers, Google Cloud Platform (GCP) utilities and email handling tools.

Main Components

Attributes

A set of custom attributes to decorate models and properties:

  • BigQueryPKAttribute: Marks a property as primary key for BigQuery tables.
  • BigQueryTableAttribute: Specifies the table name and dataset in BigQuery.
  • ColumnExcelAttribute: Defines the behavior of a property when exported to Excel (column name, format, etc.).
  • IgnoreColumnAttribute: Excludes a property from certain automatic processes.
  • RequestAttribute: Used to map properties in requests.
  • TemplateAttribute: Provides help text or explanations for templates.

Captcha

Classes to interact with Captcha services:

  • CaptchaType: Enumeration with different types of supported captchas (ReCaptchaV2, HCaptcha, FunCaptcha, etc.).
  • CaptchaOptions: Class to configure the necessary parameters to solve a captcha.

Connectivity

Classes to perform generic HTTP requests:

  • GenericReq<T>: Defines a generic request with URL, authentication, headers and body.
  • GenericRes<T>: Encapsulates the response of a request, including the HttpResponseMessage, cookies and the deserialized object.
  • Authentication: Support for different types of authentication like Bearer, ApiKey, Cookie and Basic.
  • ErrorDetails: Standard model to deserialize error responses.

Constants

A static class that contains constant values for the application:

  • ContentTypesDict: A dictionary that maps file extensions to their corresponding MIME types.
  • ConfirmationTypes: Enumeration for confirmation types (Email, ResetPassword).
  • Keys for state management and configuration (KEY_JWT_TOKEN, API_URL, etc.).

Files

Base classes and enums for file manipulation, used by SweetMeSoft.Files:

  • ExcelSheet: Represents a spreadsheet in an Excel file.
  • ExcelOptions: Options for reading Excel files.
  • MyXmlTextWriter: A custom XmlTextWriter for specific formatting.

GCP (Google Cloud Platform)

A set of tools to translate LINQ expressions to SQL queries, especially useful for BigQuery.

  • QueryTranslator: An ExpressionVisitor that converts a LINQ expression tree to a SQL WHERE query.
  • Supports Where, Take, Skip, OrderBy, and OrderByDescending.

StreamFile

A utility class that encapsulates a Stream along with important metadata such as file name and content type, facilitating file handling throughout the application.

Tools

Utilities for common tasks:

  • EmailOptions: Configures and defines all parameters to send an email (recipient, subject, body, attachments, etc.).
  • EmailHost: Enumeration of common email providers.
  • EmailAttachment: Represents an attachment in an email.
  • StringMatch: A simple class to store text and its match percentage.

Installation

You can install the package through the NuGet Package Manager console:

Install-Package SweetMeSoft.Base

Or via the .NET CLI:

dotnet add package SweetMeSoft.Base

Dependencies

  • System.Text.Json

License

This project is distributed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on SweetMeSoft.Base:

Package Downloads
SweetMeSoft.Tools

SweetMeSoft Tools Library is a compilation of basic tools to use

SweetMeSoft.Files

SweetMeSoft Files Library is a compilation of ways to read and generate different types of files like Excel, CSV, TXT, ZIP and more

SweetMeSoft.Connectivity

SweetMeSoft Connectivity Library is a compilation of easy to use tools to connect with ThirdParties services and APIs

SweetMeSoft.Uno.Base

SweetMeSoft Uno Base Library is a compilation of different utils for UNO Platform apps

SweetMeSoft.Captcha

SweetMeSoft Captcha Library is for solve the most of captchas automatically

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.10.145 205 2/19/2026
1.10.144 835 9/17/2025
1.10.143 545 2/27/2025
1.10.142 290 2/20/2025
1.10.141 259 1/30/2025
1.10.140 525 11/6/2024
1.10.139 292 9/6/2024
1.10.138 574 7/23/2024
1.10.137 341 7/23/2024
1.10.136 286 7/19/2024
1.10.135 452 5/20/2024
1.10.134 671 2/12/2024
1.10.133 295 1/30/2024
1.10.132 275 1/30/2024
1.10.131 340 11/27/2023
1.10.130 326 11/27/2023
1.10.129 247 11/23/2023
1.10.128 479 11/1/2023
1.10.127 224 10/19/2023
1.10.126 392 10/3/2023
Loading failed