ASP.NET Community Standup - Advanced Kestrel Socket APIs
source link: https://www.youtube.com/watch?v=deWmeQ1UHVI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ASP.NET Community Standup - Advanced Kestrel Socket APIs
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!
Community Links: https://www.theurlist.com/aspnet-stan...
Featuring: Stephen Halter (@halter73)
Get your questions answered on the Microsoft Q&A for .NET - https://aka.ms/dotnetqa Learn .NET with free self-guided learning from Microsoft Learn: http://aka.ms/learndotnet
Show lessShow more
10 Comments
Read more 5 days ago
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
Read more 4 days ago
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK