0
pankajmathur created
Hi,
We are getting a following exception when trying to upload an excel file containing the records for import.
<ins>Could not create an instance of type 'SecuritySwitch.Abstractions.HttpPostedFileBase'. Model bound complex types must not be abstract or value types and must have a parameterless constructor.</ins>
We have enabled hangfire for the background processing and facing this issue in .Net Core 2.0.
2 Answer(s)
-
0
Use IFormFile in .NET Core 2.0.
-
0
Thanks!!! We are now using IFormFile