Jherson huacho

1.3K posts

Jherson huacho banner
Jherson huacho

Jherson huacho

@JhersonHuacho

Aprendiendo cada dia en este mundo tan bonito que es la programación 😃💻🖥️🇵🇪 - Iquitos 🌴

Lima, Peru Katılım Nisan 2014
413 Takip Edilen42 Takipçiler
Jherson huacho retweetledi
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
Developers who say they don't have time for tests Are lying. Seriosly 👇 Many .NET developers write code for months without a single test. Most say - I don't have time or a budget for tests But in the age of AI... It's never been easier and faster to write any kind of tests. You need to have a good template for your tests. And the AI will follow. ⚠️So, no more excuses for not writing tests. I created a 2026 Testing Cheatsheet that covers everything you need. Save this post. You will thank me later. 📌 Testing Frameworks • xUnit • TUnit • NUnit 📌 Assertions • xUnit Assertions • Shouldly • FluentAssertions (is now paid) 📌 Integration Testing • Testing with .NET Aspire • WebApplicationFactory + TestContainers • Respawn 📌 Frontend Testing • Playwright • Selenium 📌 Mocking • NSubstitute • Moq 📌 Fake Data • Bogus • AutoFixture 📌 Snapshot Testing • Verify 📌 Behaviour Testing • ReqNRoll • SpecFlow (not maintained anymore) 📌 Performance Testing • BenchmarkDotNet • k6 • NBomber (paid for commercial usage) • JMeter Here is what I recommend in 2026: ✅ xUnit remains the most popular testing framework ✅ TUnit is a modern alternative worth exploring ✅ Shouldly is my go-to for readable assertions ✅ NSubstitute has the cleanest mocking API ✅ Bogus makes generating fake data easy ✅ Aspire provides the easiest way to write integration tests ✅ TestContainers spins up real databases in your tests ✅ Respawn resets your database between integration tests ✅ Playwright is the best choice for frontend testing today ✅ BenchmarkDotNet is the standard for micro-benchmarking in .NET ✅ k6 is excellent for load testing APIs ✅ NBomber allows you to reuse existing C# code for load tests ❌ Avoid **SpecFlow** → it is no longer maintained ❌ Be aware **FluentAssertions** is now a paid library 👉 You don't need every tool on this list. Here is your plan for adopting tests: 1. Unit Tests 2. Integration tests. 3. Load (performance) tests 4. Frontend (E2E) tests 📌 I have created a free guide for you on integration testing in Aspire: antondevtips.com/blog/dotnet-as… Which testing tools are you using in 2026? Share in the comments 👇 —— ♻️ Repost to help other .NET developers write better tests ➕ Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills
Anton Martyniuk tweet media
English
4
16
99
3.1K
Jherson huacho retweetledi
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
Most Senior devs tell you to create repositories for EF Core. But that's not the best way to code. As your .NET projects grow, handling data gets more and more complicated. Many teams start with the Repository Pattern, wrapping their EF Core queries inside. At first, this works fine. But as your project grows, your Repositories either don't do enough or try to do too much. Your code becomes harder to understand and modify as business requirements change. Each time you need a new filter or query, you add another method or even a new repository. Remember that EF Core's DbContext already implements the Repository and Unit of Work patterns This is clearly stated in the official Microsoft documentation on DbContext. You can also see this in the DbContext code summary in your IDE. When we create a repository over EF Core, we create an abstraction over an abstraction, leading to over-engineered solutions. How can you solve this issue? The answer is a 𝗦𝗽𝗲𝗰𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 pattern. The Specification Pattern is a way to describe what data you want from your database using small, reusable classes called "specifications". Each Specification represents a filter or a rule that can be applied to a query. This lets you build complex queries by combining simple, easy-to-understand classes. Recently, I shared with 𝟮𝟰,𝟬𝟬𝟬+ people: ➡️ Why Repositories Become a Bottleneck in Real Projects ➡️ What Is the Specification Pattern? ➡️ How to Implement Specifications in EF Core ➡️ Advanced Specifications Read the full article here: ↳ antondevtips.com/blog/specifica… 📌Subscribe to my weekly .NET newsletter, amazing content is coming in September — ♻️ Repost to help others learn about Specification Pattern ➕ Follow me ( @AntonMartyniuk ) for more
Anton Martyniuk tweet media
English
8
24
114
5.8K
Jherson huacho retweetledi
José Siles | AI | Data
José Siles | AI | Data@josesilesdata·
Deja de desplegar notebooks a producción. Usa esta estructura de proyectos:
José Siles | AI | Data tweet media
Español
3
36
165
5K
Jherson huacho retweetledi
Milan Jovanović
Milan Jovanović@mjovanovictech·
You can find security risks in your code at build time. Here's a simple way you can implement this in .NET in a few minutes. Imagine being able to find security risks when you build your code. Static code analysis lets you do this. Here's an example build error that warns me my password hashing code is insecure. 👇 Static code analysis can help you write secure and consistent code. And you can also enforce this at build, even in CI pipelines. If you want to see how to set this up from scratch, check out this article: milanjovanovic.tech/blog/improving… Note that this doesn't detect every possible issue. If you want to take this further, you can look at more powerful solutions like SonarQube. --- Sign up for the .NET Weekly with 75K+ other engineers, and get a free Clean Architecture template: milanjovanovic.tech/templates/clea…
Milan Jovanović tweet media
English
2
20
116
6.7K
Jherson huacho retweetledi
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
10 Secret Testing Techniques in .NET that senior developers know That juniors and middles don't know about Most developers only write unit tests. But senior developers test their architecture, behavior, and resilience too. Here are 10 testing techniques that seniors use 👇 1️⃣ 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 𝗧𝗲𝘀𝘁𝘀 • Verify that your layers, projects, and classes follow your architectural rules. • Ensure that your system's design rules are enforced and that your code follows the architecture you've set up. 2️⃣ 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻 𝗧𝗲𝘀𝘁𝘀 𝘄𝗶𝘁𝗵 𝗧𝗲𝘀𝘁𝗖𝗼𝗻𝘁𝗮𝗶𝗻𝗲𝗿𝘀 • Spin up real databases, queues, or Cache in disposable Docker containers. • Test real integrations to catch any issues that may arise when these components interact with each other. 3️⃣ 𝗖𝗼𝗻𝘁𝗿𝗮𝗰𝘁 𝗧𝗲𝘀𝘁𝘀 • Ensure that API or message contracts between services remain compatible. • Avoid breaking your consumers when refactoring or adding new fields. 4️⃣ 𝗘𝘃𝗲𝗻𝘁-𝗗𝗿𝗶𝘃𝗲𝗻 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Validate event publishing, consuming, and idempotency in distributed systems. • Confirm your events trigger expected outcomes. 5️⃣ 𝗘𝗿𝗿𝗼𝗿 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Simulate faults and exceptions to confirm resilience and proper error handling. • A system is only as strong as its failure paths. 6️⃣ 𝗦𝗻𝗮𝗽𝘀𝗵𝗼𝘁 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Capture structured outputs (GraphQL, JSON, XML, etc.) and detect unwanted changes. • Perfect for APIs and frontends for testing large responses. 7️⃣ 𝗕𝗲𝗵𝗮𝘃𝗶𝗼𝗿𝗮𝗹 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Verify system behavior from the user's or domain’s perspective using real scenarios. • Focus on what the system should do. 8️⃣ 𝗘𝗻𝗱-𝘁𝗼-𝗘𝗻𝗱 (𝗘𝟮𝗘) 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Test complete workflows across services, databases, and UI. • Ensures all parts of your system communicate correctly in real-world conditions. 9️⃣ 𝗟𝗼𝗮𝗱 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Measure how your system performs under high traffic, concurrency, and stress. • Helps identify bottlenecks before users do. 🔟 𝗖𝗵𝗮𝗼𝘀 & 𝗥𝗲𝘀𝗶𝗹𝗶𝗲𝗻𝗰𝗲 𝗧𝗲𝘀𝘁𝗶𝗻𝗴 • Inject random failures to validate fault tolerance and recovery mechanisms. • Real systems must survive the unexpected failures. —— ♻️ Repost to help more developers test smarter, not harder ➕ Follow me ( @AntonMartyniuk ) to improve your .NET Skills
Anton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet media
English
1
7
50
3.6K
Jherson huacho retweetledi
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
𝗜 𝗵𝗲𝗹𝗽 𝘀𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿𝘀 𝘁𝗼 𝗶𝗺𝗽𝗿𝗼𝘃𝗲 .𝗡𝗘𝗧 𝗦𝗸𝗶𝗹𝗹𝘀 1,000+ developers have already downloaded my .NET project template ⏰ Stop wasting weeks setting up projects. My project template will save you 120+ hours of setup and development. Get a proven .NET Backend template — built with industry best practices. Start building production features day 1 with a ready .NET template. ASP .NET Core Web API, EF Core, PostgreSQL, Authentication and Authorization, OpenTelemetry, FluentValidation, Swagger, Docker, and more. Project is ready to run in Docker in one-click with a fully configured database and external dependencies. Inside, you'll find: 📌 Production-grade architecture: ↳ Vertical Slice & Clean Architecture patterns ↳ Built-in authentication with JWT & refresh tokens ↳ OpenTelemetry, Validation, Logging, Error Handling and Tests out of the box. 📌 Modern tech stack: ↳ EF Core, FluentValidation, ASP .NET Core Minimal APIs ↳ Docker with PostgreSQL, Seq, and Jaeger 📌 High-quality code standards: ↳ Preconfigured .editorconfig and static code analysis ↳ Comprehensive unit, integration, and architecture tests 📌 Project's Architecure: ↳ Modular Monolith with 4 modules And the most important part: No AutoMapper, MediatR, FluentAssertions and other unnecessary 3rd party packages. The code quality of this project meets the highest standards, equivalent to those I maintain in enterprise-level production applications. Why trust me? Each Tuesday, 𝟭𝟯,𝟬𝟬𝟬+ developers receive my newsletter filled with practical tips on building robust, scalable .NET applications with high-quality source code. I've poured all my experience into this template to help you deliver faster, better code. Skip all the boilerplate — start with a fully configured .NET Backend template so you can focus on delivering business value from day one. Want this template? Here's how you get it: 1️⃣ Follow me 2️⃣ Like & Repost 3️⃣ I'll send DM with the .NET Template to you! (MUST be following, liked and reposted, 72h only) — ♻️ Repost to help others get the template ➕ Follow me ( Anton Martyniuk ) and comment “.NET” now, and you will get the best .NET Backend Template you can't find anywhere else.
Anton Martyniuk tweet media
English
44
92
272
16.6K
Darwinglish
Darwinglish@SoyDarwinglish·
Los 10 recursos GRATUITOS con los que mi último alumno llegó de A1 a B1 en inglés. 💣 Sin pagar cursos 🧨 Sin apps 💥 Solo practicando 30 minutos diarios 💥 Todo lo puse en un Notion público Dale like + comenta MEJORAR y te lo mando por DM. Ojo al resumen resumen 👇
Español
181
115
621
31.5K
Jherson huacho retweetledi
AristiDevs
AristiDevs@AristiDevs·
¿Quieres una licencia ANUAL para cualquier IDE de JetBrains GRATIS? 👉 Para participar: 1️⃣ Follow 2️⃣ RT este tuit 🗓️ El ganador será anunciado el próximo miércoles 26 de Marzo. ¡Mucha suerte! 🍀
AristiDevs tweet media
Español
13
197
179
11.6K
Jherson huacho retweetledi
AristiDevs
AristiDevs@AristiDevs·
¿Quieres una licencia ANUAL para cualquier IDE de JetBrains GRATIS? 👉 Para participar: 1️⃣ Follow 2️⃣ RT este tuit 🗓️ El ganador será anunciado el próximo miércoles 5 de Marzo. ¡Mucha suerte! 🍀
AristiDevs tweet media
Español
34
388
332
23.5K
Daniel Blanco 💻🤖
Daniel Blanco 💻🤖@DanielBlancoSWE·
Hoy cumplo 29 años! Para celebrar que ya me hago viejo, SORTEO 10 cupones gratis para mis cursos. ➡️ Sígueme, RT y comenta 👴 para participar! 🎁 Podrás elegir entre: 🔹Diseño de Sistemas 🔹Arquitectura Software Moderna 🔹SOLID y Clean Code 🔹Algoritmos y EEDD 🔹Camino a Senior
Español
280
301
516
57.5K
Darwinglish
Darwinglish@SoyDarwinglish·
La locura!🚀 He repartido 400+ enlaces con el script automático y más de 170 links manualmente del primer día de práctica de la rutina... ya me cansé 😮‍💨 Por favor, den like a este tweet y comenten "Day 1" para reactivar el script si aún no lo han recibido (ojo que me tienen que seguir también). Si no les llega en una hora, mándenme un DM Plz 🙌💻
Darwinglish tweet mediaDarwinglish tweet media
Español
201
27
264
17.2K
Jherson huacho retweetledi
Mukesh Murugan
Mukesh Murugan@iammukeshm·
GitHub Actions is Super Cool, and FREE. It can automate your CI/CD pipeline, ensuring seamless builds, tests, and deployments of your .NET workloads to the cloud. This article will teach you the following, 🛠️ Automated Builds & Tests: Ensure code quality with every push. 🐳 Docker Integration: Build and push Docker images to Amazon ECR effortlessly. 📦 ECS Task Definitions: Define how your containerized application runs. 🚀 Seamless Deployments: Automatically deploy the latest version of your API to production. 🚀 Read: codewithmukesh.com/blog/github-ac…
Mukesh Murugan tweet media
English
1
14
73
2.5K
Darwinglish
Darwinglish@SoyDarwinglish·
Hoy te traigo 6 apps para que te vuelvas fluido en inglés en este 2025 🚀 Ya sabes como se pone Twitter a la hora de poner links 😠 así que hice la lista en un sitio 🗒️ Solo tienes que seguirme y comentar "app" en este post para recibir un mensaje directo con la lista
Darwinglish tweet media
Español
284
136
823
59.1K
Jherson huacho retweetledi
Milan Jovanović
Milan Jovanović@mjovanovictech·
I'm building a scalable Webhooks system in .NET from scratch Check out the first part in the series: youtu.be/vaVZSh8QqH8
YouTube video
YouTube
Milan Jovanović tweet media
English
2
21
176
7.8K
Jherson huacho retweetledi
Mukesh Murugan
Mukesh Murugan@iammukeshm·
New to AWS? 🚀 Start your cloud journey with these Core AWS Services! As cloud computing evolves, AWS continues to lead as a go-to platform, offering powerful services for developers across all domains. 🌐 In my latest article, I’ve broken down the top AWS services you should learn to secure cloud-focused job roles. 💼 To simplify, I’ve categorized these services based on their use cases—compute, storage, databases, and more. 👉 Dive in and learn which services are must-haves for .NET developers and beyond: codewithmukesh.com/blog/essential… Let’s make cloud mastery simpler, step by step! 💡 #AWS #CloudComputing #DotNetDevelopers #LearnAWS #CloudSkills #CareerGrowth #AWSForBeginners #CloudJobs #AWSDeveloper
Mukesh Murugan tweet media
English
0
3
9
687
Jherson huacho retweetledi
Mukesh Murugan
Mukesh Murugan@iammukeshm·
Crack Cloud Job Opportunities as a .NET Developer! 🌟 I've put together a list of Essential AWS Services every Web Developer must master to stay ahead in the cloud game. 🚀 These services form the backbone of cloud computing and are frequently covered in interviews for cloud-based roles. From computing to storage, database, networking, and security—knowing these will not only boost your skills but also increase your chances of landing top AWS-based cloud jobs. ✨ What’s inside? I’ve categorized the key AWS services by their use cases to give you a clear, focused roadmap. Think of this as your guide to mastering the most in-demand AWS skills for .NET developers in 2025 and beyond! 🌐 Your Cloud Journey Starts Here! 👉 Read more here: codewithmukesh.com/blog/essential…
Mukesh Murugan tweet media
English
0
12
46
1.9K