Coding Shorts: Ahead-of-Time Compilation in C# (AOT)

preview_player
Показать описание
I've been looking at Source Generators as a solution to reflection. This is important for AOT compilation. So, I thought it might be useful to see what AOT is all about:

00:00 Introduciton
00:37 Compiling C#
01:30 Using ILSpy
02:19 Viewing IL
03:59 Self Contained Compilation
05:22 Publishing in AOT
06:51 AOT Results
09:05 Wrapping It Up

Project Repo:

If you like this video, you might like other videos in my Instructional Videos:
Рекомендации по теме
Комментарии
Автор

This is, by far, the best C# channel in YouTube!

javier-capello
Автор

Thank you so much Shawn for your knowledge spread, I have always enjoyed your teaching while back on Pluralsight as well. all the best

lyudmilpetrov
Автор

Best guy on internet ever. I listened to Shawn live, he is amazing lecturer.

heavypeki
Автор

Very succinct explanation. Thank you.

noahmoerbeek
Автор

I had a look at AOT a few months back. In my applications I often serialise and deserialise to/from JSON and I was shocked that this doesn’t just work in AOT, e.g. even serialising an integer to JSON will fail. You need to take some extra steps to make this work, which is fine, but it scared me away for the time being!

ghaf
Автор

Please make a video for AOT publishing a blazor webapp to windows server and iis.

MohammadKomaei
Автор

How would you compile AOT for a particular container if it's not on your dev machine?

davestorm