Open Closed

IFormFile is null #9447


0
serdar created

Why IFormFile is null on AspNetZero ?


3 Answer(s)
  • 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)

  • 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.

  • 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