Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "malomatia"

hi we need to make specific angular component available for public without login , for example having /app/custom/my-component does'nt require login, while the rest of the application requires login.

is there a straight forward way to do this ?

Thank You !

Dears, How to create a user from the .net code and assign him specific roles ?

Thank you !

I want to get the current information for the logged in user from an angular component:

  • The OUs he is part of
  • the Roles he has

i found : this._userService.getUserForEdit(this.appSession.userId).subscribe(result => { console.log(result);
});

but when i use it with non admin user, it gives the below response:

code : 0 details : null message : "[At least one of these permissions must be granted]" validationErrors : null

I need to know how to change the authentication provider (users store) from SQL Server to custom Web Service, i tried to follow the code and reached to the method GetLoginResultAsync under TokenAuthController which calls _logInManager.LoginAsync which leads to AbpLogInManager class , however couldn't follow to AbpLogInManager class as it's referenced as DLL only.

can you please provide bullet points to change the authentication provider ? including get current session method which checks the user in the SQL database as well.

Best, Ahmed

i have created angular 2 +asp.net core project, and created a new NG2 component, i'm trying to include one of metronic jquery components in the NG2 component with no luck, i have done the following:

  • added the component through npm: npm install easy-pie-chart --save
  • in the component.ts added: import * as $ from 'jquery'; import 'easy-pie-chart';
  • inside ngAfterViewInit added: $('.easy-pie-chart .number.transactions').easyPieChart({ animate: 1000, size: 75, lineWidth: 3, barColor: App.getBrandColor('yellow') });

im getting many errors and unable to complete it at all, please help

the application was running correctly, and suddenly it started to redirect only to "/" when clicking on any menu item, including the admin menu (role, users,..) im logged in with "admin"

any clue ?

Showing 1 to 6 of 6 entries