New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StreamSocketListener-based Server #1338

Closed
bricelam opened this Issue Mar 2, 2016 · 9 comments

Comments

Projects
None yet
8 participants
@bricelam
Copy link
Member

bricelam commented Mar 2, 2016

I know we have WebListener which appears to work fine on Windows IoT Core (see DamianEdwards/PiDnx), but would there be any value in having a server implemented over the top of WinRT's Windows.Networking.Sockets.StreamSocketListener API?

Will WebListener work work in a Windows IoT Core Background Application project?

cc @DamianEdwards @Tratcher

@Tratcher

This comment has been minimized.

Copy link
Member

Tratcher commented Mar 2, 2016

No idea on either account. Could make for some interesting experiments.

@moozzyk

This comment has been minimized.

Copy link
Contributor

moozzyk commented Mar 2, 2016

Weblistener actually does not really work on Windows IoT Core. After handling a few requests (I think it was 6 or so) no more requests are being handled...

@DamianEdwards

This comment has been minimized.

Copy link
Member

DamianEdwards commented Mar 3, 2016

Kestrel works on Windows IoT Core as we now include a version of libuv compiled for Windows OneCore ARM.

We haven't locked down the plan for 1.0 RTM but we're still hoping to get a non-supported build of the .NET Core CLI & redist made for Windows 10 IoT Core in that timeframe to enable interested parties to hack away. Kestrel should work fine for that.

@DamianEdwards

This comment has been minimized.

Copy link
Member

DamianEdwards commented Mar 3, 2016

Oh btw that, that template you link to is for a C# UWP app, which ASP.NET Core doesn't work in right now, as we need stuff not available in the UWP sandbox. Instead, you'd build a normal ASP.NET Core app, and run it using the host we provide for IoT Core, which is itself a C++ console app. You can even configure the host to run as a background (startup) task on the device so it's running from turn-on.

@stefan2410

This comment has been minimized.

Copy link

stefan2410 commented May 27, 2016

Is there any plan / road map to self host an asp.net core API with kestrel in UWP Apps ?
If not we will go the other way like GitHub desktop and/or React Native.
UWP, Edge, Store excluded.

@Tratcher

This comment has been minimized.

Copy link
Member

Tratcher commented May 27, 2016

There has been some talk of making WebListener work in UWP, but that's blocked at the moment.

@Eilon

This comment has been minimized.

Copy link
Member

Eilon commented Apr 3, 2018

@muratg / @davidfowl - any idea where this issue should go? Close it?

@davidfowl

This comment has been minimized.

Copy link
Member

davidfowl commented Apr 3, 2018

Close it. We have no plans to write another webserver. If we did decide, maybe it could be a kestrel transport, but it really doesn't seem like a priority at the moment.

@Eilon Eilon closed this Apr 3, 2018

natemcmaster pushed a commit that referenced this issue Oct 17, 2018

jkotalik added a commit that referenced this issue Nov 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment