Starts in:
2 DAYS
10 HRS
35 MIN
58 SEC
Starts in:
2 D
10 H
35 M
58 S

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

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 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06