Activities of "duongdangquoc@gmail.com"

Hi maliming,

Now I want to add those properties to ICurrentUser, how can I do, please

Hi maliming,

In the IdentityService project, code should be added to IdentityServiceEfCoreEntityExtensionMappings.cs then this file will be referenced to IdentityServiceDbContextFactory : IDesignTimeDbContextFactory<IdentityServiceDbContext>

But in the AuthServer project, where can I add the same code?

hi

Can you move the ObjectExtensionManager.Instance.MapEfCoreProperty<IdentityUser, string> code to a common module and reference it in identity server and authserver projects?

Hi maliming,

In the AuthServer, it does not include the DbContextFactory so which file should I add ObjectExtensionManager.Instance.MapEfCoreProperty<IdentityUser, string>

Yeah, let me try.

Thanks.

I have the same

Hi mailiming,

I have added some menu items as you know (Documents, categories). But when the token expired, the UI shows a prompt message instead of redirecting to the authorize page look like built-in modules

How do we resolve this issue?

Thank you.

Thank you.

I have one more question here. In \services\documents-management\src\DocumentsManagement.Web\Pages\DocumentsManagement\DocumentInboxes\CreateModal.cshtml.cs line 36 I called directly from another service but got this error: "Your request is not valid!" What I wrong here?

Hi maliming,

I created some APIs to get data from other microservices, I also created C# proxies based on your comment above.

After running the application, I got the exception:

Message: The API description of the TSD.DOCS.AdminCategoryService.ListOrganizations.IListOrganizationsAppService.GetForSelectListAsync method was not found!

StackTrace:

at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.BuildHttpProxyClientProxyContext(String methodName, ClientProxyRequestTypeValue arguments) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments) at TSD.DOCS.AdminCategoryService.ListOrganizations.ListOrganizationClientProxy.GetForSelectListAsync(Nullable`1 id) in E:\Workspaces\AbpFramework\Projects\TSD.DOCS\services\admin\category\src\TSD.DOCS.AdminCategoryService.HttpApi\ClientProxies\TSD\DOCS\AdminCategoryService\ListOrganizations\ListOrganizationClientProxy.Generated.cs:line 23 at DocumentsManagement.Web.Pages.DocumentsManagement.DocumentInboxes.CreateModalModelBase.OnGetAsync() in E:\Workspaces\AbpFramework\Projects\TSD.DOCS\services\documents-management\src\DocumentsManagement.Web\Pages\DocumentsManagement\DocumentInboxes\CreateModal.cshtml.cs:line 36 at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.NonGenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync() at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()

Could you please help me double check? There is how to reproduce:

BTW, what is the different between proxy generation in Abp Studio and command line?

I use Route("get-All")], it works but I dont want the dash

Hi maliming,

I have created a new API: DocumentInboxController.cs

[HttpGet] // [Route("getAll")]: I am trying to add this but does not success. public Task<List<DocumentInboxForViewDto>> GetAllAsync(GetDocumentInboxesInput input) { return _documentInboxesAppService.GetAllAsync(input); }

This is the existing method: [HttpGet] public virtual Task<PagedResultDto<DocumentInboxDto>> GetListAsync(GetDocumentInboxesInput input) { return _documentInboxesAppService.GetListAsync(input); }

When running the swagger, I got the error: Conflicting method/path combination "GET api/documents-management/document-inboxes" for actions - DocumentsManagement.DocumentInboxes.DocumentInboxController.GetAllAsync (DocumentsManagement.HttpApi),DocumentsManagement.DocumentInboxes.DocumentInboxController.GetListAsync (DocumentsManagement.HttpApi). Actions require a unique method/path combination for Swagger/OpenAPI 3.0. Use ConflictingActionsResolver as a workaround

How can I use many APIs with the same HTTP method?

Showing 1 to 10 of 25 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.