Tapis.Core.Infrastructure 1.0.5

dotnet add package Tapis.Core.Infrastructure --version 1.0.5
                    
NuGet\Install-Package Tapis.Core.Infrastructure -Version 1.0.5
                    
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="Tapis.Core.Infrastructure" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tapis.Core.Infrastructure" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="Tapis.Core.Infrastructure" />
                    
Project file
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 Tapis.Core.Infrastructure --version 1.0.5
                    
#r "nuget: Tapis.Core.Infrastructure, 1.0.5"
                    
#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.
#:package Tapis.Core.Infrastructure@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tapis.Core.Infrastructure&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Tapis.Core.Infrastructure&version=1.0.5
                    
Install as a Cake Tool

Tapis.Core.Infrastructure

ASP.NET Core middleware, EF Core audit/concurrency interceptorları, Refit ürün API client'ları, permission attribute'ları, TapisExceptionHandler, IServiceExceptionHandler uygulaması ve isteğe bağlı Elasticsearch ILogger sağlayıcısı (AddTapisElasticsearch).

Tapis.Core.Shared üzerine ProjectReference.

1.0.4'ten itibaren Guid damga üreten VersiyonSaveChangesInterceptor ve modelBuilder.ConfigureVersiyonluEntities() uzantısı kaldırıldı: damga PostgreSQL'in xmin sistem sütunu (PERSISTENCE-STANDARDS §8).

Yerine modelBuilder.ConfigureXminConcurrency() geldi. Ürün DbContext'i bunu OnModelCreating sonunda, kendi yapılandırmalarından sonra çağırır:

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    base.OnModelCreating(modelBuilder);
    // ... ürünün kendi yapılandırmaları
    modelBuilder.ConfigureXminConcurrency();
}

Uzantı tabloya eşlenmiş her entity'ye xmin gölge özelliğini concurrency token olarak bağlar; owned, anahtarsız ve türetilmiş TPH tiplerini atlar. Satıra yeni bir sütun eklenmez — xmin PostgreSQL'in zaten tuttuğu sistem sütunudur.

1.0.5: eşleme EF'in standart mekanizmasıyla kurulur — gölge uint xmin özelliği IsRowVersion() olur, Npgsql 7+ convention'ı onu xmin/xid'e eşler (sütun adı ve tipi elle verilmez). Özellik gölge kalır: CLR özelliği olsaydı nesne eşleyiciler istemci damgasını CurrentValue'ya yazar ve kontrol sessizce kapanırdı. Uzantı yalnız Npgsql üzerinde çağrılır (if (Database.IsNpgsql())); diğer sağlayıcılarda uint rowversion eşlemesi yoktur. Paket Npgsql'e bağımlı değildir.

Audit interceptor (AuditSaveChangesInterceptor) ve IServiceExceptionHandler değişmedi.

Target Framework

  • .NET 10

Installation

dotnet add package Tapis.Core.Infrastructure
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

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.0.5 48 9/21/2026
1.0.4 46 9/20/2026
1.0.3 130 9/5/2026
1.0.2 92 9/1/2026
1.0.0 122 8/28/2026

ConfigureXminConcurrency sadeleşti: gölge uint xmin özelliği IsRowVersion() ile işaretlenir, Npgsql 7+ convention'ı onu xmin/xid'e eşler (npgsql/efcore.pg#2543); elle HasColumnName/HasColumnType/ValueGeneratedOnAddOrUpdate/IsConcurrencyToken kalktı. Eşleme işlevsel olarak aynı (ürün snapshot'ında değişiklik yok). Gölge özellik kalır; çağıran yalnız Database.IsNpgsql() iken çağırır. Npgsql bağımlılığı yok.