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 v8.2.0-preview Updated on March 25, 2024, 15:11