C# (C Sharp) programming
По всем вопросам- @notxxx1 Реестр РКН: https://clck.ru/3Fk3kb #VRHSZ
Show more📈 Analytical overview of Telegram channel C# (C Sharp) programming
Channel C# (C Sharp) programming (@csharp_ci) in the Russian language segment is an active participant. Currently, the community unites 18 034 subscribers, ranking 7 243 in the Technologies & Applications category and 36 525 in the Russia region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 18 034 subscribers.
According to the latest data from 28 October, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -51 over the last 30 days and by -11 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 15.68%. Within the first 24 hours after publication, content typically collects 8.24% reactions from the total number of subscribers.
- Post reach: On average, each post receives 2 828 views. Within the first day, a publication typically gains 1 486 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 0.
- Thematic interests: Content is focused on key topics such as .net, api, логика, архитектура, string.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“По всем вопросам- @notxxx1
Реестр РКН: https://clck.ru/3Fk3kb
#VRHSZ”
Thanks to the high frequency of updates (latest data received on 29 October, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
IMiddleware
2. Помести всю логику в InvokeAsync(...)
Но не забудь два важных шага:
✅ Зарегистрируй middleware в DI-контейнере:
services.AddTransient<YourMiddleware>();
✅ Добавь его в пайплайн:
app.UseMiddleware<YourMiddleware>();
🎯 Такой подход:
- делает middleware переиспользуемым
- учитывает область действия зависимостей (scoped)
- и позволяет легко покрыть тестами
Идеально, если хочешь поддерживаемый и чистый код..ToLower()
Плохая практика:
bool equal = stringA.ToLower() == stringB.ToLower();
❌ Медленно (каждый раз создаёт новые строки)
❌ Лишние аллокации памяти
Правильный способ:
bool equal = string.Equals(stringA, stringB, StringComparison.OrdinalIgnoreCase);
✅ Без лишних аллокаций
✅ Намного быстрее
✅ Чёткий контроль над правилами сравнения
📊 Бенчмарки:
.ToLower() → ~38 ns
.ToUpper() → ~50 ns
string.Equals(..., OrdinalIgnoreCase) → ~0.003 ns 🚀npm install, затем запустить через Aspire
📦 Структура запуска:
# из папки с AppHost
dotnet run
# откроется Aspire Dashboard
# через него можно перейти в React‑frontend, вызвав API
🧠 Почему это круто:
- Работает из коробки: сервисы стартуют, обнаруживают друг друга и логируются в едином UI
- Повна́я изоляция: конфигурации, порты, переменные окружения управляются централизованно
- Пресеты шаблонов облегчают настройку и отладку
📌 Подробности
@react_tg