SweetMeSoft.Base
1.10.145
dotnet add package SweetMeSoft.Base --version 1.10.145
NuGet\Install-Package SweetMeSoft.Base -Version 1.10.145
<PackageReference Include="SweetMeSoft.Base" Version="1.10.145" />
<PackageVersion Include="SweetMeSoft.Base" Version="1.10.145" />
<PackageReference Include="SweetMeSoft.Base" />
paket add SweetMeSoft.Base --version 1.10.145
#r "nuget: SweetMeSoft.Base, 1.10.145"
#:package SweetMeSoft.Base@1.10.145
#addin nuget:?package=SweetMeSoft.Base&version=1.10.145
#tool nuget:?package=SweetMeSoft.Base&version=1.10.145
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 theHttpResponseMessage, cookies and the deserialized object.Authentication: Support for different types of authentication likeBearer,ApiKey,CookieandBasic.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 customXmlTextWriterfor specific formatting.
GCP (Google Cloud Platform)
A set of tools to translate LINQ expressions to SQL queries, especially useful for BigQuery.
QueryTranslator: AnExpressionVisitorthat converts a LINQ expression tree to a SQLWHEREquery.- Supports
Where,Take,Skip,OrderBy, andOrderByDescending.
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 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. |
-
.NETStandard 2.1
- System.Text.Json (>= 10.0.2)
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 |