Instructions for publishing/consuming SAIF.SAIFCode.Core nuget package¶
You may also need to install the following modules: ```from powershell see https://tfs.saif.com/SAIFCodeCollection/SAIF/_git/IT.DevOps.Scripts?path=%2FSAIF-PSModules%2Finstall-SAIFModules.ps1&_a=contents&version=GBmaster
## 1) Nuget Project: publish nuget package to SAIFLocal feed
- Open Developer Powershell 7 prompt
- Navigate to C:\tfsgit\claims\SAIF.Core
- Run the following command
```powershell
publish-localnuget -packageName "SAIF.SAIFCode.Core" -prerelease -pathToProject .\core\saif.core
2) Consuming Project: update nuget ref from SAIFLocal feed¶
- copy the update-package command from #1 and run it in Package Manager Console in the consuming project
3) Nuget Project: commit/push changes to git repo¶
4) Nuget Project: build/publish nuget to SAIFNuget feed¶
- Open Developer Powershell 7 prompt
- Run the following command
$buildAndReleaseResult = run-pipeline -pipelineName "SAIF.SAIFCode.Core.Nuget.Build.Release" -branch (git rev-parse --abbrev-ref head) -stagesToRun build,prerelease,release -waitForCompletion -nugetPreReleaseSuffix alpha -nuget -nugetPackageName "SAIF.SAIFCode.Core" -approvalMessage "Please approve the included stage(s) ASAP"
5) Consuming Project: Update nuget ref from SAIFNuget feed¶
- copy the update-package command from #3 and run it in Package Manager Console in the consuming project
Generated libraries¶
| Library | Purpose | Index | Documentation |
|---|---|---|---|
| SAIF.Data | Defines data entities and DTOs consumed and persisted through NHibernate. | Index | Documentation |
| SAIF.Data.Guidewire | Provides typed HTTP clients for Guidewire ClaimCenter and ContactManager REST APIs. | Index | Documentation |
| SAIF.Data.NHibernate | Maps SAIF.Data entities to relational tables and implements NHibernate repositories. | Index | Documentation |
| SAIF.Domain | Implements domain behavior for electronic billing, claims, and policy correspondence. | Index | Documentation |
| SAIF.SAIFCode.Core | Defines shared DTOs, filters, code enumerations, and service contracts. | Index | Documentation |
| SAIF.Services | Implements SAIF business services and orchestrates workflows, transactions, authorization, and integrations. | Index | Documentation |
| SAIF.Services.ClaimInfoApi.Core | Evaluates metadata-driven notification rules against caller-supplied models. | Index | Documentation |
| SAIF.Services.Web.Proxies | Wraps outbound SOAP/WCF services and REST clients behind caller-facing proxy classes. | Index | Documentation |
Last updated: 2026-09-24
Package details: packages.md. Full documentation: docs/index.md.
Sources¶
SAIF.SAIFCode.Core.slnCore/SAIF.Core/SAIF.SAIFCode.Core.nuspecData/SAIF.Data/SAIF.Data.csprojData/SAIF.Data.Guidewire/SAIF.Data.Guidewire.csprojData/SAIF.Data.NHibernate/SAIF.Data.NHibernate.csprojDomain/SAIF.Domain/SAIF.Domain.csprojCore/SAIF.Core/SAIF.SAIFCode.Core.csprojServices/SAIF.Services/SAIF.Services.csprojServices/SAIF.Services.ClaimInfoApi.Core/SAIF.Services.ClaimInfoApi.Core.csprojServices/SAIF.Services.Web.Proxies/SAIF.Services.Web.Proxies.csproj