OLT.Core.Model.Abstractions 9.0.0-beta-0005

Prefix Reserved
This is a prerelease version of OLT.Core.Model.Abstractions.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OLT.Core.Model.Abstractions --version 9.0.0-beta-0005                
NuGet\Install-Package OLT.Core.Model.Abstractions -Version 9.0.0-beta-0005                
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="OLT.Core.Model.Abstractions" Version="9.0.0-beta-0005" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OLT.Core.Model.Abstractions --version 9.0.0-beta-0005                
#r "nuget: OLT.Core.Model.Abstractions, 9.0.0-beta-0005"                
#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 OLT.Core.Model.Abstractions as a Cake Addin
#addin nuget:?package=OLT.Core.Model.Abstractions&version=9.0.0-beta-0005&prerelease

// Install OLT.Core.Model.Abstractions as a Cake Tool
#tool nuget:?package=OLT.Core.Model.Abstractions&version=9.0.0-beta-0005&prerelease                

CI Quality Gate Status

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 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.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.
  • net9.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.Authentication.JwtBearer

OLT AspNetCore Autentication for JWT Tokens

OLT.Core.Common.Abstractions

Package Description

OLT.Core.Service.Abstractions

Package Description

OLT.Core.Identity.Abstractions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.0-beta-0007 92 12/9/2024
9.0.0-beta-0005 82 12/2/2024
8.4.0-beta-0010 242 11/7/2024
8.4.0-beta-0005 236 10/9/2024