Details
Microsoft AspNetCore Http is Deprecated
An alternative to this great package is…
Add the following code snippet to the csproj file
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
Then add the following using statement
using Microsoft.AspNetCore.Http;
And that's it!