amorphie.core
1.1.38
dotnet add package amorphie.core --version 1.1.38
NuGet\Install-Package amorphie.core -Version 1.1.38
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="amorphie.core" Version="1.1.38" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add amorphie.core --version 1.1.38
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: amorphie.core, 1.1.38"
#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 amorphie.core as a Cake Addin #addin nuget:?package=amorphie.core&version=1.1.38 // Install amorphie.core as a Cake Tool #tool nuget:?package=amorphie.core&version=1.1.38
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
amorphie.core
Simple tag management service for developers..
Features;
- Response types
- Enum structures
- Basic classes
Response types
// When you want to return object data and message..
public IResponse Result()
{
return new Response
{
Data = "Example object data",
Result = new Result(Status.Success, "Message")
};
}
// When you want to return object data, message and message detail.
public IResponse Result()
{
return new Response
{
Data = "Example object data",
Result = new Result(Status.Success, "Message", "Message detail")
};
}
// To return 1 entity.
public IResponse<Staff> Result()
{
return new Response<Staff>
{
Data = new Staff() { Id=1,Name="Alice"},
Result = new Result(Status.Success, "Listing successful")
};
}
// To list.
public IResponse<List<Staff>> Result()
{
var list = new List<Staff>() { new Staff() { Id = 1, Name = "Tom" }, new Staff() { Id = 1, Name = "Alice" } };
return new Response<List<Staff>>
{
Data = list,
Result = new Result(Status.Success, "Getirme başarılı")
};
}
//Only when you want to return the status and explanation.
public IResponse Result()
{
return new NoDataResponse
{
Result = new Result(Status.Success, "Delete successful")
};
}
Enums
- Status
public enum Status
{
[Description("Used for all successful transactions")]
Success = 1,
[Description("Used for all faulty and warning operations")]
Error = 2,
}
- StatusType
[Flags]
public enum StatusType
{
New = 2,
Active = 4,
InProgress = 8,
Passive = 16,
Completed = 32,
LockedInFlow = 256,
All = New | Active | InProgress | Passive
}
- StatusType
public enum HttpMethodType : byte
{
CONNECT,
DELETE,
GET,
HEAD,
OPTIONS,
POST,
PUT,
TRACE
}
Base Classes
- EntityBase //Base class includes id and other common proporties
- EntityBaseWithOutId //Covers common properties only
- DtoBase //Base class includes id and other common proporties
- DtoEntityBaseWithOutId //Covers common properties only
- Translation //This table can be used directly for the table, table class where the language values are kept.
- EntityBaseLog //Base class for log tables
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- AutoMapper (>= 12.0.1)
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 12.0.1)
- Dapr.Client (>= 1.12.0)
- Elastic.Apm.SerilogEnricher (>= 8.6.1)
- Elastic.CommonSchema.Serilog (>= 8.6.1)
- Elastic.Serilog.Sinks (>= 8.6.1)
- FluentValidation (>= 11.9.0)
- FluentValidation.AspNetCore (>= 11.3.0)
- Microsoft.EntityFrameworkCore (>= 8.0.1)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.1)
- Microsoft.Extensions.Http.Polly (>= 8.0.1)
- Newtonsoft.Json (>= 13.0.3)
- NJsonSchema (>= 11.0.2)
- Polly (>= 8.2.1)
- Refit (>= 8.0.0)
- Refit.HttpClientFactory (>= 8.0.0)
- Serilog.AspNetCore (>= 8.0.1)
- Serilog.Enrichers.CorrelationId (>= 3.0.1)
- Serilog.Enrichers.Environment (>= 3.0.0-dev-00806)
- Serilog.Exceptions (>= 8.4.0)
- Serilog.Settings.Configuration (>= 8.0.1-dev-00561)
- Serilog.Sinks.Async (>= 1.5.0)
- Serilog.Sinks.Debug (>= 2.0.0)
- Serilog.Sinks.Elasticsearch (>= 9.0.3)
- Swashbuckle.AspNetCore (>= 6.5.0)
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.1.38 | 78 | 11/19/2024 |
1.1.37 | 400 | 11/6/2024 |
1.1.36 | 81 | 11/5/2024 |
1.1.35 | 86 | 10/10/2024 |
1.1.34 | 176 | 9/4/2024 |
1.1.33 | 98 | 8/29/2024 |
1.1.32 | 766 | 8/16/2024 |
1.1.31 | 183 | 8/7/2024 |
1.1.30 | 3,105 | 4/1/2024 |
1.1.29 | 145 | 3/27/2024 |
1.1.28 | 1,234 | 2/16/2024 |
1.1.27 | 135 | 2/15/2024 |
1.1.26 | 1,729 | 2/1/2024 |
1.1.25 | 357 | 1/30/2024 |
1.1.24 | 166 | 1/12/2024 |
1.1.23 | 120 | 1/11/2024 |
1.1.22 | 120 | 1/11/2024 |
1.1.21 | 110 | 1/10/2024 |
1.1.18 | 118 | 1/9/2024 |
1.1.17 | 222 | 12/11/2023 |
1.1.16 | 133 | 12/8/2023 |
1.1.15 | 112 | 12/8/2023 |
1.1.14 | 489 | 12/5/2023 |
1.1.13 | 148 | 12/5/2023 |
1.1.10 | 142 | 12/5/2023 |
1.1.9 | 129 | 12/5/2023 |
1.1.8 | 185 | 10/26/2023 |
1.1.7 | 496 | 8/28/2023 |
1.1.6 | 181 | 8/25/2023 |
1.1.5 | 161 | 8/25/2023 |
1.1.4 | 2,078 | 7/7/2023 |
1.1.3 | 403 | 7/6/2023 |
1.1.2 | 176 | 7/5/2023 |
1.1.1 | 177 | 7/4/2023 |
1.1.0 | 206 | 6/15/2023 |
1.0.11 | 260 | 6/7/2023 |
1.0.10 | 181 | 6/6/2023 |
1.0.9 | 183 | 6/6/2023 |
1.0.8 | 160 | 6/5/2023 |
1.0.7 | 161 | 6/5/2023 |
1.0.6 | 169 | 5/31/2023 |
1.0.5 | 272 | 5/22/2023 |
1.0.4 | 169 | 5/15/2023 |
1.0.3 | 178 | 5/15/2023 |
1.0.2 | 395 | 3/29/2023 |
1.0.1 | 441 | 3/2/2023 |
1.0.0 | 285 | 3/2/2023 |