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.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Use IFormFile in .NET Core 2.0.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks!!! We are now using IFormFile
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)