1 of 26

.Net 6

New Features &

Expectations

Giorgio Desideri

Tech Lead of Cloud Solution

Seven Peaks Software

2 of 26

MySelf

  • Work in IT from 2006
  • Udemy Instructor
  • Online Trainer

3 of 26

Agenda

  • What’ New ?
  • My Considerations

4 of 26

What is new ?

.Net 6 main features

5 of 26

What’s New ?

  • C# 10 - simplify and write less code

6 of 26

What’s New ?

7 of 26

What’s New ?

  • Blazor web App Desktop

8 of 26

What’s New ?

  • ASP.Net Core new features

9 of 26

What’s New ?

  • Minimal web APIs

10 of 26

What’s New ?

  • Developer Productivity improvement

11 of 26

What’s New ?

… and now ?

12 of 26

Just thinking in 4D

Consideration assuming what could happen if tomorrow you start to use all the new features at 100%

13 of 26

Just thinking in 4D

14 of 26

Just thinking in 4D

  • C# 10 - simplify and write less code
    • Unified SDK
    • Unified BCL
      • Jose already said “They applied `git merge` everywhere”
    • Unification
      • NuGet package validation
      • Roslyn analyzer enhancement

15 of 26

Giorgio “Cassandra” Desideri

  • Fighting with PM / PO / PMO / etc..
    • “Cannot adapt, need to rewrite”
    • “Rewrite is not enough, need to re-( engineer | factor )”
  • Why?
    • “Thanks to the Mickey Mouse Assistant as Developers”
    • “Thanks to the unofficial GitHub library with no updates from last 3 years”
      • The author killed himself

16 of 26

Just thinking in 4D

  • .NET MAUI
  • Preview 5
  • No “Limitations”

17 of 26

Giorgio “Cassandra” Desideri

  • I want use MAUI immediately because of
    • copy Microsoft benefits without knowledge of them
  • Result
    • Bomb that explodes at the first alpha deployed in DEV
    • Multiple nights unsleep
    • Multiple coffee during nights & days
    • ( ( ( Girl | Boy ) friend ) | ( ( Wife | Husband ) ) ) upsets

18 of 26

Just thinking in 4D to him

  • Blazor webapp Desktop

19 of 26

Giorgio “Cassandra” Desideri

  • I trust him
    • What he say about it, then it is law for me !
      • The world will change
    • So let it be written. So Let it be done !
      • Ten Commandment quote

20 of 26

Just thinking in 4D

  • Minimal web APIs
    • Good for Azure Function with HTTP Trigger
    • Good for AWS Lambda with HTTP Event source
    • It is minimal not “write my web-api app with less code”

21 of 26

Giorgio “Cassandra” Desideri

  • Microservice usage
    • Heavy-effort to manage the architecture layering
    • Good for single-responsibility microservice
      • Send email , Send notification
      • No for CreateReportAndSendEmail
  • Mickey Mouse Assistant as Developer
    • Terabytes of working code wasted
    • Tera of seconds wasted
    • Strong will to annihilate them all !

22 of 26

Just thinking in 4D

  • Developer productivity
    • Hot reload
      • “Inner-loop” enhancement
    • Debugger

23 of 26

Giorgio “Cassandra” Desideri

  • Hot reload
    • No Test
    • No Log
    • “It works on my PC” => “I take your PC as PROD server”
    • Application in PROD
      • Cannot be monitored AND/OR tested
      • No understanding
      • ( More )^n time to change the button from blue to green

24 of 26

Giorgio “Cassandra” Desideri

  • Debugger
    • Rule #1: Use your brain !
    • Rule #2: Understand first Rule #1 !
    • Rule #3: Debug doesn’t save you !
    • Rule #4: You must have a test for it !
    • Rule #5: If your test cannot cover it, see Rule #2 !
    • Rule #6: Log it !
    • Rule #7: If you cannot understand your log, see Rule #6 !
    • Rule #8: Practice the 7 rules and you will discover a new world !

25 of 26

Questions ?

26 of 26

Thanks for joining!

End

SARS-COV-2 cannot stop us to go ahead !