An abp application module that allows users to send private messages to each other.
We have launched an online demo for this module: https://pm.samples.easyabp.io
-
Install the following NuGet packages. (see how)
- EasyAbp.PrivateMessaging.Application
- EasyAbp.PrivateMessaging.Application.Contracts
- EasyAbp.PrivateMessaging.Domain
- EasyAbp.PrivateMessaging.Domain.Shared
- EasyAbp.PrivateMessaging.EntityFrameworkCore
- EasyAbp.PrivateMessaging.HttpApi
- EasyAbp.PrivateMessaging.HttpApi.Client
- (Optional) EasyAbp.PrivateMessaging.MongoDB
- (Optional) EasyAbp.PrivateMessaging.Web
-
Add
DependsOn(typeof(PrivateMessagingXxxModule))
attribute to configure the module dependencies. (see how) -
Add
builder.ConfigurePrivateMessaging();
to theOnModelCreating()
method in MyProjectMigrationsDbContext.cs. -
Add EF Core migrations and update your database. See: ABP document.
-
Add permissions to the roles you want.
-
Enjoy this wonderful module.
- Add more configurations.
- Use MongoDB to provide new message notifications.
- Support Angular UI.
- Unit tests.