#Net5 – C#9 “records” and “deconstruction” super cool feature 🆒🆒🆒

Hi ! I'm still learning about C#9, and there is a lot to learn about records. And, between all this information, I Just learn a super cool feature related to records: deconstruction. Let's start with a simple record definition for a pet. This one includes pet's name and pet's age: public record Pet { public … Continue reading #Net5 – C#9 “records” and “deconstruction” super cool feature 🆒🆒🆒

#Net5 – C#9 “Init-only properties” are super cool 🆒🆒🆒

Hi ! So this one does not fit in the line "readability improvement", however is a nice step in order to write cleaner code. Yes, I know that doesn't make sense, let me try to explain. Let's start with a simple class with 2 properties. Interesting enough the property Age has a new accessor [init] … Continue reading #Net5 – C#9 “Init-only properties” are super cool 🆒🆒🆒

#Net5 – C#9 logical operators “is” and “is not” are super cool 🆒🆒🆒

Hi ! In the line of good features, that are also nice to read, the new use of is and is not is a huge improvement in readability. As usual, old school validation for objects and types: // old school if(!(testObj is MyClass)) {...} And now, we can type the validation with some style: // … Continue reading #Net5 – C#9 logical operators “is” and “is not” are super cool 🆒🆒🆒

#Net5 – C#9 target-typed new expressions are super cool 🆒🆒🆒

Hi ! I know I'm late to the party here, however I'm still enjoying some of the new C# 9 features a lot. I just realized that now, I can create objects in a different way, which is still super clear to read. Disclaimer: some of the new features are cool, however my gut told … Continue reading #Net5 – C#9 target-typed new expressions are super cool 🆒🆒🆒

#Podcast – NTN 76 – Feliz Año Nuevo 🎉 con todas las novedades de #Net5 !

Buenas! Feliz Año Nuevo 🎉🎉🎉, empezamos el año dando un repaso a todas las novedades de Net 5 con el gran amigo Miguel Teheran. Comentamos un poco la historia de Net y como Net 5 es el primer paso para la unificación de todos los .Net Frameworks que conocemos. También hablamos un poco de los … Continue reading #Podcast – NTN 76 – Feliz Año Nuevo 🎉 con todas las novedades de #Net5 !

#Net5 – C#9 “records”, “with” and “this”, a super cool mix 🆒🆒🆒

Hi ! Our next podcast episode is focused on .Net 5. We had an amazing chat around a lot of features, and of course, C# 9 was part of the conversation. I got this amazing post [C# 9.0: Records – Work With Immutable Data Classes] from Tomas Huber, in my reading notes and working with … Continue reading #Net5 – C#9 “records”, “with” and “this”, a super cool mix 🆒🆒🆒

#Net5 – Migrating a fully functional Windows Form app to Net 5 in 10 minutes !

Hi ! TbVolScroll is a super cool project, take a look 👇 Simple utility to enable volume control when your mouse cursor is positioned above the taskbar. Hold the left ALT key to enable precise volume control (decrease/increase volume by 1%). Standard volume step is 5%. The volume bar will follow the cursor when it's … Continue reading #Net5 – Migrating a fully functional Windows Form app to Net 5 in 10 minutes !

#OpenCV – Open a video file 🎥 and save each frame as a PNG 🖼 file to a folder 📂#Net5

Hi ! A couple of days ago I wrote this post, and made the sample with Python. So today, same scenario, however with C# 9 and Net5. This is a non-usual scenario, however I'm on a point where I need to extract all the frames from a video file. The reason: some of these frames … Continue reading #OpenCV – Open a video file 🎥 and save each frame as a PNG 🖼 file to a folder 📂#Net5

#dotnet – Display a video file🎥 in Winform using #OpenCV and #net5

Hi ! Super short post today, however is the base of the next series of posts around OpenCV and .Net 5. I already wrote on how to work with a webcam, and now it's time to share a simple piece of code to show How to open and process a video frame by frame I've … Continue reading #dotnet – Display a video file🎥 in Winform using #OpenCV and #net5

#dotnet – Packaging my WinForm #OpenCV and #net5 app in a one-self contained file (Thanks @shanselman!)

Hi ! A couple of days ago, Scott Hanselman posted about a super cool feature (see references): ... you can make a single EXE that will run on any Windows Machine in two commandsHow to make a WinForms app with .NET 5 entirely from the command line and publish as one self-contained file and I … Continue reading #dotnet – Packaging my WinForm #OpenCV and #net5 app in a one-self contained file (Thanks @shanselman!)