Hello abpnewtonvisionco,
Please let us know if any particular error occurs when you follow above mentioned steps or if you have modified some steps to suit your requirement and got some error or it worked for you.
Hi smansuri,
We tried deploying the application through Dockerfile approach and hosted it in ubuntu web app
I downloaded v7.3.2 template
Created two Dockerfiles (one for frontend and other for backend)
Created web apps with Linux OS
Deployed both fronted and backend application into web apps We are unable to reproduce the error at our end.
I am using these Dockerfiles Frontend
Is your project up and running ?
Hi,
those blogs and pages added in admin are accessible on public app. see the routing configuration done for them here. https://github.com/abpframework/abp/blob/139d0c83f20717af814f9ce5e0cea26886bb29cd/modules/cms-kit/src/Volo.CmsKit.Public.Web/CmsKitPublicWebModule.cs#L87C8-L87C8
Then on public app you can visit that blogs by : /blogs/<blogslugname>
Hi,
There are some missing configuration related to languages and application is not able to determine the default resource type. I would suggest create a non-commercial backend app you can do that with below cli :
abp new Acme.BookStore -u none -csf --version 7.0.2
and follow the code structure and configuration done there so you don't miss in with any default abp code.
Following are the changes done to you application to get this working.
change in enviornment.ts
change in AdministrationServiceDomainModule
public override void ConfigureServices(ServiceConfigurationContext context) { Configure<AbpLocalizationOptions>(options => { options.Languages.Add(new LanguageInfo("ar", "ar", "العربية", "ae")); options.Languages.Add(new LanguageInfo("cs", "cs", "Čeština")); options.Languages.Add(new LanguageInfo("en", "en", "English", "gb")); options.Languages.Add(new LanguageInfo("en-GB", "en-GB", "English (UK)")); options.Languages.Add(new LanguageInfo("hu", "hu", "Magyar")); options.Languages.Add(new LanguageInfo("fi", "fi", "Finnish", "fi")); options.Languages.Add(new LanguageInfo("fr", "fr", "Français", "fr")); options.Languages.Add(new LanguageInfo("hi", "hi", "Hindi", "in")); options.Languages.Add(new LanguageInfo("it", "it", "Italiano", "it")); options.Languages.Add(new LanguageInfo("pt-BR", "pt-BR", "Português")); options.Languages.Add(new LanguageInfo("ru", "ru", "Русский", "ru")); options.Languages.Add(new LanguageInfo("sk", "sk", "Slovak", "sk")); options.Languages.Add(new LanguageInfo("tr", "tr", "Türkçe", "tr")); options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文")); options.Languages.Add(new LanguageInfo("zh-Hant", "zh-Hant", "繁體中文")); options.Languages.Add(new LanguageInfo("de-DE", "de-DE", "Deutsch", "de")); options.Languages.Add(new LanguageInfo("es", "es", "Español")); }); base.ConfigureServices(context); }
Change in AdministrationServiceDomainSharedModule
add below line
options.DefaultResourceType = typeof(AdministrationServiceResource);
change in AdministrationServiceHttpApiHostModule
Configure<AbpLocalizationOptions>(options => { //BootstrapDatepicker options.AddLanguagesMapOrUpdate(BootstrapDatepickerScriptContributor.PackageName, new NameValue("zh-Hans", "zh-CN"), new NameValue("zh-Hant", "zh-TW")); options.AddLanguageFilesMapOrUpdate(BootstrapDatepickerScriptContributor.PackageName, new NameValue("zh-Hans", "zh-CN"), new NameValue("zh-Hant", "zh-TW")); //moment options.AddLanguagesMapOrUpdate(MomentScriptContributor.PackageName, new NameValue("zh-Hans", "zh-CN"), new NameValue("zh-Hant", "zh-TW")); options.AddLanguageFilesMapOrUpdate(MomentScriptContributor.PackageName, new NameValue("zh-Hans", "zh-CN"), new NameValue("zh-Hant", "zh-TW")); //Timeago options.AddLanguageFilesMapOrUpdate(TimeagoScriptContributor.PackageName, new NameValue("zh-Hans", "zh-CN"), new NameValue("zh-Hant", "zh-TW")); //JQueryValidation options.AddLanguageFilesMapOrUpdate(JQueryValidationScriptContributor.PackageName, new NameValue("zh-Hans", "zh"), new NameValue("zh-Hant", "zh_TW")); });
let me know if you have any problem after following these steps
Hi
To be: I want to replace those razor pages by angular to be as follows: Stystem A wants to login --> should be redirected to angular app http://angularapp:4400/account/login Stystem B wants to login --> should be redirected to angular app http://angularapp:4400/account/login
the above implementation is not part of abp currently provides:
Authorization Code Flow and Resource Owner Password Flow
but it is possible to achieve you can use Resource Owner Password Flow by create a new angular app and use this library https://www.npmjs.com/package/angular-oauth2-oidc.
please see how abp has done it
https://github.com/abpframework/abp/blob/139d0c83f20717af814f9ce5e0cea26886bb29cd/npm/ng-packs/packages/oauth/src/lib/strategies/auth-password-flow-strategy.ts
Thanks for your response, will check and get back to you asap.
Hello saad.aldulaijan,
could you please check following links - https://support.abp.io/QA/Questions/446/How-do-I-customize-login-pages-for-Angular-when-using-new-Authorization-Work-Flow-in-version-31 https://support.abp.io/QA/Questions/2582/Replacement-of-Login-Page-in-angular-is-not-working--i-have-follow-the-replacement-documentation-after-replacement-still-the-page-is-redirect-to-Backend-login-page let me know if it helps you.
Hello alicaner ,
Just received your mail , we will check and get back to you asap.