VOOZH about

URL: https://www.nuget.org/packages/SweetMeSoft.Base/

⇱ NuGet Gallery | SweetMeSoft.Base 1.10.145




👁 Image
SweetMeSoft.Base 1.10.145

dotnet add package SweetMeSoft.Base --version 1.10.145
 
 
NuGet\Install-Package SweetMeSoft.Base -Version 1.10.145
 
 
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.145" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SweetMeSoft.Base" Version="1.10.145" />
 
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.145
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SweetMeSoft.Base, 1.10.145"
 
 
#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.145
 
 
#: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.145
 
Install as a Cake Addin
#tool nuget:?package=SweetMeSoft.Base&version=1.10.145
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 397 2/19/2026
1.10.144 1,002 9/17/2025
1.10.143 569 2/27/2025
1.10.142 315 2/20/2025
1.10.141 280 1/30/2025
1.10.140 549 11/6/2024
1.10.139 316 9/6/2024
1.10.138 597 7/23/2024
1.10.137 363 7/23/2024
1.10.136 310 7/19/2024
1.10.135 475 5/20/2024
1.10.134 698 2/12/2024
1.10.133 315 1/30/2024
1.10.132 302 1/30/2024
1.10.131 358 11/27/2023
1.10.130 343 11/27/2023
1.10.129 264 11/23/2023
1.10.128 499 11/1/2023
1.10.127 241 10/19/2023
1.10.126 407 10/3/2023
Loading failed