Skip to content

Tropa Chat Messaging Server. This project implements a real-time chat messaging server using .NET 8 Minimal API, SignalR, and an in-memory cache for temporary data storage (for demonstration purposes). The code adheres to an N-Tier architecture and incorporates authentication and authorization mechanisms.

Notifications You must be signed in to change notification settings

patrick-tingson/TP.Tropa.Service

Repository files navigation

Tropa Chat Messaging Server with .NET 8 Minimal API and SignalR

This project implements a real-time chat messaging server using ASP.NET 8 Minimal API, SignalR, and an in-memory cache for temporary data storage (for demonstration purposes). The code adheres to an N-Tier architecture and incorporates authentication and authorization mechanisms.


Prerequisites:

Tech Stack:

Features:
  • Real-time chat functionality using SignalR
  • User authentication and authorization (implementation details omitted for brevity)
  • N-Tier architecture separates concerns (Models, Controllers, Hubs, Services, Repositories)
  • In-memory cache acts as a temporary database (for demo)
  • (Optional) Future integration with a persistent database (e.g., SQL Server, CosmosDb) using Entity Framework Core

Running the application:
  • Restore NuGet packages: dotnet restore
  • Run the server: dotnet run
  • Access the application using a web client that supports SignalR (e.g., localhost:5000/)

Notes
  • This is a basic implementation for demonstration purposes.
  • Authentication and authorization details are omitted for brevity. You'll need to implement them based on your chosen approach (e.g., JWT, IdentityServer).
  • The in-memory cache is for demo only. Consider a persistent database for production environments.
  • Error handling and logging are not included in this basic example.

Further Enhancements:
  • Implement user presence and typing indicators.
  • Integrate private messaging functionality.
  • Add file upload capabilities.
  • Persist chat history in a database.

Refer to the following resources for more details on the used technologies:

End

About

Tropa Chat Messaging Server. This project implements a real-time chat messaging server using .NET 8 Minimal API, SignalR, and an in-memory cache for temporary data storage (for demonstration purposes). The code adheres to an N-Tier architecture and incorporates authentication and authorization mechanisms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages