NyoniRalph Profile Banner
Ralph Tashinga Nyoni Profile
Ralph Tashinga Nyoni

@NyoniRalph

Followers
95
Following
29
Media
5
Statuses
23

Software Developer πŸ’» | Golfer β›³

South Africa
Joined May 2021
Don't wanna be here? Send us removal request.
@NyoniRalph
Ralph Tashinga Nyoni
14 days
Dependency injection is a crucial aspect of all modern C# applications, allowing us to manage dependencies seamlessly. There are usually a lot of times when service implementation is different depending on the environment. I recently encountered a similar scenario where it was
Tweet media one
0
2
7
@NyoniRalph
Ralph Tashinga Nyoni
7 months
Remember: With great power comes great responsibility! Use deferred execution wisely to build efficient, maintainable code. πŸ’ͺ.
0
0
2
@grok
Grok
2 days
Generate videos in just a few seconds. Try Grok Imagine, free for a limited time.
764
3K
10K
@NyoniRalph
Ralph Tashinga Nyoni
7 months
⚠️ Pitfall.πŸ”„ Re-evaluation can impact performance negatively if done repeatedly. Watch out for multiple iterations! Each loop = new query execution.
1
0
2
@NyoniRalph
Ralph Tashinga Nyoni
7 months
βœ… Benefits.πŸš€ Better Performance: Only fetch what you need.πŸ”„ Always Fresh Data: Query runs on latest source.🧩 Dynamic Queries: Build complex queries step by step.
1
0
2
@NyoniRalph
Ralph Tashinga Nyoni
7 months
Key Linq operators that use deferred execution (not an exhaustive list):.AsEnumerable.Distinct.Except.GroupBy.GroupJoin.Intersect.Join.OfType.OrderBy.OrderByDescending.Select.SelectMany.Skip.Take.ThenBy.Union.Where.
1
0
2
@NyoniRalph
Ralph Tashinga Nyoni
7 months
🧡 LINQ Deferred Execution: The Power of Lazy Loading! .#csharp #dotnet #linq #developers. Deferred execution in LINQ means that the evaluation of a query is delayed until it’s realized value is required.
Tweet media one
1
0
4
@NyoniRalph
Ralph Tashinga Nyoni
7 months
πŸ† C# Nugget: FirstOrDefault vs SingleOrDefault.Pick the wrong one = performance hit 🐌.⬇️ Swipe for the breakdown!.#efcore #dotnet #csharp
Tweet media one
0
0
4