as per understanding GetAsync method of AbpApplicationConfigurationAppService will be useful for adding or modifying the Application Configuration Endpoint right? do u think this this Method will be called for all service calls from the application?
Yes, you should override the GetAsync method to modify the Application Configuration Endpoint (if your version is lower than v6.0). This endpoint calls by some framework services. (provides localization key-values, permissions etc.)
Thanks for the response, but it looks like this will work in 6.0 only as of now ours is 5.1.3 , do u have any alternate for this or do we need to upgrade to 6.0?
If you do not want to upgrade your project, you can override the GetAsync
method of AbpApplicationConfigurationAppService in your project and update it to your needs.
Hi @viswajwalith ,
That's fine, at least can you point the code/file where we had to inject some additional logic before the call of any API call happening from the application.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L85-L122
You can add some additional properties to this endpoint without overriding the AbpApplicationConfigurationAppService, you can read this article to see how to extend this endpoint and get a general knowledge about this endpoint.
Hi, you can follow the steps below to run your application:
Ctrl + Shift + P
-> NET: Generate Assets for Build and Debug -> Your Web Project (ex: BookStore.Web)Hi, you can set different connection strings for each modules. Please see the Connection Strings docs for that.
You need to add two infrastructure projects (one for SQL server and the other for MySQL in your case) and implement the repository interfaces and make the related service registrations. Then you should be able to use multiple database providers, without any problem.
Hi, thanks for reporting the problem. We are aware of the problem and will fix it asap. Btw, I've refunded your ticket, thanks again.
I want to add web.public project in existing project then what should i do?
Hi, we don't have any built-in command that can add a public-web project to your solution.
You can create a new project with the public-website option and then move the public-web project to your existing solution and make the necessary changes.
To create a project with the public-website option, you can use the --with-public-website
as below:
abp new Acme.BookStore --with-public-website
Hi, abp add-module Volo.TextTemplateManagement
only in .net core , but don't add in angular project
To install it for Angular UI, please see https://docs.abp.io/en/commercial/latest/modules/text-template-management#angular-ui .
using Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme; using Volo.Abp.AspNetCore.Components.Web.LeptonXLiteTheme.Themes.LeptonXLite;
dotnet add package Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme --prerelease this is dot net cli code for adding LeptonXLiteTheme in abp framework
i only have these 2 namespces your solution only applies on lepthon x commercial version please give me a solution for lepthon x lite version for abp framework
LeptonX Lite does not have the top menu option. The top menu is only available for the ABP Commercial customers, so if you want to use the top menu, you need to switch to the LeptonX theme.
i have updated to this version but still this code
Configure<LeptonXThemeBlazorOptions>(options => { options.Layout = LeptonXBlazorLayouts.TopMenu; });
does not work and does not show namespces to add
Please, ensure you are configuring the LeptonXThemeBlazorOptions
in the Blazor project and also restore the project.
Namespace should be Volo.Abp.AspNetCore.Components.Web.LeptonXTheme;
After these configurations, you can run the abp bundle
command under the blazor project directory and then top menu should be seen.