Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile
Stefan Đokić | .NET

@thecodeman__

➡️ Level Up with Everyday .NET Content | Microsoft MVP
➡️ YouTube: youtube.com/@thecodeman_
➡️ TheCodeMan.net Newsletter

ID: 491684234

linkhttps://thecodeman.net calendar_today13-02-2012 22:21:57

2,2K Tweet

6,6K Followers

236 Following

Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

🧪 Just tested my website TheCodeMan.net, using an AI-powered tool called TestSprite (testsprite.com) - and the results were mind-blowing. Startups need this. Here’s how it found test cases, ran validations, and even generated test code in minutes. 🚀 👇 A

🧪 Just tested my website TheCodeMan.net, using an AI-powered tool called TestSprite (testsprite.com) - and the results were mind-blowing.

Startups need this.

Here’s how it found test cases, ran validations, and even generated test code in minutes. 🚀

👇 A
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

#Dotnet devs spend 80% of their time on: - DI configuration - Mapping DTOs - Writing test doubles - Fighting tooling And 20% on actual business logic. Where do you spend most of your time? 👇

Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

How to implement distributed transactions in microservices? What is and how to implement Saga Pattern? 👇 As more businesses embrace Microservice architectures, we developers must enhance our skills in Microservices communication. A key challenge in this area is designing

How to implement distributed transactions in microservices?

What is and how to implement Saga Pattern? 👇 

As more businesses embrace Microservice architectures, we developers must enhance our skills in Microservices communication.

A key challenge in this area is designing
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

It always begins with: - Rename MyProject - Add .editorconfig - Forget to set nullable to enable What are the first steps when you start the #dotnet project?

Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

What is Circuit Breaker Strategy? "If something keeps failing, stop trying for a while." The circuit breaker temporarily blocks calls to a failing system, preventing overload and giving it time to recover. Why is it valuable? • Avoid hammering a broken service. • Let things

What is Circuit Breaker Strategy?

"If something keeps failing, stop trying for a while."

The circuit breaker temporarily blocks calls to a failing system, preventing overload and giving it time to recover.
 
Why is it valuable?
• Avoid hammering a broken service.
• Let things
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

There are two types of #dotnet teams: Those who argue var vs explicit type in Slack, and those who settle it in .editorconfig. → What’s the most ridiculous formatting debate you’ve seen?

Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

How can you implement the Custom Compression Provider? And why is Response Compression important? ⬇ Since there is a limited amount of network bandwidth available, enhancing its efficiency can significantly improve the performance of your application. A key method to

How can you implement the Custom Compression Provider?

And why is Response Compression important? ⬇ 

Since there is a limited amount of network bandwidth available, enhancing its efficiency can significantly improve the performance of your application.
 
A key method to
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

Yesterday, I tested Bulk Inserts in #dotnet I compared Dapper and Dapper Plus. Every developer hits this moment: you need to import a big batch of data - maybe from a CSV file - into SQL Server. At first, it seems simple enough: loop through the rows and insert them one by

Yesterday, I tested Bulk Inserts in #dotnet

I compared Dapper and Dapper Plus.
 
Every developer hits this moment: you need to import a big batch of data - maybe from a CSV file - into SQL Server.
 
At first, it seems simple enough: loop through the rows and insert them one by
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

𝗛𝗲𝗿𝗲'𝘀 𝗵𝗼𝘄 𝘁𝗼 𝗺𝗮𝗸𝗲 𝗶𝘁 𝗰𝗹𝗲𝗮𝗻𝗲𝗿 𝗮𝗻𝗱 𝗺𝗼𝗿𝗲 𝗿𝗲𝗮𝗱𝗮𝗯𝗹𝗲 Program.cs file. Really easy. One of the first things we do when building an application is configuration: • Logging • Database and ORM • CORS • Authentication • DI services • API

𝗛𝗲𝗿𝗲'𝘀 𝗵𝗼𝘄 𝘁𝗼 𝗺𝗮𝗸𝗲 𝗶𝘁 𝗰𝗹𝗲𝗮𝗻𝗲𝗿 𝗮𝗻𝗱 𝗺𝗼𝗿𝗲 𝗿𝗲𝗮𝗱𝗮𝗯𝗹𝗲 Program.cs file.

Really easy. 

One of the first things we do when building an application is configuration:

• Logging
• Database and ORM
• CORS
• Authentication
• DI services
• API
Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

No one tells you this, but IHttpClientFactory in #Dotnet isn’t about performance - it’s about not exhausting sockets and killing your app. Did you learn this the hard way?

Stefan Đokić | .NET (@thecodeman__) 's Twitter Profile Photo

AddScoped is not the same as AddTransient. Yet somehow, half the bugs in #Dotnet in DI are lifecycle-related. What’s your worst DI configuration bug?