Indrivo.Notifications.Accessor 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Indrivo.Notifications.Accessor --version 1.0.1                
NuGet\Install-Package Indrivo.Notifications.Accessor -Version 1.0.1                
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="Indrivo.Notifications.Accessor" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Indrivo.Notifications.Accessor --version 1.0.1                
#r "nuget: Indrivo.Notifications.Accessor, 1.0.1"                
#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.
// Install Indrivo.Notifications.Accessor as a Cake Addin
#addin nuget:?package=Indrivo.Notifications.Accessor&version=1.0.1

// Install Indrivo.Notifications.Accessor as a Cake Tool
#tool nuget:?package=Indrivo.Notifications.Accessor&version=1.0.1                

N|Solid .Net Modules | Background Processing

Introduction

The notification component will allow reusing the functionality for creating and getting notification based methods, as well as the possibility to send notifications via email.

Purpose

The module is designed to create notification templates and assign them to specific users, as well as to create notification based on a template and send notifications to the users.

How to set up

A reference web api is already set up in the current repository you can check that one for detailed implementation information. Below only a small set of nuances will be explained. Set up is pretty straightforward you will need to install the following packages inside your solution: <PackageReference Include="Indrivo.Notifications.Accessor" Version="1.0.0" />

In your appsettings file, add configuration for the connection string

"ConnectionStrings": {
    "NotificationConnection": "(localdb)\\mssqllocaldb;Database=aspnet-notificationTest;Trusted_Connection=True;MultipleActiveResultSets=true"
  }

Also there, add settings for the smtp provider:

  "NotificationSettings": {
    "Host": "smtp.office365.com",
    "EnableSsl": true,
    "Port": 587,
    "userName": "username@username.com",
    "userPass": "pass"
  }

In order to inject the services and configure the installer, you can call the following line.

builder.Services.AddNotificationResourceAccessorInstaller(builder.Configuration);

To apply the migrations at the start of the application, you can run the following line of code in your Program.cs:

app.ApplyNotificationMigrations();
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Indrivo.Notifications.Accessor:

Package Downloads
Indrivo.Notifications.Engine.Provider.Local

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 1,145 5/23/2023
1.0.4 177 5/22/2023
1.0.3 248 5/18/2023
1.0.2 200 5/18/2023
1.0.1 193 5/17/2023
1.0.0 200 3/13/2023