Skip to content

EasyAbp/PrivateMessaging

Repository files navigation

PrivateMessaging

ABP version NuGet NuGet Download Discord online GitHub stars

An abp application module that allows users to send private messages to each other.

Installation

  1. 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
  2. Add DependsOn(typeof(PrivateMessagingXxxModule)) attribute to configure the module dependencies. (see how)

  3. Add builder.ConfigurePrivateMessaging(); to the OnModelCreating() method in MyProjectMigrationsDbContext.cs.

  4. Add EF Core migrations and update your database. See: ABP document.

Usage

  1. Add permissions to the roles you want.

  2. Enjoy this wonderful module.

Notifications Write a message Inbox Read a message

Roadmap

  • Add more configurations.
  • Use MongoDB to provide new message notifications.
  • Support Angular UI.
  • Unit tests.