C#C
C#2y ago
Stefanidze

What is the up-to-date version of AspNet.WebAPI?

I am upgrading my console application to include Web Api, so i changed the sdk from Microsoft.NET.Sdk to Microsoft.NET.Sdk.Web, and this resulted in project restoring Microsoft.AspNet.WebApi and Microsoft.AspNet.WebApi.Cors. But now when i build or run my project i get warning NU1701 In the output it shows that it cannot restore these two packages with net8.0 but instead they work only with .NET framework. From this i assume that these packages are legacy and need to be replaced, but i couldn't find any information about it. Is there any up-to-date version, for example based on AspNetCore? I use VSCode. Full output of the warning
PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
Was this page helpful?