Im looking for the documenation that describes what these values that can be set in appsettings.json file. See below.
Its not accepable that you dont have documentation on this. I paid a lot of money for this framework.
Please stop addeing new features that im not using and document your existing features.
Thanks
public const string BillingLegalName = "App.HostManagement.BillingLegalName";
public const string BillingAddress = "App.HostManagement.BillingAddress";
public const string LayoutType = "App.UiManagement.LayoutType";
public const string ContentSkin = "App.UiManagement.ContentSkin";
public const string FixedBody = "App.UiManagement.Layout.FixedBody";
public const string MobileFixedBody = "App.UiManagement.Layout.MobileFixedBody";
public const string Theme = "App.UiManagement.Theme";
public const string ThemeColor = "App.UiManagement.ThemeColor";
public const string DesktopFixedHeader = "App.UiManagement.Header.DesktopFixedHeader";
public const string MobileFixedHeader = "App.UiManagement.Header.MobileFixedHeader";
public const string Skin = "App.UiManagement.Header.Skin";
public const string Position = "App.UiManagement.Left.Position";
public const string AsideSkin = "App.UiManagement.Left.AsideSkin";
public const string FixedAside = "App.UiManagement.Left.FixedAside";
public const string AllowAsideMinimizing = "App.UiManagement.Left.AllowAsideMinimizing";
public const string DefaultMinimizedAside = "App.UiManagement.Left.DefaultMinimizedAside";
public const string AllowAsideHiding = "App.UiManagement.Left.AllowAsideHiding";
public const string DefaultHiddenAside = "App.UiManagement.Left.DefaultHiddenAside";
public const string AllowSelfRegistration = "App.TenantManagement.AllowSelfRegistration";
public const string IsNewRegisteredTenantActiveByDefault = "App.TenantManagement.IsNewRegisteredTenantActiveByDefault";
public const string UseCaptchaOnRegistration = "App.TenantManagement.UseCaptchaOnRegistration";
public const string DefaultEdition = "App.TenantManagement.DefaultEdition";
public const string SubscriptionExpireNotifyDayCount = "App.TenantManagement.SubscriptionExpireNotifyDayCount";
public const string BillingLegalName = "App.UserManagement.BillingLegalName";
public const string BillingAddress = "App.UserManagement.BillingAddress";
public const string BillingTaxVatNo = "App.UserManagement.BillingTaxVatNo";
public const string AllowSelfRegistration = "App.UserManagement.AllowSelfRegistration";
public const string IsNewRegisteredUserActiveByDefault = "App.UserManagement.IsNewRegisteredUserActiveByDefault";
public const string UseCaptchaOnRegistration = "App.UserManagement.UseCaptchaOnRegistration";
public const string SmsVerificationEnabled = "App.UserManagement.SmsVerificationEnabled";
public const string IsCookieConsentEnabled = "App.UserManagement.IsCookieConsentEnabled";
public const string IsQuickThemeSelectEnabled = "App.UserManagement.IsQuickThemeSelectEnabled";
**Issue 1: **
In the past, i asked some of my developers to remove features in the portal. For example, the language drop down and the recaptcha feature.
This worked fine until I asked them to upgrade to the latest template. Apparently, they commented out lines in the templates to remove the features I requested. In all, I found that they made over 70 changes to the templates. This results in a lot of work and testing, every time we want to upgrade.
So these changes are of two types, ones that are specific to my application and ones that are general. I would put the language dropdown in the general category.
In the case of recaptch, there is ngIf="useCaptcha" in register.coponent.html, and a typeScript method that calls 'App.UserManagement.useCaptchaOnRegistration'.
I thought this might be an undocumented pattern and I searched for "App.UserManagement". I found very few features settings to use.
I can’t find any documentation for this or any references as to best practices for enabling or disabling features in the portal.
Q: Is there any documentation on this? What is the recommended way to make modifications to template pages that will be updated?
Issues 2: I also see that some features are simply hidden from the use through the use of changes to style sheets. For example in the AppUiCusomizationService.ts, various styles are enabled when isLeftMenu() is true or false.
Again, i can’t find any documentation on this and im not sure how to use it.
Q: is this usable by end users or is it an internal feature?
Issues 3: Another issue is, how to add new modules to the system. We found that since we were adding many new pages, it would best to have these pages be located outside of the app, admin or main directory’s. This way we could just copy over one directory that contains all of the pages and a routing-module for these company-specific routes.
In addition, we created another directory that’s outside of the app folder for pages that do not need the branding and left side menus. So for these two changes we just need to copy over new directory and add a new path in the root-routing-module.ts and the app-routing-module.ts. But again, two more changes to make every time.
Q: We're not experienced angular developers. So i ask, is there a better way to do this?
In general, with new versions of template coming out every few weeks, it's very difficult to customize the portal, for the needs of my customers, when I don’t know how the system supports customization of existing controls.
I hope im wrong and there is a set of techniques that i'm unaware of.
I have some ideas for how this might be implemented if it does not exist.
Thanks
If your using .net core on ubontu, its clear that your NOT going to use sqlserver.
Also, as you migrate between versions of templates we also need migrations to upgrade existing databases.
Are you planning on provding migrations for mysql?
Hi,
We're using Angular 7 and TypeScript and found that VS Code is a really fast way to get up and running. Typescript debugging worked immediatly and the editor is really fast. We've decided to continue to run Visual Studio for debugging the backend and use VS Code to launch and debug the front end.
The problem were having is. How to intergrate with the appsettings.{variable}.json and appconfig.{variable}.json? This works perfectly in Visual Studio but but VS Code see's them as seperate files.
If we have a single file for appsettings.json and appconfig.json everything works. But then each develeloper must update everything everytime you update from source control. As usual, you forget something and spend 10 min tracking it down.
So today we attempted to use angular.json > configurations > fileReplacments but we cant get it working, and even it it was to work, it would never support the inheritance of properys between the appsettings.json and the appsettings.{variable}.json.
Anyone have any suggestions??
Thanks
Im a aspnetzero nube but im trying to determine, if i see something on the screen, what file in html or ts is used to generate it.
For example, it took 10 minutes to trackdown that the toolbar at the top of every page came from topbar.component.html.
The page name is appropiate, but it still took a while to find it.
Quesiton: is there a reference guide that list of these major files, what they do and where they can be found.
Thanks
In the Topbar.component.html i see that the chat feature can be enabled or disabled on a page by setting
<li *ngIf="chatEnabled && !chatConnected" class="m-nav__item m-topbar__notifications m-topbar__notifications--img m-dropdown m-dropdown--large m-dropdown--header-bg-fill m-dropdown--arrow m-dropdown--align-center m-dropdown--mobile-full-width">
In the typescript class the definition of chatEnabled is
`get chatEnabled(): boolean {
return (!this._abpSessionService.tenantId || this.feature.isEnabled('App.ChatFeature'));
}`
So if i set App.ChatFeature to false in appsetting.json then the chat feature on the page should be made invisible.
Question: is there a reference guide that shows me all of the App.XXXXXX variables that can be set to configure what features are visible on a page?
Also, is there a reference that shows what are all of the cusomizations provided using the Pages.Administration.UiCustomization that i found in
Topbar.component.html :190 *ngIf="!isGranted('Pages.Administration.UiCustomization')
When i visit this setting in Administration > Roles > User > Edit User Role.
I dont see an option for UiCustomization.?????
Does this mean that there is a place where this is set staticly in code? or is it dynamic at runtime??
Hi, we have a couple questions
For Gmail oAuth, we want to support a mobile application which connects to our netzero website, we noticed the website uses a popup to ask for the login credentials, since popups are not possible in the same way on iOS, we want to know if you have support out of the box for iOS and how to enable it, if possible
Current approach To allow our mobile app to login to the website:
And also inside login.component.ts , inside ngOnInit() method there is only code for ‘openIdConnect’ for executing the callback method. Its not there for Google. Is this expected, where should we look for the google callback after authentication, if using the “redirect” mode?
Environment Details:
IMPORTANT NOTE:
We need to support both mobile apps and web browsers, either embedded or standalone
Thanks for your help
Regards
Hello, i'm trying to enable Microsoft authentication on a netcore app
I created a web app on https://apps.dev.microsoft.com and a password which i'm using along with the app id to set the configuration on the appsettings.json file for my web app
I have enabled Microsoft auth and i can see the login button for it but when i click on it i don't see anything happening, looking at the logs under App_Data/Logs/Logs.txt i don't see any errors.
A few questions
My auth section looks like this
"Microsoft": { "IsEnabled": "true", "ConsumerKey": "my app id", "ConsumerSecret": " the password for my app" }, Is this the right way to configure Microsoft auth support?
Since there are no errors logged both on the log file or the web page or on the developer console in chrome i don't have much to work with, any advice would be extremelly helpful
Thanks for your help
It appears that adfs support is available for all versions except Angular 6!!!
Are there any plans to support this?
Why not Angular 6??
We are trying to use a MySql database as described on this article
https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration
After following the steps on the article, we are able to build and deploy our app pointing to a mysql database server
However, when the application starts, we get this error
System.InvalidOperationException: No coercion operator is defined between types 'System.Int16' and 'System.Boolean'
This is caused by this line on method DefaultEditionCreator.CreateEditions()
context.Editions.IgnoreQueryFilters().FirstOrDefault(e => e.Name == EditionManager.DefaultEditionName);
This is found on the class "DefaultEditionCreator" on the ourAppName.EntityFrameworkCore project from the asp.net zero template
EntityFrameworkCore.Migrations.Seed.Host.DefaultEditionCreator
Note: The same problem does not happen if we generate the migrations for MS SQL server
Our MySql server is version 5.7, running on Linux The MySql.Data and MySql.Data.EntityFramework client libraries are version 8.0.13 Our web app is built for .net core 2.1 and published as a Linux application