Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 FormFile in .NET Core 3.1?

views
     
TSvirusspreader
post Jan 28 2020, 04:14 PM, updated 5y ago

On my way
****
Senior Member
552 posts

Joined: Dec 2007
From: Cheras
Hi all,

Would like to ask if anyone has encountered the following situation?

I'm doing a migration for one of my .NET Core which was using .NET Core 2.2 previously, would like to migrate it .NET Core 3.1.
However, after changing the reference projects, I realise that .NET Core 3.1 doesn't have the Microsoft.AspNetCore.Http namespace which was previously present in .NET Core 2.2.

Can any sifus point me to where this Microsoft.AspNetCore.Http is located in .NET Core 3.1? icon_question.gif

This post has been edited by virusspreader: Jan 28 2020, 04:15 PM
pangch
post Jan 29 2020, 12:23 AM

Getting Started
**
Junior Member
176 posts

Joined: Oct 2009
go to nuget and download the Microsoft.AspNetCore.Http. it support Netcore 3.1
TSvirusspreader
post Jan 29 2020, 10:40 AM

On my way
****
Senior Member
552 posts

Joined: Dec 2007
From: Cheras
QUOTE(pangch @ Jan 29 2020, 12:23 AM)
go to nuget and download the Microsoft.AspNetCore.Http. it support Netcore 3.1
*
Hi pangch, thanks for replying.

Would you mind pointing me to the nuget package that u are referring to?
Coz the one i managed to search is only supporting until 2.2.0. (link) rclxub.gif

This post has been edited by virusspreader: Jan 29 2020, 10:45 AM
TSvirusspreader
post Jan 29 2020, 03:41 PM

On my way
****
Senior Member
552 posts

Joined: Dec 2007
From: Cheras
Figured out the solution, just in case anyone is still wondering...

From the article Migrate from ASP.NET Core 2.2 to 3.0, it seems that Microsoft.AspNetCore.App is removed.

There is a section that mentioned that projects that target Microsoft.NET.Sdk or Microsoft.NET.Sdk.Razor SDK, should add an explicit FrameworkReference to Microsoft.AspNetCore.App.

Hope this helps others who experience the issue that I had. sweat.gif

 

Change to:
| Lo-Fi Version
0.0102sec    0.22    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 05:45 PM