Programming & AI Tips 💡
Programming & AI: Tips 💡 Articles 📕 AI & LLMs 👾 Design, Architecture, Principles ✅ 🇳🇱 Contact: @MoienTajik
Show more📈 Analytical overview of Telegram channel Programming & AI Tips 💡
Channel Programming & AI Tips 💡 (@programmingtip) in the English language segment is an active participant. Currently, the community unites 46 028 subscribers, ranking 2 908 in the Technologies & Applications category.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 46 028 subscribers.
According to the latest data from 29 October, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -416 over the last 30 days and by -8 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 5.61%. Within the first 24 hours after publication, content typically collects 1.85% reactions from the total number of subscribers.
- Post reach: On average, each post receives 2 583 views. Within the first day, a publication typically gains 853 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 0.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅
🇳🇱 Contact: @MoienTajik”
Thanks to the high frequency of updates (latest data received on 30 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.
[HttpPost]
public ActionResult Index(SomeModel model)
{
if (ModelState.IsValid)
{
return View();
}
// do something
return RedirectToAction("index");
}
Stop repeating ModelState checks in your ASP.NET MVC controller actions. ❌
Wouldn’t it be nice if all we had to do was like this ? ⚡️
[HttpPost]
[ValidateModelState]
public ActionResult Index(SomeModel model)
{
// if we get here, ModelState is valid
// save to db etc.
return RedirectToAction("index");
}
https://t.me/pgimg/89
[ Article ] : http://bit.do/msta
〰〰〰〰〰〰
#AspMvc #CleanCode
@ProgrammingTipInstall-Package PollyUsage :
public class Mailer
{
public static bool SendEmail()
{
Console.WriteLine("Sending Mail ...");
// simulate error
Random rnd = new Random();
var rndNumber = rnd.Next(1, 10);
if (rndNumber != 3)
throw new SmtpFailedRecipientException();
Console.WriteLine("Mail Sent successfully");
return true;
}
}
We retry to send the email 3 times if something failed ❌ :
var policy = Policy.Handle<SmtpFailedRecipientException>().Retry(3); policy.Execute(Mailer.SendEmail);🔹🔸🔹🔸 https://t.me/pgimg/79 [ Github ] : http://bit.do/pollyc 〰〰〰〰〰〰 #CSharp #RetryPattern @ProgrammingTip
Install-Package FluentValidationFor ASP.NET MVC integration :
Install-Package FluentValidation.MVC5For ASP.NET Core :
Install-Package FluentValidation.AspNetCore🔹🔸🔹🔸 Example :
public class PersonValidator : AbstractValidator<Person>
{
public PersonValidator()
{
RuleFor(x => x.ID).NotEmpty();
RuleFor(x => x.FirstName)
.NotEmpty()
.WithMessage("{PropertyName} is required !")
.MinimumLength(5)
.WithMessage("Minimum length for {PropertyName} is {MinLength} !");
RuleFor(x => x.LastName)
.NotEmpty()
.WithMessage("{PropertyName} is required !")
.MinimumLength(5)
.WithMessage("Minimum length for {PropertyName} is {MinLength} !");
RuleFor(x => x.Email)
.NotEmpty()
.WithMessage("{PropertyName} is required !")
.EmailAddress()
.WithMessage("{PropertyName} is not valid !");
}
}
🔹🔸🔹🔸
https://t.me/pgimg/78
[ Github ] : http://bit.do/flval
〰〰〰〰〰〰
#CSharp #AspMvc #Validation
@ProgrammingTip