Hi there, I'm Poorna Soysa ๐ Welcome to my YouTube channel!
I'm passionate about .NET, C#, software engineering, and cloud technologies. Here, I share expert insights, tutorials, and best practices on:
โ
.NET Development โ ASP.NET Core, EF Core, Dapper, and .NET features
โ
C# Programming โ New language features, design patterns, and clean code
โ
Azure & AWS โ Cloud services, DevOps, and best practices
โ
Software Architecture โ Clean Architecture, Vertical Slice Architecture, DDD, CQRS, and scalable solutions
๐ Subscribe now and never miss an update!
Poorna Soysa
Which keyword in C# is used to define a method that can be overridden in a derived class?
#dotnet #csharp
14 hours ago | [YT] | 1
View 0 replies
Poorna Soysa
In ASP.NET Core, whatโs the recommended way to use HttpClient in modern applications?
#dotnet #aspdotnetcore
1 day ago | [YT] | 4
View 0 replies
Poorna Soysa
In ASP.NET Core, which Options pattern type should you use if a singleton service must react to configuration changes at runtime?
#dotner #aspdotnet
2 days ago | [YT] | 9
View 0 replies
Poorna Soysa
๐ก .๐ก๐๐ง ๐ง๐ถ๐ฝ - ๐๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ฐ๐ ๐๐ป๐ท๐ฒ๐ฐ๐๐ถ๐ผ๐ป ๐ถ๐ป ๐๐ฆ๐ฃ.๐ก๐๐ง ๐๐ผ๐ฟ๐ฒ
If you're working with ASP.NET Core whether you're just getting started or aiming to sharpen your skills, understanding Dependency Injection (DI) is a must.
๐ In this article, Iโve broken things down in a simple, practical way:
โ What Dependency Injection is and why itโs important
โ The different service lifetimesโSingleton, Scoped, and Transient
โ How to register and use services in your project
โ Constructor injection, including the new primary constructors
โ Tips and best practices to keep your code clean and easy to maintain
Iโve also included how to use [FromServices] for action injection, and how to work with FromKeyedServices introduced in .NET 8.
๐ Read the full article here:
poornasoysa.tech/dependency-injection-aspnet-core
If you're working with ASP.NET Core, this oneโs worth a read.
5 days ago | [YT] | 27
View 0 replies
Poorna Soysa
Big news for all .NET devs and product teams: Microsoft is extending the support period for .NET Short Term Support (STS) releases from 18 months to 24 months, starting with .NET 9.
Hereโs what that means - and why it matters:
๐ Whatโs changing
โ STS releases will now be supported for 24 months, which extends the previous 6-month โgapโ after the successor release.
โ LTS (Long Term Support) releases stay the same: 3 years of support.
โ As a result, .NET 8 and .NET 9 will both now reach end of support on November 10, 2026.
๐ Why this is a win
โ More breathing room for teams to plan migrations and upgrades without feeling rushed.
โ Reduces risk when adopting out-of-band (OOB) releases that depend on STS components - less chance of accidentally moving parts of your tech stack into an STS zone with short support.
โ Encourages using newer features sooner, since the support window is more generous.
๐ Considerations & things to watch
โ Even with longer STS support, LTS still holds advantages for folks prioritizing maximum stability.
โ Dependencies, NuGet packages, CI/CD pipelines and the surrounding ecosystem may still create friction during version upgrades.
โ This helps, but doesnโt eliminate all risk - planning & testing remain key.
๐ For teams & organizations
If you lead or are part of a development org:
โ Revisit your .NET upgrade strategy: maybe STS releases are now more viable than before.
โ Take advantage of the extra time to properly test OOB components.
Update internal policies/documentation to reflect the new support lifecycle.
๐ฌ What do you think - does this change impact how you plan for .NET adoption or upgrades?
๐ง Subscribe to my newsletter .๐๐๐ ๐๐๐๐ ๐ก๐ฎ ๐๐๐ฅ๐จ ๐๐ฎ ๐๐ค๐ค๐ง๐ฃ๐ to get more content like this delivered to your inbox!
poornasoysa.tech/
6 days ago | [YT] | 20
View 1 reply
Poorna Soysa
Code readability isnโt just about clean logic - itโs about how we name things too.
Variables, methods, classes, files
Consistent naming = easier collaboration + fewer โWait, what does this do?โ moments.
๐ Here are 4 popular naming styles every developer should know:
โ Snake Case: customer_name
Underscores + lowercase. Common in Python for variables & functions.
โ Kebab Case: to-do-list
Hyphens + lowercase. Perfect for URLs & CSS selectors.
โ Camel Case: customerName
Lowercase start, then capitalized words. Popular in JS, Java, and APIs.
โ Pascal Case: Customer, GetById()
Every word capitalized. Common for C#, Java classes, and method names.
๐ฌ Which one do you default to when naming variables or methods?
Drop it in the comments ๐
Subscribing to my free newsletter โ .๐๐๐ ๐๐๐๐ ๐ก๐ฎ ๐๐๐ฅ๐จ ๐๐ฎ ๐๐ค๐ค๐ง๐ฃ๐. Get simple, practical tips on .NET, ASP.NET Core, EF Core, and more every week.๐
๐ poornasoysa.tech/
1 week ago | [YT] | 22
View 0 replies
Poorna Soysa
AI is no longer a future trend - itโs already shaping how we build apps.
#dotnet #ai
2 weeks ago | [YT] | 5
View 0 replies
Poorna Soysa
๐ก๐# ๐๐ข๐ฉ - ๐๐ถ๐ฒ๐น๐ฑ ๐ฟ๐ฒ๐๐๐ฟ๐ป
Working with large datasets in C#? Loading everything into memory can slow apps down and eat up resources. Thatโs where yield return comes in - a simple yet powerful way to stream data, one item at a time, only when needed.
๐ What is yield return?
yield return lets methods act as iterators, producing elements lazily rather than building a full collection upfront.
The method can return IEnumerable, IEnumerable<T>, IAsyncEnumerable<T>, or even IEnumerator<T>.
๐ Why use it?
โ Memory Efficiency โ Keeps memory usage low by not holding entire collections in memory.
โ Lazy Processing โ Generates values only when the consumer iterates over them.
โ Readable Code โ Makes complex data-generation logic cleaner and easier to follow.
๐ This is especially useful when:
โ Working with very large collections
โ Streaming data from files, databases, or APIs
โ Returning partial results without precomputing everything
๐ฌ What about you? Have you used yield return in your projects? Share your experience below ๐
๐ง Subscribing to my free newsletter โ .๐๐๐ ๐๐๐๐ ๐ก๐ฎ ๐๐๐ฅ๐จ ๐๐ฎ ๐๐ค๐ค๐ง๐ฃ๐. Get simple, practical tips on .NET, ASP.NET Core, EF Core, and more every week.๐
๐ poornasoysa.tech/
2 weeks ago | [YT] | 40
View 0 replies
Poorna Soysa
Which of the following best describes middleware in ASP.NET Core?
#dotnet #csharp
2 weeks ago | [YT] | 6
View 0 replies
Poorna Soysa
๐ฅ .๐ก๐๐ง ๐ญ๐ฌ ๐ฅ๐ฒ๐น๐ฒ๐ฎ๐๐ฒ ๐๐ฎ๐ป๐ฑ๐ถ๐ฑ๐ฎ๐๐ฒ ๐ญ is now available to download: dotnet.microsoft.com/en-us/download/dotnet/10.0
๐ Learn more about .๐ก๐๐ง ๐ญ๐ฌ ๐ฅ๐ฒ๐น๐ฒ๐ฎ๐๐ฒ ๐๐ฎ๐ป๐ฑ๐ถ๐ฑ๐ฎ๐๐ฒ ๐ญ: devblogs.microsoft.com/dotnet/dotnet-10-rc-1/
๐ง Stay updated with tips like this โ subscribe to my newsletter .๐๐๐ ๐๐๐๐ ๐ก๐ฎ ๐๐๐ฅ๐จ ๐๐ฎ ๐๐ค๐ค๐ง๐ฃ๐ and get the latest .NET insights straight to your inbox!
๐ poornasoysa.tech/
2 weeks ago | [YT] | 22
View 0 replies
Load more