Тёмный

Tiny, fast ASP.NET Core APIs with native AOT | .NET Conf 2023 

dotnet
Подписаться 300 тыс.
Просмотров 13 тыс.
50% 1

.NET 8 introduces support for publishing ASP.NET Core applications to native AOT for lightning-fast startup times & small, self-contained, native executables & containers. This session will provide an overview of when you might want to consider publishing native AOT for your ASP.NET Core APIs and demonstrate the benefits and compatibility considerations.
Download .NET 8 - aka.ms/get-dot...
Hack Together - aka.ms/hacktog...
Learn collection - aka.ms/learn-d...
.NET 8 Survey - aka.ms/dotnet-...
Local Events - aka.ms/dotnetc...
Hero blog - aka.ms/dotnet8...
Blog: aka.ms/dotnet/...
Twitter: aka.ms/dotnet/...
TikTok: aka.ms/dotnet/...
Mastodon: aka.ms/dotnet/...
LinkedIn: aka.ms/dotnet/...
Facebook: aka.ms/dotnet/...
Docs: learn.microsof...
Forums: aka.ms/dotnet/...
🙋‍♀️Q&A: aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: aka.ms/learndo...
#dotnet

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@QINGCHARLES
@QINGCHARLES 10 месяцев назад
@dotnet Sending Damian a hug🤗I felt so bad for him when it wouldn't build live in front of the world. We've all been there😂
@benyahiahassen4540
@benyahiahassen4540 3 месяца назад
About the issue you had, you should change what you wrote in the config to true not true
@alirezanet
@alirezanet 10 месяцев назад
About the demo issue you had, I think you just forgot to save your csproj file 😊 (usual live demo problem)
@hero3616
@hero3616 10 месяцев назад
That is correct
@jim2lane
@jim2lane 9 месяцев назад
Exactly - live demo, what could possibly go wrong? 😉
@jarosawfrankowski7845
@jarosawfrankowski7845 10 месяцев назад
Great introduction to AOT, Damian that was great presentation! 😊
@realivanjx
@realivanjx 10 месяцев назад
i hope blazor server gets native aot support asap! nice work!
@idzyubin720
@idzyubin720 8 месяцев назад
@dotnet Great explanation! Is there any link how can I validate request model in Minimal API with Native AOT?
@BredoLab
@BredoLab 10 месяцев назад
Can somebody explain how Native AOT is beneficial for server-side apps and minimal API in particular?
@jinhuisong8727
@jinhuisong8727 10 месяцев назад
For example, AWS Lambda or Azure Function , all of these serverless apps had cold start. The cold start will take lots of time to let code ready. Java or C# maybe take 1-3 seconds, python only use 500 milliseconds. Use AOT C# also can use 500 milliseconds for cold start.
@freddydev3562
@freddydev3562 10 месяцев назад
xdxdxd@@jinhuisong8727
@alex22932
@alex22932 10 месяцев назад
Also where you can scale containers to zero such as Azure Container Apps and Google Cloud Run.
@serverlessjames
@serverlessjames 10 месяцев назад
If you want to see this in action with .NET and AWS Lambda I've got another video on RU-vid. Crazy cold start numbers. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kyb16r-Oul0.html
@Sindrijo
@Sindrijo 5 месяцев назад
C# app normally is distributed as IL-bytecode (Intermediary Language) that when 'executed' the environment first has to load the CLR which then will compile the IL-bytecode into native code/instructions that then gets executed. With AOT this final compilation happens 'ahead of time' avoiding the previously described steps of loading the CLR and compiling the IL-bytecode to native code, instead the code just gets executed immediately.
Далее
People Cling To Trees As Typhoon Slams Into Shanghai
00:34
ASP.NET Basics for Experts | .NET Conf 2023
30:45
Просмотров 10 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
What Is .NET Aspire? The Insane Future of .NET!
18:35
Просмотров 270 тыс.
Senior Angular Developer Interview (theory)
41:57
Просмотров 21 тыс.
.NET Configuration In Depth | .NET Conf 2023
29:58
Просмотров 25 тыс.
ASP.NET Core tutorial for Beginners | NEW .NET 8
39:15
People Cling To Trees As Typhoon Slams Into Shanghai
00:34