Activities of "moustafa"

  • ABP Framework version: v4. 4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Is it possible to use abp framework without account, identity, identity server modules

If so how can I remove the migration for those modules and related tables

Hi Mehmet Thank for your reply but but actually you didn't answer my question

Is there any way to control http client options without editing the generated service. same as can I edit api name

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: 4.4.3
  • UI type: Angular
  • DB provider: EF Core

Hi

i'm using abp-generate-proxies

so i have service like that

@Injectable({ providedIn: 'root', }) export class MessagingService { apiName = 'Default';

sendCodeByMobile = (mobile: string) => this.restService.request<any, MyResponse<boolean>>({ method: 'POST', url: '/api/app/messaging/sendCode', params: { mobile } }, { apiName: this.apiName });

verifyCodeByCode = (code: string) => this.restService.request<any, MyResponse<boolean>>({ method: 'POST', url: '/api/app/messaging/verifyCode', params: { code } }, { apiName: this.apiName });

constructor(private restService: RestService) { } }

i need to add option withCredentials: true because im using asp/net core sessions

for now i can edit the servive manually to add withCredentials option so the service would become like that

@Injectable({ providedIn: 'root', }) export class MessagingService { apiName = 'Default';

sendCodeByMobile = (mobile: string) => this.restService.request<any, MyResponse<boolean>>({ method: 'POST', url: '/api/app/messaging/sendCode', params: { mobile }, withCredentials: true }, { apiName: this.apiName });

verifyCodeByCode = (code: string) => this.restService.request<any, MyResponse<boolean>>({ method: 'POST', url: '/api/app/messaging/verifyCode', params: { code }, withCredentials: true }, { apiName: this.apiName });

constructor(private restService: RestService) { } }

but if i run using abp-generate-proxies again my changes will be lost

How can i achieve that ?

hope the question is clear

Showing 1 to 3 of 3 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11