❔ Microsoft.AspNetCore.Http.Features deprecated how to use IFormFileCollection?

I'm at .NET 7 but Microsoft.AspNetCore.Http.Features is deprecated how to use IFormFileCollection now?
16 Replies
Angius
Angius2y ago
Uh List<IFormFile>?
TotechsStrypper
TotechsStrypperOP2y ago
Even IFormFile is not available
TotechsStrypper
TotechsStrypperOP2y ago
Angius
Angius2y ago
Well, are you missing that using directive? Microsoft.AspNetCore.Http is the namespace
TotechsStrypper
TotechsStrypperOP2y ago
The last option wasn't using it asking for installing the deprecated package
Angius
Angius2y ago
It's not a package, it's a part of ASP.NET It's not deprecated either
TotechsStrypper
TotechsStrypperOP2y ago
Oh crap this is tightly to ASP DAMN!!! my application project is a class library
Angius
Angius2y ago
Angius
Angius2y ago
Yes
TotechsStrypper
TotechsStrypperOP2y ago
this is so messed up
Angius
Angius2y ago
Yes, the downside of the "everything should be a separate project" architecture is tomfoolery like that tends to happen Monolith FTW
TotechsStrypper
TotechsStrypperOP2y ago
I don't know making the Application is an asp type is a gamble or not
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
TotechsStrypper
TotechsStrypperOP2y ago
I don’t have access to my computer today but I will tried out your reference soon enough.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?