Ptn.InternCoreExtensions.Domain.Shared 0.3.11

dotnet add package Ptn.InternCoreExtensions.Domain.Shared --version 0.3.11
                    
NuGet\Install-Package Ptn.InternCoreExtensions.Domain.Shared -Version 0.3.11
                    
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="Ptn.InternCoreExtensions.Domain.Shared" Version="0.3.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ptn.InternCoreExtensions.Domain.Shared" Version="0.3.11" />
                    
Directory.Packages.props
<PackageReference Include="Ptn.InternCoreExtensions.Domain.Shared" />
                    
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 Ptn.InternCoreExtensions.Domain.Shared --version 0.3.11
                    
#r "nuget: Ptn.InternCoreExtensions.Domain.Shared, 0.3.11"
                    
#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 Ptn.InternCoreExtensions.Domain.Shared@0.3.11
                    
#: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=Ptn.InternCoreExtensions.Domain.Shared&version=0.3.11
                    
Install as a Cake Addin
#tool nuget:?package=Ptn.InternCoreExtensions.Domain.Shared&version=0.3.11
                    
Install as a Cake Tool

Ptn.InternCoreExtensions

Ortak core yeteneklerinin gelistirilecegi ABP DDD module iskeletidir.

Uretim kaynagi

Iskelet elle yazilmadi. ABP CLI 10.3.0 temiz bir tool dizinine kuruldu ve resmi module template'i calistirildi:

dotnet tool install Volo.Abp.Cli --version 10.3.0 --tool-path <tool-directory>
<tool-directory>\abp.exe new Ptn.InternCoreExtensions -t module --no-ui -v 10.3.0 -o <output-directory> --skip-installing-libs

E-posta

  • Olaylar EmailEvents lookup tablosunda durur; olayi gonderen modul kendi olayini tekil adla seed eder (EmailEventManager.CreateAsync). Sablon satiri olaya EmailEventId ile baglanir.
  • Moduller e-postayi EmailTemplateManager.SendAsync(olayAdi, alici, model) ile gonderir. Sablon EmailTemplates tablosundan istegin diline ve kapsamina gore secilir: organizasyon, ust organizasyon, tenant, host. Sablon degiskenleri {{ ad }} biciminde yazilir ve modelin uye adlariyla eslesir.
  • Her olayin host kapsamindaki varsayilan sablonu, olayi kullanan modulun seed'iyle gelir. Tenant ve organizasyon yoneticileri olaylari api/intern-core-extensions/email-events ucundan gorur, kendi surumlerini api/intern-core-extensions/email-templates uclarindan acar.
  • Gonderici ABP'nin SMTP gondericisidir. Host Abp.Mailing.DefaultFromAddress, Abp.Mailing.DefaultFromDisplayName, Abp.Mailing.Smtp.Host, Abp.Mailing.Smtp.Port, Abp.Mailing.Smtp.EnableSsl, Abp.Mailing.Smtp.UseDefaultCredentials, Abp.Mailing.Smtp.UserName ve Abp.Mailing.Smtp.Password ayarlarini verir. Sifre sifreli ayardir; appsettings'e duz yazilmaz, ayar yonetiminden girilir.

Elasticsearch

  • Baglanti ABP ayarlarindan gelir: InternCoreExtensions.Elasticsearch.IsEnabled, .Url, .UserName, .Password, .IsTraceMode. Varsayilan kapalidir; kapaliyken istemci istenirse InternCoreExtensions:060001 doner. Degerler appsettings'te Settings bolumunden ya da ayar yonetiminden global olarak verilir; ayar degisince istemci host yeniden baslatilmadan yeniden kurulur.
  • Her modul IElasticsearchRepository<TBelge, TKey>'i dogrudan enjekte eder ya da ElasticsearchRepository<TBelge, TKey>'den turetip IndexName'i ezer. Yuzey: indeks olusturma/varlik/temizleme, baglanti kontrolu, tekil ve toplu yazma/guncelleme/silme, kimlikle, alanla ve tarih araligiyla okuma, sayim, AnyAsync, DataTable filtre/siralama/sayfalama ile liste ve sayim, liste ile toplami tek istekte donen SearchAsync ve sonucu kisa sureli onbellekleyen CachedSearchAsync.
  • Filtre sozlesmesi veritabani listeleriyle aynidir (DataTableListInput<TFilter> + [DataTable]). Indekse ozel ek operatorler: notContains, match (kelime bazli tam metin) ve fuzzy (yazim hatasina toleransli). contains buyuk/kucuk harf duyarsizdir.
  • Belge IMultiTenant ya da IMultiOrganization tasiyorsa her okuma, acik veri filtresine gore yururlukteki tenant ve organizasyonla sinirlanir. Yazmalar indeks yenilenene kadar bekler; yazilan kayit hemen okunur.

