abp icon indicating copy to clipboard operation
abp copied to clipboard

profile image with abp framework

Open MeryemeBaddaz opened this issue 5 years ago • 7 comments

I am currently working on a client management project with .net core ef abp framworke and angular , how can i add profile image ? any one help me !!

MeryemeBaddaz avatar Jul 29 '21 09:07 MeryemeBaddaz

If you are asking about the endpoint, its on authserver(identityserver) account/profile-picture endpoint. image

If you are asking about UX that where to upload profile image, from the dropdown where your logged in user name appears; image Then My account: image

or http://localhost:4200/account/manage for short.

gterdem avatar Jul 29 '21 11:07 gterdem

@gterdem hub Thank you sir for your answer , i wana just add profile image here

MeryemeBaddaz avatar Jul 29 '21 11:07 MeryemeBaddaz

@antosubash i applied your tutorial "dotnet file upload with ABP Blob store and Minio " app , but encountered some problems in class AppService cannot have more than one base class

MeryemeBaddaz avatar Jul 29 '21 11:07 MeryemeBaddaz

Hi @MeryemeBaddaz

You need to implement profile picture feature to your application by yourself.

There are some infrastructural features that ABP offers, but the rest of them is your bussiness.

  1. Use BLOB Storing system to store files.
  2. Use IRemoteStreamContent to upload & download files.

cotur avatar Jul 29 '21 12:07 cotur

@MeryemeBaddaz Remove TestGClientAppService from the TGGclientAppService class. In C# you cannot inherit from multiple classes.

antosubash avatar Jul 29 '21 15:07 antosubash

@antosubash when i remove it , i got this errorapi

MeryemeBaddaz avatar Jul 29 '21 17:07 MeryemeBaddaz

@MeryemeBaddaz that is because of the Get method. the CrudAppService already has a Get so that creates a conflict. change the Get to GetFile or something else.

antosubash avatar Jul 29 '21 17:07 antosubash