#GitHubCopilot 🤖 – General experience with C#, generating unit tests, security keys and more.

Hi ! I used mostly Copilot with Python, and I have to admit that it generates super accurate Machine Learning and TensorFlow code. I don't to a lot of C# code in Visual Studio Code, I'm old school I use Visual Studio 2022 for C#. However, I decided to give it a try and here … Continue reading #GitHubCopilot 🤖 – General experience with C#, generating unit tests, security keys and more.

#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 🆒🆒🆒

#AI – #Lobe, exporting to ONNX, and running in C# #csharp @lobe_ai

Hi ! Follow up post after yesterday post on Lobe, and today focusing on ONNX and C# code. And, it all started because someone asked in twitter about an ETA to export the model to ONNX https://twitter.com/Niels9001/status/1321333781618446337?s=20 I decided to give a try to the TensorFlow to Onnx tool, and it worked great ! (see … Continue reading #AI – #Lobe, exporting to ONNX, and running in C# #csharp @lobe_ai

#Coding4Fun – Sorting Arrays in #JavaScript, #Python and #CSharp … choose your own adventure

Hi ! Not my usual set of posts, however this keep me thinking a lot. It all started with this tweet; an usual joke about JavaScript, and how it works with types. https://twitter.com/frontenddude/status/1300420130346864641?s=20 I noticed that some responses focused on the “you need to know how the language works” before posting this. And it is … Continue reading #Coding4Fun – Sorting Arrays in #JavaScript, #Python and #CSharp … choose your own adventure

#Net – Learning C # using only a browser

Hi! A few days ago, at a university, one of the attendees in a session asked me what was the best way to learn C#. As always, this question depends on the level of the person who wants to learn, although it has served as an excuse to see what's new in the .Net ecosystem. … Continue reading #Net – Learning C # using only a browser