Redis

  • Host Redis bolumunu verir: IsEnabled, Configuration (StackExchange.Redis baglanti dizesi) ve KeyPrefix. Bolum yoksa ya da IsEnabled true degilse dagitik onbellek bellek icinde kalir. Ayni sistemin host'lari ayni KeyPrefix'i kullanir ki izin ve ayar onbellegi temizligi hepsine ulassin; farkli sistemler farkli on ek kullanir.
  • Onbellekli repository'ler (EfCachedRepository) bu repository uzerinden yapilan her yazmada listeyi commit sonrasi siler. InternCoreExtensions.Caching.IsEntityCachingEnabled kapaliyken okumalar dogrudan tabloya gider.
  • [CachedResponse(grup)] isaretli AppService metotlarinin Task<T> sonucu Redis'te saklanir; attribute servis sinifindaki metoda yazilir, interceptor arayuz uzerinden gelen cagriyi yakalar (servisin kendi icinden cagirdigi metot onbellege girmez). Anahtar on ek, modul, tenant, grup, organizasyon, kultur, metot ve girdilerden kurulur; IsUserScoped acikken kullanici da eklenir. ICachedResponseSource tasiyan bir entity degisince adiyla ayni gruptaki yanitlar commit sonrasi silinir. Ekleme, guncelleme ve silme metotlarina yazilan [ClearCachedResponse(grup)] metot hatasiz bitince grubu yine commit sonrasi siler; hata veren yazma onbellege dokunmaz. InternCoreExtensions.Caching.IsResponseCachingEnabled kapaliyken ya da Redis kapaliyken yanit onbellegi devre disidir.

Saglik ucu

  • UseInternCoreExtensions() /health ucunu acar; cevap genel durumu ve veritabani, Redis, RabbitMQ, Elasticsearch yoklamalarini JSON olarak doner. Elasticsearch ayarlarda kapaliysa saglikli sayilir; Redis yoklamasi yalniz Redis acikken kaydedilir.
  • Host bir yoklamayi ya da ucu PreConfigure<InternCoreExtensionsHealthCheckOptions>(...) ile kapatir.

Sistem loglari

  • Host Program.cs'te logger'i new LoggerConfiguration().ConfigureSystemLog(builder.Environment.EnvironmentName).CreateBootstrapLogger() ile kurar ve UseSerilog()'u parametresiz cagirir.
  • InternCoreExtensions.SystemLog.IsElasticsearchEnabled ve Elasticsearch acikken loglar logs-<indeks>-<ortam> veri akisina da yazilir; indeks bossa host'un modul adi kullanilir. MinimumLevel, IsSelfLogEnabled, FailureLogPath ve RefreshIntervalSeconds ayarlari da vardir. Sistem log iscisi ayarlari periyodik okur; degisiklik host yeniden baslatilmadan uygulanir.
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 (4)

Showing the top 4 NuGet packages that depend on Ptn.InternCoreExtensions.Domain.Shared:

Package Downloads
Ptn.InternCoreExtensions.Application.Contracts

Ptn.InternCoreExtensions core modul katmani.

Ptn.InternCoreExtensions.Domain

Ptn.InternCoreExtensions core modul katmani.

Ptn.AntiDuplicate.Middleware

Ptn.InternCoreExtensions core modul katmani.

Ptn.InternFileManagement.Domain.Shared

Ptn.InternFileManagement file modul katmani.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.11 82 10/16/2026
0.3.10 98 10/16/2026
0.3.9 98 10/15/2026
0.3.8 469 10/3/2026
0.3.7 254 10/3/2026
0.3.6 441 10/2/2026
0.3.5 142 10/2/2026
0.3.4 150 9/20/2026
0.3.3 145 9/18/2026
0.3.2 151 9/15/2026
0.3.1 149 9/15/2026
0.3.0 159 9/11/2026
0.2.4 164 9/8/2026
0.2.3 161 9/8/2026
0.2.2 165 9/7/2026
0.2.1 167 9/5/2026
0.2.0 160 9/4/2026
0.1.0 160 9/4/2026