# PrivateMessaging

ABP version (opens new window) NuGet (opens new window) NuGet Download (opens new window) GitHub stars (opens new window)

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

# Online Demo

We have launched an online demo for this module: https://pm.samples.easyabp.io (opens new window)

# Installation

  1. Install the following NuGet packages. (see how (opens new window))

    • 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 (opens new window))

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

  4. Add EF Core migrations and update your database. See: ABP document (opens new window).

# 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.
Last Updated: 12/28/2020, 10:13:45 AM