-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove support for ASP.NET Core on full framework in AspNetCoreToOpenApiGenerator #4537
Conversation
Refs #2824 I think (Mend thinks the current v14 preview suffers from https://www.mend.io/vulnerability-database/CVE-2019-1075, whicn alas creates noise whether it actually does or not) |
From .NET and .NET Core Support Policy:
ASP.NET Core 2.1 on supported versions of .NET Framework is supported, but ASP.NET Core 2.2 isn't. Neither is .NET Core 2.1 runtime. |
I actually use NSwag with Asp.Net Core 2.1 application on .Net Framework 4 which is a combination supported by Microsoft and will be supported for long time. This problem needs to be solved in a different way, by referencing supported versions of packages instead of deprecated ones. |
Are we talking about the server side or a client side? The security complaints we see are about NSwag.MSBuild being used to generate clients (which have nothing to do with ASP of any flavour) from an openapi spec, not from NSwag.AspNetCore which is used on the server to generate said specifications. |
Both. And both are supported by Microsoft. This pull request just removes support for .Net Framework instead of fixing it. |
@Numpsy, what security concerns are those? Are there any issues open on that? |
#4561 should fix CVE-2019-1075 without removing support for .Net Framework. |
yeah, but those were only updated in 1eae91f and that fixed a couple of other security warnings. There are newer versions of some of the lower level libs about though, so maybe updating those as well would avoid the complaints. |
I'd like to keep the support and fix the problems in a different way... |
I'm cool with that 👍🏻 |
ASP.NET Core hasn't been supported with full framework for a long time and currently causes dependency to ancient and vulnerable ASP.NET Core 2.2 hosting bundle.
HostApplication
type can now conditionally compiled when!NETFRAMEWORK
.