Jokersoft.AspNetCore.Server.Kestrel 7.0.13

dotnet add package Jokersoft.AspNetCore.Server.Kestrel --version 7.0.13
NuGet\Install-Package Jokersoft.AspNetCore.Server.Kestrel -Version 7.0.13
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jokersoft.AspNetCore.Server.Kestrel" Version="7.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jokersoft.AspNetCore.Server.Kestrel --version 7.0.13
#r "nuget: Jokersoft.AspNetCore.Server.Kestrel, 7.0.13"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jokersoft.AspNetCore.Server.Kestrel as a Cake Addin
#addin nuget:?package=Jokersoft.AspNetCore.Server.Kestrel&version=7.0.13

// Install Jokersoft.AspNetCore.Server.Kestrel as a Cake Tool
#tool nuget:?package=Jokersoft.AspNetCore.Server.Kestrel&version=7.0.13

.NET Foundation MIT License Help Wanted Good First Issues Discord

This Is A Giant Hack

I wanted Kestrel and other core ASP.NET functionality to work on all platforms, including MAUI supported platforms. Ever since about version 2.2.*, Microsoft moved these things from independent packages to forcing users to pull in the entire Web SDK to use them. I hacked and slashed through AspNetCore until I could get a bunch of packages compiling independently. YMMV and use at your own risk. To summarize changes:

I changed the package names only. The project does generate some namespaces but AFAIK, they're all internal. In other words, there are some cases where code is in Jokersoft.* NS, but should only be internal. Therefore, should be a drop-in replacement with original MS namespaces preserved. You will therefore get conflicts if you import both the Jokersoft.* package and matching real Microsoft.* package.

Some caveats:

  • Not every single package was published. There will be some missing. There are 90 published by my count. Razor, MVC etc dropped IIRC.
  • No guarantees that they all work. I have no time to test 90 packages on every platform.
  • I deleted / excluded the authorization packages and there is strong coupling in Kestrel and SignalR to them. I placed throw NotImplementedException in some of function calls that are coupled, and outright deleted the authorization middleware integration in kestrel core. So, you'd need to bring in your own auth middleware and make sure it takes priority over other middlware. THIS HAS BIG SECURITY IMPLICATIONS SO CONSIDER THIS WISELY.
  • I can live with these shortcomings cause I just need a high performance HTTP server for proxying. It's probably the best that can be done while we wait to see what Microsoft will do to sort out their cross-platform plan.

This is a hack / mess and the only benefit to publishing this is for people to repro packages on their own and for transparency/security.

Thise code is based on the tagged release 7.0.13.

These packages are available on Nuget.


ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps run on .NET, a free, cross-platform and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

See the Triage Process document for more information on how we handle incoming issues.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Jokersoft.AspNetCore.Server.Kestrel:

Package Downloads
Jokersoft.AspNetCore

Jokersoft.AspNetCore This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/32e8c620905ac11985a85daecece7b3fe828272c

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.13 567 10/29/2023