Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to modify code in Microsoft.AspNetCore.Server.Kestrel and then refer to it from elsewhere?

$
0
0

Hi everyone,

I'd like to (try to) add HTTP/2 support to Kestrel - for my own edification, for now. I'm using Ubuntu as my dev platform, because my requirements include using Linux.

Of course, it appears fairly simple to make changes to the Kestrel code - just clone the source from https://github.com/aspnet/KestrelHttpServer, then make my changes, then build the assembly. The problem I'm having, is getting other code to reference my modified code/assembly rather than the "official" assembly from .NET Core. To that end, I would love to hear how to do the following:

  • "Install" my changed Kestrel assembly locally such that anything that depends on that assembly uses my changes automatically. This may include projects that I create via dotnet new -t web, as well as other .NET Core assemblies that I haven't modified
  • Be able to propagate my changes to other machines as necessary, in a controlled manner.

Thank you, and have a good one!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>