Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Best practice to upload files with angular #7003


User avatar
0
ectabyte created

Hi, Is there any best practice guide on how to upload files with angular solution to te server (File System)? Thanks!


4 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, you can take reference from logo/css file upload in tenant settings as reference.

    https://github.com/aspnetzero/aspnet-zero-core/blob/f606134b29efab6f137b6e8eba8f48293cddf894/angular/src/app/admin/settings/tenant-settings.component.ts#L27-L28

  • User Avatar
    0
    ectabyte created

    Thanks, this link is broken.

  • User Avatar
    0
    ectabyte created

    this is the reference component: angular/src/app/admin/settings/tenant-settings.component.ts

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, the link isnt broken. you will need to login to your authorized github account as configured at https://aspnetzero.com/LicenseManagement

    See https://support.aspnetzero.com/QA/Questions/6981#answer-531b37e4-0fd2-a831-7197-39edb161b46e