With the Angular 3.3.0 solution, how can I eager load the admin module? Currently when the site loads and I click any of the admin pages there is a delay of 3-4 seconds for the module to load.
Any advice would be much appreciated.
Thanks,
David Hawkins
I have painstakingly upgraded to 3.3.0 and cannot get subdomain tenant detection working. No matter what sub-domain I have it just logs me in as ./admin.
I could resolve the issue with the previous version by updating ExtractTenancyNameFromUrl but this method is no longer used in the new version.
My questions are;
app.config.json
and appsettings.json
(WebSiteRootAddress). I have tried numerous combinations of domains.Thanks in advance,
David HAwkins
I'm having a number of issues with tenant sub-domains in the previous Angular2 release.
Here is my appconfig.json
{
"remoteServiceBaseUrl": "https://{TENANCY_NAME}.myapidomain.co.uk",
"appBaseUrl": "https://{TENANCY_NAME}.mydomain.co.uk"
}
Issue 1
Issue 2
My appsettings.json has
"WebSiteRootAddress": "https://{TENANCY_NAME}.mydomain.co.uk/"
Any help or advice on resolving this will be much appreciated.
Kind regards,
David Hawkins
When I deploy my project to Azure my favicon does not load. In the network the response is the homepage and not the icon data.
Can someone please advise what changes I need in the web.config to serve the file?
Thanks
David
Currently I have two domains
Angular2 -> {tenant}.domainA.com API -> {tenant}.api.domainA.com
It appears the the sub-domain determines the tenant on the API side, however is it possible to have the API hosted at api.domainA.com and determine the tenant based on the domain the request came from (similar to the allow on the CORS).
Otherwise I need to purchase two * SSL certificates.
Any advice on how to achieve this would be much appreciated.
Thanks, David Hawkins
For dev only, how do I speed up Angular 2 compilation? Currently it's taking 20-30 seconds to refresh any changes.
In dev I don't really care about compressing the content or running lints.
Any advice would be great!
Thanks, David
Where/how do I change the loading animation when first visiting the site? It's currently a spiner with circles of grey and black.
Thanks, David
I am trying to test notifications and noticed that I only receive notifications if I call this method when I send a notification;
await _notificationSubscriptionManager.SubscribeToAllAvailableNotificationsAsync(new UserIdentifier(1,4));
Then I can call below code and it works
await _appNotifier.SendMessageAsync(new UserIdentifier(1, 4), "Test", NotificationSeverity.Success);
Also it works if before I send the notification I manually subscribe using
_notificationSubscriptionManager.SubscribeAsync(new UserIdentifier(1, 4), "App.SimpleMessage");
I made sure in my database that I have an AbpNotificationSubscriptions for UserId 4 for App.SimpleMessage.
It's like the notification subscriptions in the database are not doing anything.
How can I make the notification work without having to subscribe to all, am I missing something important?
Thanks, David
What options are there for restricting roles?
Can roles be depending on features/editions or even specific users?
I want to be able to prevent certain people seeing roles which may not apply to that tennant.
Thanks in advance for any information/advice.
Kind regards, David Hawkins
On the .net core MPA solution how do I disable automatic build of the solution every time I save a file. I want to handle auto-build using dotnet-watch instead.
Thanks in advance. David Hawkins