Which of these two is faster?
Read more here:
https://www.devleader.ca/2024/03/14/activator-createinstance-vs-type-invokemember-a-clear-winner/
Which of these two is faster?
Read more here:
https://www.devleader.ca/2024/03/14/activator-createinstance-vs-type-invokemember-a-clear-winner/
Have you heard of the observer pattern?
Read more here:
https://www.devleader.ca/2023/11/17/examples-of-the-observer-pattern-in-c-how-to-simplify-event-management/
Do you use enums in CSharp?
Read more here:
https://www.devleader.ca/2023/11/15/enums-in-csharp-a-simple-guide-to-expressive-code/
Looking for a quick way to share CSharp snippets?
Read more here:
https://www.devleader.ca/2023/11/08/discovering-the-features-of-dotnetfiddle-how-to-compile-c-online/
Want to know what my favorite design pattern is?
Read more here:
https://www.devleader.ca/2023/10/19/how-to-implement-the-facade-pattern-in-c-for-simplified-code-and-increased-efficiency/
CoreWCF: Basic OpenTelemetry support.
buff.ly/HyCRINj
#dotnet #wcf #corewcf #dotnetcore #opentelemetry
Basic OpenTelemetry support
Introducing ODP .NET 23.9: Enhanced Features for Distributed Transactions, AI, and More.
Introducing ODP .NET 23.9: Enhanced Features for Distributed Transactions, AI, and More.
buff.ly/bgbhH2b
#oracle #dotnet #dataaccess #ai #database #odpnet #dotnetcore #netframework
Introducing ODP.NET 23.9: Enha...
CSharp developers are familiar with IServiceCollection in ASP NET Core...
Read more here:
https://www.devleader.ca/2024/05/14/how-to-use-iservicecollection-in-console-applications-what-you-need-to-know/
So it looks like there's more than one way to compare strings in CSharp, eh?
Read more here:
https://www.devleader.ca/2024/01/01/how-to-compare-strings-in-csharp-tips-and-tricks-you-need-to-know/
Do you use optional parameters in CSharp?
Read more here:
https://www.devleader.ca/2023/12/03/how-to-take-advantage-of-csharp-optional-parameters-for-cleaner-code/
How does the switch statement work in CSharp?
Read more here:
https://www.devleader.ca/2023/11/16/the-csharp-switch-statement-how-to-go-from-zero-to-hero/
How do you use enums in CSharp?
Read more here:
https://www.devleader.ca/2023/10/27/how-to-use-enums-in-csharp-understanding-the-basics/
Bart Wullems of The Art of Simplicity shares his experience using Microsoft's .NET Source Browser to take a peek at a particular API's internals. The code documentation pages have links to the corresponding Github repositories where you can see exactly how any given function is implemented.
"Browse the .NET code base with the .NET Source Browser"
https://bartwullems.blogspot.com/2025/06/browse-net-code-base-with-net-source.html
Have you used reflection in CSharp?
Read more here:
https://www.devleader.ca/2023/10/25/how-to-master-the-art-of-reflection-in-csharp-and-boost-your-programming-skills/
You've no doubt seen this keyword in CSharp code...
Read more here:
https://www.devleader.ca/2024/01/10/what-does-yield-do-in-c-a-simplified-view-for-beginners/
InfoWorld contributor Joydip Kanjilal reviews a group of read-only data structures in .NET Core that are optimized to allow very fast thread-safe reads over their data in comparison to plain dictionaries, lists, and hash sets.
Namely: FrozenSet and FrozenDictionary.
He also shows benchmark results, and includes a tutorial written in C#.
"How to use frozen collections in C#"
https://www.infoworld.com/article/4000458/how-to-work-with-frozen-collections-in-c-sharp.html
What kind of sorcery do we get with TWO dependency containers in ASP NET Core?!
Read more here:
https://www.devleader.ca/2024/05/03/autofac-componentregistrybuilder-in-asp-net-core-how-to-register-dependencies-part-3/
What is Base64 and how does it help us with binary data?
Read more here:
https://www.devleader.ca/2024/01/02/how-to-format-a-string-as-base64-in-csharp-beginners-guide/