8

ASP.NET Community Standup - Advanced Kestrel Socket APIs

 2 years ago
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.
0:00 / 1:35:52
#aspnetcore #dotnet

ASP.NET Community Standup - Advanced Kestrel Socket APIs

4,139 views
Streamed live on Oct 19, 2021

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

#aspnetcore #dotnet

Show lessShow more

10 Comments

Sort by
default-user=s48-c-k-c0x00ffffff-no-rj
Add a public comment...
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.

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

13:00 Truly anyone needed to jump into a web compiler to analyze this... Come on folks. Wow. Engage ... brain.

4 days ago

13:55 'Readability' ... it's like saying one is 'more performance' over the other. Nonsense response, IMO. Study the code, analyze it, decide for yourself. Automation, etc, will never replace the need for educated, informed folks making well reasoned decisions.

4 days ago

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

4 days ago


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK