Indrivo.Notifications.Accessor
1.0.5
dotnet add package Indrivo.Notifications.Accessor --version 1.0.5
NuGet\Install-Package Indrivo.Notifications.Accessor -Version 1.0.5
<PackageReference Include="Indrivo.Notifications.Accessor" Version="1.0.5" />
paket add Indrivo.Notifications.Accessor --version 1.0.5
#r "nuget: Indrivo.Notifications.Accessor, 1.0.5"
// Install Indrivo.Notifications.Accessor as a Cake Addin #addin nuget:?package=Indrivo.Notifications.Accessor&version=1.0.5 // Install Indrivo.Notifications.Accessor as a Cake Tool #tool nuget:?package=Indrivo.Notifications.Accessor&version=1.0.5
.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 | Versions 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. |
-
net7.0
- AutoMapper (>= 12.0.1)
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 12.0.1)
- Indrivo.Utilities.Pagination (>= 1.0.0)
- Indrivo.Utilities.Result.Extensions (>= 1.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.EntityFrameworkCore (>= 7.0.5)
- Microsoft.EntityFrameworkCore.SqlServer (>= 7.0.5)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Newtonsoft.Json (>= 13.0.3)
- Result.Net (>= 1.5.0)
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.