amorphie.core
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package amorphie.core --version 1.0.2
NuGet\Install-Package amorphie.core -Version 1.0.2
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.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="amorphie.core" Version="1.0.2" />
<PackageReference Include="amorphie.core" />
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 amorphie.core --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: amorphie.core, 1.0.2"
#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.
#addin nuget:?package=amorphie.core&version=1.0.2
#tool nuget:?package=amorphie.core&version=1.0.2
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 | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
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.51 | 430 | 2/28/2025 |
1.1.50 | 888 | 2/18/2025 |
1.1.49 | 132 | 2/17/2025 |
1.1.48 | 960 | 1/21/2025 |
1.1.47 | 261 | 1/8/2025 |
1.1.46 | 243 | 1/6/2025 |
1.1.45 | 331 | 12/27/2024 |
1.1.44 | 202 | 12/25/2024 |
1.1.43 | 758 | 12/24/2024 |
1.1.42 | 219 | 12/18/2024 |
1.1.41 | 158 | 12/18/2024 |
1.1.40 | 275 | 12/11/2024 |
1.1.39 | 332 | 11/26/2024 |
1.1.38 | 470 | 11/19/2024 |
1.1.37 | 648 | 11/6/2024 |
1.1.36 | 126 | 11/5/2024 |
1.1.35 | 129 | 10/10/2024 |
1.1.34 | 216 | 9/4/2024 |
1.1.33 | 136 | 8/29/2024 |
1.1.32 | 898 | 8/16/2024 |
1.1.31 | 219 | 8/7/2024 |
1.1.30 | 3,141 | 4/1/2024 |
1.1.29 | 179 | 3/27/2024 |
1.1.28 | 1,270 | 2/16/2024 |
1.1.27 | 184 | 2/15/2024 |
1.1.26 | 1,759 | 2/1/2024 |
1.1.25 | 389 | 1/30/2024 |
1.1.24 | 193 | 1/12/2024 |
1.1.23 | 149 | 1/11/2024 |
1.1.22 | 150 | 1/11/2024 |
1.1.21 | 140 | 1/10/2024 |
1.1.18 | 149 | 1/9/2024 |
1.1.17 | 252 | 12/11/2023 |
1.1.16 | 163 | 12/8/2023 |
1.1.15 | 141 | 12/8/2023 |
1.1.14 | 515 | 12/5/2023 |
1.1.13 | 165 | 12/5/2023 |
1.1.10 | 160 | 12/5/2023 |
1.1.9 | 148 | 12/5/2023 |
1.1.8 | 210 | 10/26/2023 |
1.1.7 | 554 | 8/28/2023 |
1.1.6 | 211 | 8/25/2023 |
1.1.5 | 185 | 8/25/2023 |
1.1.4 | 2,207 | 7/7/2023 |
1.1.3 | 434 | 7/6/2023 |
1.1.2 | 204 | 7/5/2023 |
1.1.1 | 210 | 7/4/2023 |
1.1.0 | 242 | 6/15/2023 |
1.0.11 | 294 | 6/7/2023 |
1.0.10 | 216 | 6/6/2023 |
1.0.9 | 219 | 6/6/2023 |
1.0.8 | 196 | 6/5/2023 |
1.0.7 | 197 | 6/5/2023 |
1.0.6 | 209 | 5/31/2023 |
1.0.5 | 307 | 5/22/2023 |
1.0.4 | 203 | 5/15/2023 |
1.0.3 | 216 | 5/15/2023 |
1.0.2 | 434 | 3/29/2023 |
1.0.1 | 478 | 3/2/2023 |
1.0.0 | 322 | 3/2/2023 |