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