ASP.NET Community Standup - Advanced Kestrel Socket APIs

preview_player
Показать описание
Kestrel is amazing, and getting even better in .NET 6! Stephen Halter's here to show off all the fun new stuff: multi-process socket handoff with SocketConnectionContextFactory, SocketTransportOptions.CreateBoundListenSocket, and more!



#aspnetcore #dotnet
Рекомендации по теме
Комментарии
Автор

Really cool stuff, I saw some confusion regarding UDP though, David said "udp/non streaming is not supported", but that's _out of the box_. You can add support for udp or whatever as long as its presented to kestrel as a streaming connection (as pipelines). if you have some super specialized service that will only send and receive data that fits in a single udp packet, you can just make a transport that throws an error if the data is bigger than that. Quic is a example of a transport that takes udp and presents it as streaming data to kestrel, but kestrel doesn't care how that's done, as long as it gets a pipeline for input and one for output, its happy

So in other words, yes kestrel can run on udp, usb, serialport or anything, as long as you make a transport that provides the pipelines for kestrel to read/write to

aL_
Автор

Can somebody make timeline for video with main part

deni_white
Автор

This is really cool stuff! IMO though, we need to strike a balance on what we choose to minify. Hiding complexity to get the folks on-boarded is fine. However in my experience, it's always a challenge figuring out what is extendable, especially when you can't even see it in the boiler template! Perhaps have an option to minify vs "standard" defaulting, so that the basic barebones template with options and configurations for enterprise related app are still generated (with defaults) and open to be extendable as needed.

ketannair
Автор

Is it possible to listen on multiple ports? Is it only a listener or can it act as a client too?

ibrahimhussain
join shbcf.ru