❔ 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
Angius12mo ago
Uh List<IFormFile>?
TotechsStrypper
TotechsStrypper12mo ago
Even IFormFile is not available
TotechsStrypper
TotechsStrypper12mo ago
Angius
Angius12mo ago
Well, are you missing that using directive? Microsoft.AspNetCore.Http is the namespace
TotechsStrypper
TotechsStrypper12mo ago
The last option wasn't using it asking for installing the deprecated package
Angius
Angius12mo ago
It's not a package, it's a part of ASP.NET It's not deprecated either
TotechsStrypper
TotechsStrypper12mo ago
Oh crap this is tightly to ASP DAMN!!! my application project is a class library
Angius
Angius12mo ago
Angius
Angius12mo ago
Yes
TotechsStrypper
TotechsStrypper12mo ago
this is so messed up
Angius
Angius12mo ago
Yes, the downside of the "everything should be a separate project" architecture is tomfoolery like that tends to happen Monolith FTW
TotechsStrypper
TotechsStrypper12mo ago
I don't know making the Application is an asp type is a gamble or not
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
TotechsStrypper
TotechsStrypper12mo ago
I don’t have access to my computer today but I will tried out your reference soon enough.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord12mo 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.