Skip to content
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

Separate the dependency on AspNetCore #77

Open
d2dyno1 opened this issue Nov 4, 2024 · 1 comment
Open

Separate the dependency on AspNetCore #77

d2dyno1 opened this issue Nov 4, 2024 · 1 comment

Comments

@d2dyno1
Copy link

d2dyno1 commented Nov 4, 2024

To allow for more flexibility the AspNetCore dependency (Sdk="Microsoft.NET.Sdk.Web" in the project file) should be moved ideally to a separate NuGet package. Platforms like Blazor WASM Android, iOS (and by extension MacCatalyst) cannot be built with a dependency on AspNetCore

@ramondeklein
Copy link
Owner

The previous (non .NET core) version of this library used different packages, because a lot of different HTTP methods were available (HttpListener, ASP.NET, Kestrel), but Kestrel has been the defacto standard for .NET Core. Supporting other platforms hasn't been a goal for this library. It was intended to be used in traditional .NET Core environments.

As I'm not doing any .NET Core development for the past 6 months, I don't think I will have the time to implement this. Feel free to fork or submit a PR that implements this and I'll see if I can migrate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants