TJ (@tjnssn) 's Twitter Profile
TJ

@tjnssn

Software Developer @traperto // dotnet and git enthusiast

ID: 391295640

linkhttps://github.com/kryptobi calendar_today15-10-2011 10:43:56

477 Tweet

83 Takipçi

380 Takip Edilen

Muhammad Waseem (@mwaseemzakir) 's Twitter Profile Photo

How to throw exceptions based on NULL values in .NET ? Previously we used to check first if the value is null and then throw exception but with .NET 6 and since C# 11 we can do these both things in one go #dotnet

How to throw exceptions based on NULL values in .NET ?

Previously we used to check first if the value is null and then throw exception but with  .NET 6 and since C# 11 we can do these both things in one go

#dotnet
Matthew Layton (@mrmatthewlayton) 's Twitter Profile Photo

Why do developers insist on returning interfaces instead of implementations from functions? For example: Why this… IList<int> GetFactors(int value) {…} Instead of… List<int> GetFactors(int value) {…}

Muhammad Waseem (@mwaseemzakir) 's Twitter Profile Photo

REST API naming conventions and best practices ? 1. Represent resources with plural nouns (e.g., /users instead of /user) 2. Keep URIs simple, intuitive, and easy to understand, avoiding unnecessary complexity 3. Use HTTP methods appropriately for operations (e.g., POST for

Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

𝗜𝗘𝘅𝗰𝗲𝗽𝘁𝗶𝗼𝗻𝗛𝗮𝗻𝗱𝗹𝗲𝗿 𝗶𝘀 𝗮 𝗻𝗲𝘄 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 𝗶𝗻 𝗔𝗦𝗣 .𝗡𝗘𝗧 𝗖𝗼𝗿𝗲 𝟴. I'm not a fan of exceptions, but I think this is an excellent feature. Exceptions are for exceptional situations. But you have to handle exceptions regardless. The

𝗜𝗘𝘅𝗰𝗲𝗽𝘁𝗶𝗼𝗻𝗛𝗮𝗻𝗱𝗹𝗲𝗿 𝗶𝘀 𝗮 𝗻𝗲𝘄 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 𝗶𝗻 𝗔𝗦𝗣 .𝗡𝗘𝗧 𝗖𝗼𝗿𝗲 𝟴.

I'm not a fan of exceptions, but I think this is an excellent feature.

Exceptions are for exceptional situations.

But you have to handle exceptions regardless.

The
Muhammad Waseem (@mwaseemzakir) 's Twitter Profile Photo

💡 Don’t confuse IEnumerable and List in .NET ? IEnumerable is base interface for all collections in .NET and List is concrete class. IEnumerable<T> - It is read only. - It is interface - It can’t initialized with new() - It defines a single method called GetEnumerator - If

💡 Don’t confuse IEnumerable and List in .NET ?

IEnumerable is base interface for all collections in .NET and List is concrete class. 

IEnumerable&lt;T&gt;
- It is read only.
- It is interface
- It can’t initialized with new() 
- It defines a single method called GetEnumerator
- If
Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

𝗪𝗵𝗮𝘁 𝗶𝘀 𝗴𝗥𝗣𝗖 𝗮𝗻𝗱 𝘄𝗵𝗲𝗻 𝘀𝗵𝗼𝘂𝗹𝗱 𝘆𝗼𝘂 𝘂𝘀𝗲 𝗶𝘁? gRPC is a high-performance remote procedure call framework developed by Google. Its primary use case is service-to-service communication. That's why you will often see it used with microservices.

𝗪𝗵𝗮𝘁 𝗶𝘀 𝗴𝗥𝗣𝗖 𝗮𝗻𝗱 𝘄𝗵𝗲𝗻 𝘀𝗵𝗼𝘂𝗹𝗱 𝘆𝗼𝘂 𝘂𝘀𝗲 𝗶𝘁? 
 
gRPC is a high-performance remote procedure call framework developed by Google. 
 
Its primary use case is service-to-service communication. 
That's why you will often see it used with microservices.
JetBrains (@jetbrains) 's Twitter Profile Photo

Our online #JetBrainsAI launch event is coming up! 📅 Mark your calendars: December 6, 5:00 pm (CET) | 8:00 am (PST) Set a reminder 👉 jb.gg/aihere

Our online #JetBrainsAI launch event is coming up!
📅 Mark your calendars: December 6, 5:00 pm (CET) | 8:00 am (PST)
Set a reminder 👉 jb.gg/aihere
Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

How do you squeeze out that last bit of performance from EF Core? You can try Compiled Queries. They're more performant than typical EF queries. They can take advantage of some additional optimizations. Here's how to start using Compiled Queries: milanjovanovic.tech/blog/unleash-e…

MrBeast (@mrbeast) 's Twitter Profile Photo

I’m gonna give 10 random people that repost this and follow me $25,000 for fun (the $250,000 my X video made) I’ll pick the winners in 72 hours

Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

Endpoint per request in ASP .NET Core? This is closely aligned with Vertical Slice Architecture. Vertical slice architecture organizes the code around features or use cases. You can combine vertical slices with the REPR pattern. REPR = Request-EndPoint-Response The REPR

Endpoint per request in ASP .NET Core?

This is closely aligned with Vertical Slice Architecture.

Vertical slice architecture organizes the code around features or use cases.

You can combine vertical slices with the REPR pattern.

REPR = Request-EndPoint-Response

The REPR
Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

What are Channels in .NET? 👇 A powerful abstraction for asynchronous messaging. Implementing the producer-consumer pattern can be challenging. Conceptually, it's a simple idea: - Producers asynchronously produce data - Consumers asynchronously consume data Channels solve

What are Channels in .NET? 👇

A powerful abstraction for asynchronous messaging.

Implementing the producer-consumer pattern can be challenging.

Conceptually, it's a simple idea:

- Producers asynchronously produce data
- Consumers asynchronously consume data

Channels solve
TJ (@tjnssn) 's Twitter Profile Photo

Wir starten wieder ein #Meetup mit dem Special Guest Marco Frodl von Thinktecture der über Tracing- und Debugging-Techniken für LLM-Anwendungen berichtet und unserem Kollegen Niklas der über "the worst of php" einiges erzählt. 🚀 meetup.com/de-DE/niederrh…

Milan Jovanović (@mjovanovictech) 's Twitter Profile Photo

Three ways you can enforce your software architecture: - Compiler ($) - Automated tests ($$) - Code reviews ($$$$$) Most teams end up choosing the most expensive option. Instead, try architecture tests: milanjovanovic.tech/blog/enforcing…

TJ (@tjnssn) 's Twitter Profile Photo

Does anyone who follows me know someone who is familiar with SCIM RFC 7644 through #entraid / Microsoft Azure. Got an issue with a post of custom attributes Read more: reddit.com/r/entra/s/9zIi…

Sebastian Gingter (@phoenixhawk) 's Twitter Profile Photo

Currently on my way to Bonn, where I will be at the Gnerative AI InfoDays on Monday and Tuesday. Catch me both days on the conference floors and attend my talk about securing the integration of LLMs in your business applications on Tuesday. Hope to see you there!

Currently on my way to Bonn, where I will be at the Gnerative AI InfoDays on Monday and Tuesday. Catch me both days on the conference floors and attend my talk about securing the integration of LLMs in your business applications on Tuesday. Hope to see you there!
Uncle Bob Martin (@unclebobmartin) 's Twitter Profile Photo

Honestly. The Agile methods can be boiled down to this: 1. Work in short cycles. 2. Measure what happens. 3. Adapt. If you don't find story points helpful, don't use story points. If daily scrums are getting in the way, don't do daily scrums. If the cycle is too long, shorten