user1034912
user1034912

Reputation: 2267

How do I Embed a Kestrel WebServer in a C# .NET 4.0 App

I have a backend system developed with C# .NET 4.0. I wish to embed the light weight web server Kestrel on it. Has anyone done so? or can point me to a direction how to do such?

Cheers!

Upvotes: 3

Views: 1731

Answers (2)

henon
henon

Reputation: 2501

I did it, but of course only by opening Kestrel which serves a .net core application as a background process. The .Net Framework app communicates with the .net core app via inter-process communication over a websocket on localhost.

Upvotes: 0

spender
spender

Reputation: 120480

KestrelHttpServer : "A cross platform web server for ASP.NET Core.". (emphasis added by me).

So that's no, and no.

Upvotes: 2

Related Questions