Questions tagged [abp]
ABP is an open source application framework focused on ASP.NET Core based web application development, but also supports developing other types of applications.
808
questions
-1
votes
0
answers
15
views
How to use AbpExtensibleDataGrid?
How to use AbpExtensibleDataGrid?
I want to use it to create some personalized columns, such as displaying pictures, links, etc. in tables. Are there any relevant documents or examples?
enter image ...
0
votes
0
answers
12
views
Role Hierarchy - Restrict current user from upgrading his role or other user's role to a role for which he doesn't have the privilege
In ABP IO, as part of role management, consider the following role hierarchy is defined.
Super admin
Manager - should be able to upgrade Staff as Manager or Member as Staff but cannot upgrade/...
-1
votes
1
answer
16
views
I can't use the abp command in ubuntu, You must install .NET to run this application
I can't use abp in the command line in ubuntu, i have this problem.
problem
I've already tried reinstalling everything, and even formatting my Ubuntu, but I can't use the 'abp' command.
0
votes
0
answers
13
views
How to localize DatatableActionDropdownDefaultText and other elements from ui.shared.theme DataTable-Extensions,js
THe ABPIdentity module on my project will not localize the various datatable elements such as the pager buttons, the processing message and DatatableActionDropdownDefaultText dropdown. I can see from ...
0
votes
0
answers
22
views
Permission Check across multiple abp.io projects
I am using multiple abp.io (7.3.3) projects with all of them authenticating against a single identity project. Below is an example of the structure
Project A - Microservices Tiered Project with API, ...
0
votes
2
answers
47
views
Customizing ABP6 angular Login Form
I would like to customize my ABP 6 (Angular) Login page. I couldn't find any helpful documentation apart from this old version. I upated my header section code as below
@page
@using Volo.Abp.Account....
0
votes
1
answer
45
views
Full Blob URL isn't returned
We are following BLOB Storing Azure Provider and were able to upload the files to Azure Blob Storage as given below.
await _blobContainer.SaveAsync(filename, input.ResourceFile.OpenReadStream(), true);...
0
votes
0
answers
25
views
ABP SMTP Email Settings and test
I am having issues with the SMTP email testing in ABP. It tells me it is sending the email okay but it never gets received. Our SMTP Server does not require any authentication so I have left those ...
0
votes
1
answer
62
views
Sentry in Abp.io project
I want to use sentry in abp project and make steps correctly as follow but exceptions dosen't show in sentry dashboard (in issues page)
steps :
1- run command Install-Package Sentry.AspNetCore -...
0
votes
1
answer
58
views
How to Add Custom Properties to the UserRole Entity in abp framework?
In abp framwork how can I add a new field to identityUserRole?
I am facing the following error to add a new field to the table IdentityUserRole I will be glad if someone can guide me.
The type 'Volo....
0
votes
1
answer
35
views
How could I set multi redirect_uri for the same client_id in abp frameworks 7.x
Can I set multi redirect_uri for the same client_id like other oauth serber ?
for example, keycloack and google can set multi valid redirect URIs in one client_id.
I have no ideal how to do it.
I try ...
0
votes
0
answers
53
views
How to overwrite settings from appsettings.json in ABP Framework
Let's say I have this in appsettings.json:
{
"Sample": {
"Setting1": "ORIGINAL_VALUE"
}
}
When creating a normal ASP.NET integration tests, I can override that ...
0
votes
0
answers
43
views
Abp Controller does not show up when using [RemoteService(IsEnabled = false)] on EntityAppService
My custom controller does not show up in swagger.
This is my controller:
public class ProductController : ShopController
{
private readonly IProductAppService _productAppService;
...
0
votes
0
answers
30
views
While posting model object, date properties having 'dd-MM-yyyy' value
I'm facing an issue, in aspnetboilerplate ASP.NET Core 7.
While posting a model object with a date value having 'dd-MM-yyyy' format.
I've tried many options but was unable to resolve the issue.
if ...
0
votes
1
answer
39
views
What do I need to do to have my SettingDefinitionProvider picked up by the Abp framework?
I am using the ABP framework and am trying to use a custom setting definition provider as shown below
using Volo.Abp.Settings;
namespace MyConsoleDemo;
public class MySettingProvider : ...
0
votes
0
answers
29
views
GetUser Problems And One Different Question
var user =
await _userRepository
.FirstOrDefaultAsync(_ => _.Id == CurrentUser.Id);
When I attempt to retrieve any user here, it works. However, if the user I'm ...
0
votes
1
answer
116
views
How to deploy ABP framework?
After spending a year to ABP.io framework, I have learned a lot, and I think it is a fantastic framework.
However, feels like totally undeployable, with very limited documentation on the area, ...
0
votes
0
answers
30
views
Abp replacing method of auto controller does not work
https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services I used this documentation to override the endpoint od auto generated controller.
This is my code, which gives ...
1
vote
0
answers
58
views
The instance of entity type '' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked
Hi I am using Abp Framework with .net 7 and I have this service that has one to many relationship
in the dto of the entity i have list and when I send rquest from swagger to this sevice i get this ...
0
votes
1
answer
38
views
ListService in Abp.io with Syncfusion Grid sample
I want to use ListService of abp.io in angular project with Synfusion Grid. I want to achieve pagination through ListService.
Please give me code example of both Angular and Abp.io implementation.
0
votes
1
answer
29
views
Update abpuser and change only the length of Name column from 64 to 250
I'm trying to update the length of the column "Name" and "surname" from 64 to 250
when I open ModuleExtensionConfigurator.cs in domain.shared layer
I found this method
private ...
0
votes
1
answer
48
views
ABP.IO How do I integrate Stripe payment gateway with Angular UI?
We are using commercial version of ABP.IO with project generated using the ABP Suite using the following components
Application template
Angular
Lepton-X
EF
SQLServer
Though we were able to run the ...
0
votes
1
answer
66
views
How do I retrieve the user's given and family name from Microsoft with OpenIdConnect?
I have an Asp Boilerplate (ABP) application. I have set up OpenIdConnect to log in with a Microsoft account, and have been able to successfully log in while running the application locally. However, I ...
5
votes
2
answers
126
views
ABP Framework HttpApi.Host failure in K8S deployment with nginx reverse proxy
I have deployed the ABP framework in a Kubernetes cluster.
Following deployments are present:
Redis
MSSql
AuthServer
HttpApi.Host
Nginx ingress / reverse proxy with https termination, no encryption ...
0
votes
0
answers
29
views
AutoMapper : Error when mapping between two lists
Source/destination types
public partial class MailMessage
{
public List<MailMessageRecipient> MailMessageRecipients { get; set; }
}
public class CreateDraftInputDto : EntityDto<Guid>
{...
0
votes
2
answers
49
views
Change LeptonX theme style to Dark mode (or Light mode)
ABP commercial has LeptonX theme as its default theme.
There are 4 styles in LeptonX:
Light, Dark, Dim, and System.
My app has Angular UI. And the default theme style seems to be System - it changes ...
0
votes
0
answers
38
views
How to integrate Azure Application Insights with ABP Framework
ABP Framework Version :- 7.1.1
Trying to integrate Azure Application Insights
we are seeing below message
AI: Diagnostic message: Performance counters are unavailable when the application is running ...
0
votes
0
answers
24
views
when trying to render cshtml files I always get an error saying can't find theme file but theme should be installed
I was trying to complete my colleagues code because he is on vacation with implementing a simple local login system, we already have saml. This login page will be rendered on the server side and not ...
0
votes
1
answer
34
views
Could not load type 'Volo.Abp.EventBus.EventNameAttribute' from assembly 'Volo.Abp.EventBus, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null'
4.2.2 version of the Volo. Abp. EventBus,, there is a type of Volo. Abp. EventBus. EventNameAttribute, has now been split into the assembly Volo. Abp. EventBus. Abstractions, version for 4.3.0.
Volo....
1
vote
1
answer
66
views
Can we modify AbpUserConfiguration/GetAll or reduce the response time by any means
In my application, the response time for the API call - AbpUserConfiguration/GetAll is around 3-7 seconds, not just the first time. This API is called when the user logs in. Is there any way that I ...
0
votes
0
answers
63
views
ABP Framework, how to get identity custom properties from IIdentityUserRepository
I have successfully add new custom property as IsPartner in identity. now i have to get list of all users those are marked as Partner, i tried to get by _repository.GetListAsync but it doesn't have my ...
1
vote
0
answers
52
views
abp bearer token fails with These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user
I am using abp framework version 5.2. I want some 3rd party application to access the API and is trying to implment the jwtbearer token based on 1. Iam able to retrieve the token but when it is used ...
0
votes
0
answers
18
views
How does Abp gracefully inform users that a field of newly added data cannot be repeated?
The way I write it now is like this, which feels inappropriate, but there is no better way to write it:
public override async Task<ProjectDto> UpdateAsync(int id, CreateUpdateProjectDto ...
0
votes
0
answers
21
views
Replacing PermissionManagementComponent
In trying to replace PermissionManagementComponent in abp angular framework project in my project I receive the following errors.
1.Module '"@abp/ng.permission-management"' has no exported ...
0
votes
0
answers
31
views
How to insert data in AbpUserLogins using abp framework
I wanted to insert data in the AbpUserLogins table. I think we need to use Volo.Abp.Identity.IdentityUserLogin.Please let me know how to insert data in the table.
I saw the below link,
A user is ...
0
votes
0
answers
17
views
How to modify the localization information of the original menu?
enter image description here
How do I change this localized menu name? This is the menu for third-party modules。
I try to add localization comments, but it does not cover the third party's menu, ...
3
votes
0
answers
27
views
How to assign value in protected set declaration like creatorId in abp io .net
I am using .net abp io. I have a problem to assign a protected set like creatorId. Below is the sample:
public virtual Guid? CreatorId { get; protected set; }
My code in service :
var status = new ...
0
votes
1
answer
36
views
Update Hang-Fire default worker count from 20 to a custom number in ABP Framework
I would like to update the concurrent background job count from the default 20 to 10. Where can I mention this configuration ? There is this link which gives some information. But how do I configure ...
0
votes
1
answer
114
views
Remote service 'Default' was not found and there is no default configuration error with abp MVC project
I created a new solution by using below CLI command
abp new Acme.BookStore -dbms MySQL -csf
I am trying to follow the same steps in this tutorial
https://docs.abp.io/en/abp/latest/Tutorials/Part-3?...
1
vote
1
answer
160
views
Policy-based Authorization not working with [Authorize] attribute in ABP Boilerplate
I am working on an ASP.NET Core application using ABP (ASP.NET Boilerplate) as the framework. I want to implement policy-based authorization in my application using the standard [Authorize] attribute ...
1
vote
1
answer
57
views
ABP - Injecting serilog into application service for logging
I'm trying to inject serilog as a dependency into my application service, but it is not getting detected by the DI.
Error:
Autofac.Core.DependencyResolutionException: An exception was thrown while ...
0
votes
1
answer
46
views
Users unique across all tenants [ABP.IO]
Anyone knows if its possible to create users unique across all tenants?
Explain.
User1 creates in tenant1
User1 creates in tenant2.
This approach is the "by default" approach of the ...
0
votes
0
answers
41
views
The specified authorization code has already been redeemed after Enable Redis for abp
I follow this document to enable redis
https://docs.abp.io/en/abp/latest/Redis-Cache?&_ga=2.84794841.1118577770.1688628013-487746807.1664031769#configuration
But after that I get error while ...
0
votes
0
answers
28
views
Getting error while deploying ABP IO Project in Azure web apps
While deploying the Abp IO project to virtual directory, I am getting the 500.35 HTTP Error.
I tried deploying the project but facing issues. Please provide me step by step solution for rectifying ...
0
votes
0
answers
57
views
I used AbpHub(SignalRHub) and after injecting the repository and writing the data, the data could not be committed to the database
I used AbpHub(SignalRHub) and after injecting the repository and writing the data, the data could not be committed to the database.
I directly used the demo in abp-samples and was able to write data ...
0
votes
2
answers
63
views
How can I extend BasicRepositoryBase and add new base repository functions with abp framework?
I want to extend BasicRepositoryBase to add a new function for all my repositories.
I created my interface as follows
using System;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using ...
0
votes
0
answers
23
views
Adding radio button as a custom control to the Identity user in abp framework
I need to add a custom controls in Identity user form using abp framework. I am able to add a dropdown using enum, but I need a radio button control.
I have added custom controls using ...
0
votes
1
answer
52
views
ABP Text Template: Undefined Template Exception
I'm trying to use an ABP text template to create an email message. ABP's sample code (slightly modified) works:
using System;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using ...
0
votes
0
answers
37
views
ICurrentUser is null in abp multi layer MVC project
I am using abp framework using MVC with multilayer and multitenancy enabled.
I also add MultiTenancy module and create a new tenant with admin account.
Below is the CLI Commands I used to create the ...
0
votes
1
answer
71
views
ABP Add Migration Issue
When trying to create a database migration, I am getting the following message:
Your startup project doesn’t reference Microsoft.EntityFramework.Core.Design. This package is required for the Entity ...