Personalization.Ingestion 1.1.9

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

The `Personalization.Ingestion` library provides a streamlined way for services to forward significant customer-related events such as life milestones, location-based activities, and account management suggestions to a centralized Event Hub for further personalization processing.

This package is designed to work as a plug-and-play telemetry and event reporting tool across services within an enterprise application. It abstracts away the complexities of Azure messaging infrastructure while enforcing a consistent event schema.

---

## โœ… Features

- ๐Ÿ”„ Asynchronous event ingestion
- ๐Ÿงฉ Generic and reusable event structure
- โ˜๏ธ Built-in support for Azure Event Hub (more brokers can be supported)
- ๐Ÿ” Minimal setup using `IServiceCollection` (dependency injection ready)
- ๐Ÿ“ฌ Easily extensible to send different types of events

---

## ๐Ÿ“ฆ Installation

Use the .NET CLI to install the NuGet package:

```bash
dotnet add package Personalization.Ingestion --version 1.0.3

๐Ÿ› ๏ธ Configuration

Register the service in Program.cs (for .NET 6+ or .NET 8):

builder.Services.AddPersonalizationServiceBus(options =>
{
    options.MessageBrokerName = "<Azure Event Hub name>";
    options.ConnectionString = "<Your Azure Event Hub connection string>";
    options.MessageBrokerType = Personalization.Ingestion.Enums.MessageBrokerType.AzureEventHub;
});

๐Ÿš€ Usage

Inject the IPersonalizationIngestionService into your class, controller, or middleware to publish events.

Example:

await personalizationIngestionService.IngestAsync(
    new PersonalizationEvent<BiometricFlowRequestV2, ServiceResponse<BiometricFlowResponse>>
    {
        EventType = Personalization.Ingestion.Enums.PersonalizationEventType.Other,
        Cif = "NA", // Or provide the customer identifier if known
        Request = request,
        Response = response,
        ServiceName = "DIMEC",
        StatusCode = response.IsSuccessful ? "200" : "400",
        SecondaryCustomerIdentifier = request.DeviceIdentifier,
        Timestamp = DateTime.UtcNow.AddHours(1) // Optional adjustment if needed
    });

๐Ÿ“˜ Supported Event Types

You can categorize events using PersonalizationEventType. Some supported types:

  • Birthday
  • WorkAnniversary
  • WeddingAnniversary
  • NYSCCompleted
  • LocationOffer
  • SecurityTip
  • AccountSuggestion
  • MobileFacialVerification
  • WebFacialVerification
  • Other

๐Ÿงช Example Use Cases

  • Log facial verification attempts
  • Capture successful onboarding milestones
  • Ingest security-related suggestions per customer
  • Send geo-targeted event signals from mobile apps

๐Ÿ’ฌ Feedback or Issues?

Please report bugs or suggestions by opening an issue on your internal repo or reaching out to the maintainer.


๐Ÿ” Security

Ensure your Event Hub connection string is securely stored and not hard-coded in your source files. Use secure configuration providers like Azure Key Vault or environment variables.


๐Ÿ“ License

Internal Use Only โ€“ Proprietary to ALAT by Wema.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.1.9 121 9/8/2026
1.1.8 148 5/18/2026
1.1.7 108 5/11/2026
1.1.6 834 5/10/2026
1.1.5 255 11/24/2025
1.1.4 214 11/24/2025
1.1.2 3,063 10/24/2025
1.1.1 214 10/21/2025
1.1.0 1,478 10/16/2025
1.0.9 2,844 10/14/2025
1.0.8 777 10/7/2025
1.0.7 391 10/7/2025
1.0.6 209 10/2/2025
1.0.5 1,071 9/26/2025
1.0.4 4,273 9/22/2025
1.0.3 8,547 7/31/2025
1.0.2 180 7/31/2025
1.0.1 178 7/31/2025
1.0.0 203 7/30/2025