---
title: SAIF.SAIFCode.Core dependencies
summary: Internal and external dependencies for this library.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# SAIF.SAIFCode.Core dependencies

SAIF.SAIFCode.Core has a single internal project reference to SAIF.Data for shared types, is consumed by SAIF.Domain, SAIF.Services and SAIF.Services.Web.Proxies, and pulls in thirteen external NuGet packages spanning DI, mapping, validation, logging, JSON and the SAIF Framework/API-client family; it performs no database access and has no build-time-only or web-navigation dependencies.

## Internal dependencies

| Dependency | Reference Type | Usage |
| --- | --- | --- |
| [SAIF.Data](../saif-data/overview.md) | Project Reference | Shared types only; SAIF.SAIFCode.Core references SAIF.Data's project but SAIF.Data does not reference it back, so contracts reuse data enums or entities* |
| SAIF.Framework.Core | NuGet Package | Framework4 base package; likely source of the affiliated `IUserProfileService` contract used by security-related interfaces* |
| SAIF.Framework.Common | NuGet Package | Framework4 shared utilities* |
| SAIF.Framework.Common.Files | NuGet Package | Framework4 file-handling utilities* |
| SAIF.HashUtil | NuGet Package | Hash utility package; no `SystemHashUtil` usage found in this library's compiled source** |
| SAIF.Web.API.Clients | NuGet Package | API client support for contracts that model API requests/responses* |
| ImagingAPI.Client | NuGet Package | Imaging API client support for imaging-related contracts* |
| SAIF.Shared.CompareUtilities | NuGet Package | Provides `[CompareKey]` and `[CompareIgnore]` attributes applied to contracts, for example `Core/SAIF.Core/Contracts/Claims/Bills/Bill.cs` |

## External dependencies
| Dependency | Version | Usage |
| --- | --- | --- |
| Autofac | 3.5.2 | Dependency injection container used by contract/service wiring* |
| AutoMapper | 2.2.1 | Object-to-object mapping between contracts and other layers* |
| FluentValidation | 5.5 | Validation support for `IValidatingService`-derived interfaces (`ICollectionsService`, `ITaskService`, `ILegalTaskService`)* |
| log4net | 2.0.5 | Logging* |
| Newtonsoft.Json | 8.0.3 | JSON serialization of contracts/DTOs* |
| RestSharp | 106.12 | REST client support for API-facing contracts* |

## Dependency risks and notes
- The upward-looking project reference to SAIF.Data is unusual for a contracts layer; its purpose (reuse of data enums or entities) is inferred, not documented*
- `IDbConnectionService` is declared in this library but has no implementation found anywhere in the repository; the implementer is unknown**
- `IUserProfileService` (`SAIF.Core.Services.UserProfile`) is used by consumers but not defined in this repository; it is most likely supplied by `SAIF.Framework.Core`*
- The `SAIF.SAIFCode.Core.nuspec` has no explicit `<file>` entry for `bin\SAIF.Core.dll`, only `SAIF.Core.pdb`; whether the pack step adds the primary assembly automatically or the package is missing it is unknown**
- Nine contract files on disk are excluded from compilation (for example `Contracts/Claims/Imaging/IClaimImageService.cs`, `Contracts/Rct/RctXml.cs`) and may be obsolete
- This library has no database interactions of its own: 0 `IBusinessCriteria`, 0 SQL properties, 0 stored procedures, and no NHibernate sessions, repositories or connections

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Related documentation
- [Index](index.md)
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Operations and processes](operations-processes.md)
- [Business rules](business-rules.md)
- [Security and authorization](security-authorization.md)
- [API reference](api/index.md)

## Sources
- Core/SAIF.Core/SAIF.SAIFCode.Core.csproj
- Core/SAIF.Core/SAIF.SAIFCode.Core.nuspec
- Core/SAIF.Core/packages.config
- Core/SAIF.Core/app.config
- Core/SAIF.Core/Services/IDbConnectionService.cs
- Core/SAIF.Core/Contracts/Claims/Bills/Bill.cs
