📦 IrbyImaging.BusinessLogic.csproj Documentation
File Path:
IrbyImaging.BusinessLogic/IrbyImaging.BusinessLogic.csproj
Purpose: Defines the BusinessLogic project, its framework target, NuGet dependencies, project references, and folder structure.
📑 Table of Contents
- Overview & Purpose
- Project Metadata
- Dependencies & Technologies
- Third‑party Integrations
- Project References
- Folder Structure
- Usage Examples
- UML Component Diagram
- Conclusion
1. Overview & Purpose
The IrbyImaging.BusinessLogic project houses the core business rules and workflows for the Irby Imaging solution. It sits between:
- DomainClasses: Defines the data models and entities.
- DbContext: Manages database access.
- Utility: Contains shared helper methods and utilities.
This project orchestrates data transformation, validation, reporting, external‑service calls, and any non‑UI–specific logic.
2. Project Metadata
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Target .NET 9.0 for the latest features -->
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
...
</Project>
- SDK:
Microsoft.NET.Sdk(general-purpose SDK for class libraries and apps) - TargetFramework: net9.0 (latest LTS, high-performance, modern C# features)
3. Dependencies & Technologies
Below is a categorized breakdown of the NuGet packages that the BusinessLogic layer depends on.
Azure & Configuration ☁️
| Package | Version |
|---|---|
| Azure.Extensions.AspNetCore.Configuration.Secrets | 1.3.2 |
| Azure.Security.KeyVault.Secrets | 4.7.0 |
| Azure.Storage.Blobs | 12.23.0 |
| Microsoft.Extensions.Azure | 1.9.0 |
| Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider | 5.1.0 |
Purpose: Secure configuration, Key Vault integration, blob storage access, Azure-managed keys.
Reporting & Licensing 🧾
| Package | Version |
|---|---|
| Bold.Licensing | 6.3.18 |
| BoldReports.AspNet.Core | 6.3.18 |
| BoldReports.Net.Core | 6.3.18 |
Purpose: Embedding BoldReports in ASP.NET Core for interactive reporting and dashboarding; licensing engine.
Excel & CSV 📊
| Package | Version |
|---|---|
| ClosedXML | 0.104.2 |
| CsvHelper | 33.0.1 |
| IronXL.Excel | 2025.2.5 |
Purpose: Read/write Excel spreadsheets, CSV parsing and generation.
PDF, OCR & Web Scraping 📄🕸️
| Package | Version |
|---|---|
| IronOcr | 2024.12.2 |
| IronPdf | 2024.12.9 |
| IronWebScraper | 2024.12.1 |
| iTextSharp | 5.5.13.4 |
Purpose: OCR scanning, PDF manipulation, web scraping, low‑level PDF operations.
Authentication & Security 🔐
| Package | Version |
|---|---|
| Microsoft.AspNetCore.Authentication.OpenIdConnect | 9.0.0 |
| Microsoft.AspNetCore.Identity.EntityFrameworkCore | 9.0.0 |
| Microsoft.AspNetCore.Identity.UI | 9.0.0 |
| Microsoft.Identity.Web | 3.5.0 |
| Microsoft.Identity.Web.UI | 3.5.0 |
Purpose: OpenID Connect flows, ASP.NET Core Identity, Azure AD / Microsoft Identity integration.
Code Analysis & Roslyn 🔎
| Package | Version |
|---|---|
| Microsoft.CodeAnalysis.Analyzers | 3.11.0 |
| Microsoft.CodeAnalysis.* (CSharp, Common, Workspaces, Features, Scripting, VisualBasic, Razor) | 4.12.0 / 6.x |
| Microsoft.CodeAnalysis.Elfie | 1.0.0 |
Purpose: Static code analysis, code generation, Roslyn workspace support.
Entity Framework & Database 🛢️
| Package | Version |
|---|---|
| Microsoft.EntityFrameworkCore.InMemory | 9.0.0 |
| Microsoft.SqlServer.Smo.dll | 172.52.0 |
| Microsoft.SqlServer.ConnectionInfo.dll | 1.0.1 |
| System.Data.SqlClient | 4.9.0 |
Purpose: In-memory testing provider, SQL Server management objects, classic ADO.NET support.
Graph & Identity 🌐
| Package | Version |
|---|---|
| Microsoft.Graph | 5.71.0 |
Purpose: Microsoft Graph API client for Office 365, Azure AD, Teams, etc.
Testing Frameworks 🧪
| Package | Version |
|---|---|
| coverlet.collector | 6.0.2 |
| Microsoft.NET.Test.Sdk | 17.12.0 |
| xunit.runner.visualstudio | 2.8.2 |
Purpose: Code coverage, test runners, integration with Visual Studio.
Email & Communication 📧
| Package | Version |
|---|---|
| MimeKit | 4.9.0 |
| NETCore.MailKit | 2.1.0 |
| Microsoft.Office.Interop.Outlook | 15.0.4797.1004 |
Purpose: Build and send email messages (SMTP), interact with Outlook.
Scheduling & Automation ⏱️
| Package | Version |
|---|---|
| Quartz | 3.13.1 |
| Selenium.WebDriver | 4.27.0 |
| Selenium.Support | 4.27.0 |
| Selenium.WebDriver.ChromeDriver | 131.0.6778.20400 |
Purpose: Job scheduling (Quartz.NET), UI automation (Selenium).
Syncfusion Components 🧩
| Package | Version |
|---|---|
| Syncfusion.Licensing | 28.1.33 |
| Syncfusion.Compression.Net.Core | 28.1.33 |
| Syncfusion.DocIO.Net.Core | 28.1.33 |
| Syncfusion.EJ.AspNet.Core | 20.4.0.43 |
| Syncfusion.EJ.Export | 20.4.0.43 |
| Syncfusion.EJ.Pivot | 20.4.0.43 |
| Syncfusion.EJ2.AspNet.Core | 28.1.33 |
| Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows | 28.1.33 |
| Syncfusion.EJ2.Spreadsheet.AspNet.Core | 28.1.33 |
| Syncfusion.EJ2.WordEditor.AspNet.Core | 28.1.33 |
| Syncfusion.Pdf.Net.Core | 28.1.33 |
| Syncfusion.PMML.Net.Core | 20.4.0.44 |
| Syncfusion.Presentation.Net.Core | 28.1.33 |
| Syncfusion.XlsIO.Net.Core | 28.1.33 |
| Syncfusion.XlsIORenderer.Net.Core | 28.1.33 |
Purpose: Rich UI components, document manipulation (PDF/PPTX/XLSX), licensing.
System Libraries ⚙️
| Package | Version |
|---|---|
| System.DirectoryServices | 9.0.0 |
| System.DirectoryServices.AccountManagement | 9.0.0 |
| System.Net.Http | 4.3.4 |
| System.Text.RegularExpressions | 4.3.1 |
Purpose: LDAP/AD integration, HTTP calls, regex utilities.
4. Third‑party Integrations 🔗
- Azure Key Vault: Secure secrets retrieval.
- BoldReports: Embedded reporting and dashboards.
- IronOCR / IronPdf / iTextSharp: Document processing and OCR scanning.
- Syncfusion: UI controls & document libraries.
- Selenium: Headless browser automation.
- Quartz: Background job scheduling.
- Microsoft Graph: Office 365 and Azure AD interactions.
5. Project References
<ItemGroup>
<ProjectReference Include="..\IrbyImaging.DbContext\IrbyImaging.DbContext.csproj" />
<ProjectReference Include="..\IrbyImaging.DomainClasses\IrbyImaging.DomainClasses.csproj" />
<ProjectReference Include="..\IrbyImaging.Utility\IrbyImaging.BLUtility.csproj" />
</ItemGroup>
- DbContext: Database context and migrations.
- DomainClasses: Entity definitions and domain models.
- Utility: Reusable helpers (logging, mapping, etc.).
6. Folder Structure
IrbyImaging.BusinessLogic
├── IrbyImaging.BusinessLogic.csproj
└── TimeSheet\ 🗂️
- TimeSheet/: Placeholder folder for timesheet‑related business workflows.
7. Usage Examples 🚀
Restore and build from solution root:
cd IrbyImaging.BusinessLogic
dotnet restore
dotnet build --configuration Release
Add a new NuGet package:
dotnet add package Newtonsoft.Json --version 14.0.1
Run unit tests (via coverlet & xUnit):
dotnet test --collect:"XPlat Code Coverage"
8. UML Component Diagram
graph LR
A[Web/API Project] -->|calls| BL[IrbyImaging.BusinessLogic]
BL --> DC[IrbyImaging.DomainClasses]
BL --> DB[IrbyImaging.DbContext]
BL --> UTIL[IrbyImaging.Utility]
BL -->|uses| Azure[Azure SDKs]
BL -->|uses| Reporting[BoldReports]
BL -->|uses| Docs[Syncfusion, IronPdf]
BL -->|uses| Auth[Identity & OpenID Connect]
BL -->|uses| Scheduling[Quartz]
9. Conclusion 🎉
The IrbyImaging.BusinessLogic project is the central hub for all business rules, workflows, and integrations within the Irby Imaging solution. It brings together:
- Data Models & Persistence (DomainClasses + DbContext)
- External Services (Azure, Graph, Key Vault, Email, Scheduling)
- Document & Reporting Engines (BoldReports, IronOCR, Syncfusion)
- Security & Identity (OpenID Connect, ASP.NET Identity, Microsoft Identity Web)
With a modern .NET 9 foundation and an extensive set of dependencies, this layer is ready to power web APIs, scheduled jobs, and background processes—ensuring robust, secure, and scalable imaging solutions.
Generated with 🚀 and ❤️ for clear, maintainable documentation.