Base solution for your next web application
Open Closed

IFormFile is null #9447


User avatar
0
serdar created

Why IFormFile is null on AspNetZero ?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    • What is your product version?
    • What is your product type (Angular or MVC)?
    • What is product framework type (.net framework or .net core)?
    • What is ABP Framework version?

    I tested it and not found the problem your memtioned. (net core 3.x + mvc)

  • User Avatar
    0
    serdar created

    What is your product version? 9.0.1 What is your product type (Angular or MVC)? MVC What is product framework type (.net framework or .net core)? Core What is ABP Framework version? 5.10.1

    Can you share the example ? *.cshtml and *.cs

    thanks.

  • User Avatar
    0
    maliming created
    Support Team

    hi serdar

    The create method in mvc controller instead of razor page.

    If you are using razor page you can check this article. https://www.learnrazorpages.com/razor-pages/forms/file-upload