online-chat-server's Introduction
online-chat-server's People
Forkers
axisloveronline-chat-server's Issues
Split constructors and rules in validators
Develop Conversation API
Automatically set created and modified date on each record in EF Core
Materials for study
- Automatically set created and modified date on each record in EF Core
https://www.entityframeworktutorial.net/faq/set-created-and-modified-date-in-efcore.aspx
Move Services abstractions to interfaces directory
Make roles as constants
MediatR
Materials for study
- CQRS and MediatR in ASP.NET Core
https://code-maze.com/cqrs-mediatr-in-aspnet-core/ - CQRS Validation Pipeline with MediatR and FluentValidation
https://code-maze.com/cqrs-mediatr-fluentvalidation/
Check Query names
Remove conversations
Add DTOs
SignalR
Materials for study
- Общие сведения об ASP.NET CoreSignalR
https://code-maze.com/using-the-problemdetails-class-in-asp-net-core-web-api/ - .NET Core with SignalR and Angular – Real-Time Charts
https://code-maze.com/netcore-signalr-angular-realtime-charts/ - но с сигнал р есть прикол как JWT передавать, его ты в хедеры не засунешь, его надо через Url передавать
Docker-compose
Materials for study
- Tutorial: Create a multi-container app with Docker Compose
https://learn.microsoft.com/en-us/visualstudio/containers/tutorial-multicontainer?view=vs-2022 - По докеру посмотри видос от Владлен Минин на ютубе про докер чтоб базовые вещи понять
Server should be return the view models
Masstransit
Messaging with microservice usings RabbitMq
Materials for study
- Quick Starts
https://masstransit.io/quick-starts
Upload/Download attachments
Materials for study
- Azure BLOB Storage with ASP.NET Core and Angular
https://code-maze.com/azure-blob-storage-with-asp-net-core-and-angular/ - Uploading Files With .NET Core Web API and Angular
https://code-maze.com/upload-files-dot-net-core-angular/
Move QuestPDF to microservice
Fluent API, Fluent Validation
Materials for study
- Fluent API Configuration
https://www.learnentityframeworkcore.com/configuration/fluent-api - Fluent Validation
https://docs.fluentvalidation.net/en/latest/aspnet.html
Deprecated MediatR.Extensions.Microsoft.DependencyInjection
Bug with 2 connections SignalR
QuestPDF
Materials for study
- QuestPDF
https://www.questpdf.com/
Azure Blob Storage
#back
Ребят, кто не знаком с тем что такое Azure Blob Storage то советую познакомиться. На проектах где обычно нужно хранить/получать файлы обычно это и используют.
Краткое видео: https://www.youtube.com/watch?v=9ZpMpf9dNDA&t=368s
Будьте внимательны, в этом видео используется пакет который уже депрекейтед. Майки почему-то любят пакет для блоб сторейджа менять часто. Но суть вся останется +- такая же. Возможно изменятся имена классов/методов где-то или что-то такое. Тут свежая дока в помощь.
Кто без проекта или просто скучно советую написать какое-нибудь СRUD приложение для файлов.
К примеру передаем файл через постман и записываем в blob storage и так же можем скачать его и поместить на диск D.
Полезные ссылки:
Azure Storage Emulator (нужно для эмуляции ажур сервера локально, чтобы загружать не в реальный ажур а локально): https://learn.microsoft.com/en-us/azure/storage/common/storage-use-emulator
Перед установкой проверьте, возможно он у вас уже установлен.
Azure Storage Explorer (Для визуализации ваших файлов (Типо проводник файлов)): https://azure.microsoft.com/en-us/products/storage/storage-explorer/#features
Некая документация и ссылки которые могут быть полезны (Но советую сначала посмотреть видео):
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet?tabs=visual-studio%2Cmanaged-identity%2Croles-azure-portal%2Csign-in-azure-cli
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-dotnet-get-started
https://learn.microsoft.com/en-us/azure/storage/common/storage-samples-dotnet
Ваша строка подключения к блоб сторейджу локальному будет: "UseDevelopmentStorage=true;". Вам не нужно ничего покупать на ажуре. Это локально будет все работать прекрасно. Главно не забудьте запустить эмулятор, ссылка на него выше.
Automapper
Materials for study
- Getting Started with AutoMapper in ASP.NET Core
https://code-maze.com/automapper-net-core/ - Getting Started With Mapster in ASP.NET Core
https://code-maze.com/mapster-aspnetcore-introduction/ - AutoMapper vs Mapster in .NET
https://code-maze.com/automapper-vs-mapster-dotnet/
Onion Architecture
Materials for study
- Onion Architecture in ASP.NET Core
https://code-maze.com/onion-architecture-in-aspnetcore/
ProblemDetails
Materials for study
- Using the ProblemDetails Class in ASP.NET Core Web API
https://code-maze.com/using-the-problemdetails-class-in-asp-net-core-web-api/
Data Seeding
Materials for study
- Data Seeding
https://learn.microsoft.com/en-us/ef/core/modeling/data-seeding - Migrations and Seed Data With Entity Framework Core
https://code-maze.com/migrations-and-seed-data-efcore/
Change to Records
Make base class for validators (split constructors and rules by abstract)
Hangfire
Add hangfire task scheduler for delete messages by custom delay
Materials for study
- Using Dapper with ASP.NET Core Web API
https://code-maze.com/using-dapper-with-asp-net-core-web-api/
Dapper
Add Dapper into Cron microsevice for work with server database
Materials for study
- Using Dapper with ASP.NET Core Web API
https://code-maze.com/using-dapper-with-asp-net-core-web-api/
Set access modifier to internal in all Handlers
Reading about Saga
EF Views
Materials for study
- Проекция запросов на представления
https://metanit.com/sharp/efcore/8.2.php - SQL Views for Entity Framework Core - code first
https://stefried.medium.com/sql-views-for-entity-framework-core-code-first-c07bfe607fa1 - How To Add A View To An Entity Framework Core DbContext
https://khalidabuhakmeh.com/how-to-add-a-view-to-an-entity-framework-core-dbcontext
Add DI Extension Methods
Work with secrets
HttpClient
Materials for study
-
HttpClient with ASP.NET Core Tutorial
https://code-maze.com/httpclient-with-asp-net-core-tutorial/ -
Using Streams with HttpClient to Improve Performance and Memory Usage
https://code-maze.com/using-streams-with-httpclient-to-improve-performance-and-memory-usage/ -
Using HttpClientFactory in ASP.NET Core Applications
https://code-maze.com/using-httpclientfactory-in-asp-net-core-applications/ -
How to use HttpClient correctly
https://www.rahulpnath.com/blog/are-you-using-httpclient-in-the-right-way/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.