OLT.Core.Model.Abstractions
8.4.0-beta-0010
Prefix Reserved
dotnet add package OLT.Core.Model.Abstractions --version 8.4.0-beta-0010
NuGet\Install-Package OLT.Core.Model.Abstractions -Version 8.4.0-beta-0010
<PackageReference Include="OLT.Core.Model.Abstractions" Version="8.4.0-beta-0010" />
paket add OLT.Core.Model.Abstractions --version 8.4.0-beta-0010
#r "nuget: OLT.Core.Model.Abstractions, 8.4.0-beta-0010"
// Install OLT.Core.Model.Abstractions as a Cake Addin #addin nuget:?package=OLT.Core.Model.Abstractions&version=8.4.0-beta-0010&prerelease // Install OLT.Core.Model.Abstractions as a Cake Tool #tool nuget:?package=OLT.Core.Model.Abstractions&version=8.4.0-beta-0010&prerelease
General Model Classes and Interfaces. Includes Constant Classes
OltClaimTypes
List of registered claims from different sources
https://datatracker.ietf.org/doc/html/rfc7519#section-4 http://openid.net/specs/openid-connect-core-1_0.html#IDToken https://github.com/openiddict/openiddict-core/blob/dev/src/OpenIddict.Abstractions/OpenIddictConstants.cs https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/23808d5c7b11c3e0e9f202e48129c054e2b4f7ab/src/Microsoft.IdentityModel.JsonWebTokens/JwtRegisteredClaimNames.cs
Models
I use naming convention "Json" on the end of a class to indicate it's exposed from an API controller (i.e., MyDataJson)
OltPersonName & IOltPersonName
OltAuthenticatedUserJson & OltAuthenticatedUserJwtTokenJson
OltFileBase64 & IOltFileBase64 - Represents a file encoded as a base64 string
IOltPaged - Paged resultset
OltPagingParams & IOltPagingParams - Paged Parameter Class used by an ASP.Net Controller Parameter
OltPagedJson & IOltPagedJson - Paged Json Model
OltPagedSearchJson - Paged Resultset with the search criteria class included
[Route("api/my-search-example")]
[RequirePermission(SecurityPermissions.ReadOnly)]
public class SearchController : BaseApiController
{
private readonly IMyRepoService _service;
public SearchController(
IMyRepoService service,
IHelperService helperService) : base(helperService)
{
_service = service;
}
[HttpPost, Route("")]
public async Task<ActionResult<SearchKeyJson>> Search([FromBody] SearchCriteriaJson criteria)
{
return Ok(await _service.SearchAsync(new MySearcher(criteria)));
}
[HttpGet, Route("{searchKey}")]
public async Task<ActionResult<OltPagedSearchJson<SearchResultJson, SearchCriteriaJson>>> GetSearch(string searchKey, [FromQuery] OltPagingParams @params)
{
return Ok(await _service.GetPagedAsync(searchKey, @params));
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- System.ComponentModel.Annotations (>= 5.0.0)
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on OLT.Core.Model.Abstractions:
Package | Downloads |
---|---|
OLT.EF.Core
Base Context, Context Extensions, Seed Helpers, Entity Interfaces, Base Entity Models |
|
OLT.AspNetCore.Serilog
Register Serilog Middleware to log all exceptions |
|
OLT.Core.Common.Abstractions
Package Description |
|
OLT.Core.Service.Abstractions
Infrastructure Interfaces and Abstract Classes |
|
OLT.Core.Identity.Abstractions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.4.0-beta-0010 | 230 | 11/7/2024 |
8.4.0-beta-0005 | 227 | 10/9/2024 |