Thanks for the reply.
I am trying to put together a very small microservices solution that demonstrates the issue so I can send to you.
I have tried to use your initial suggestion above:
If your non-abp app has a reference to abp blazor app;
You can use ABP layout by default in App.razor
Set DefaultLayout as:
Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.MainLayout or Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic.MainLayout
Problem is that I am getting error can't resolve symbol "MainLayout".
I do see MainFooter and MainHeader in that namespace (Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout) if that is any help.
Suggestions?
Hi ABP Commercial Support,
I need to get a resolution to this question - one way other the other - yes it can be done, and this is how, or no it can't be done with ABP Commercial Framework.
Could I please ask if one of your team could help me with this support request asap; it has now been 18 days since any response from the ABP Commercial Support Team.
Thank you,
Mike
Hi there,
Any help re above issue and follow up would be appreciated.
Thanks,
Mike
Hi there,
Thanks for your reply.
Issue with this proposed solution is that it would create a circular reference as the ABP Blazer Module references the non-ABP app (to bring in it services).
If I forgo the idea of placing the non-ABP app inside the ABP Blazor UI, and just have it render in the entire (new) browser window (a bit like the Elsa Demo does in its Web project), how do I do so and not have it render as a child of the ABP body as I am getting now:
<body class="abp-application-layout lp-topmenu">
as this effects the CSS of the non Blazor app.
In other words when ABP routes to the non-ABP Blazor app, I need the CSS to be "clean", so is there a way of completely removing the prevailing ABP CSS/Layout at that point?
Thanks for your help,
Regards,
Mike
Excellent, thanks for speedy reply...appreciate it...all good now.
Cheers,
Mike
When is 5.2 scheduled? (I note 5.1 is not scheduled until February)
I need to make decisions long before that re ABP and ABP Commercial going forward, and part of those decisions relate to deployment options and processes.
Are there any preliminary or work in progress documents or other materials available now? If so could you send me links please.
Update:
I have managed to get Blazer project published and running running on ISS.
Removed and reseeded database as per:
https://support.abp.io/QA/Questions/1009/Invalid-redirecturi---RedirectAllowedUrls-on-Login-page
Additionally would also appreciate questions re documentation in original post:
Also, is there any documentation/tutorials on how to deploy ABP Commercial (Application Template) to IIS, or any other generic ABP/ABP Commercial deployment documentation, and if so, could you send to me or provide link(s) please?
I’d also would like to have some documentation on the deployment of ABP Commercial Microservices Template to IIS, as I will shortly be attempting to test/research a similar deployment to IIS once I have (hopefully) successfully resolved the above issues and deployed the Application Template to IIS successfully.
Resolved:
Changed Windows WSL distribution to Ubuntu 20.04 from Debian.
Debian used v3 of Redis Server, whereas Ubuntu uses v5, which overcomes the .NET 6 issue of requiring version 4 or later of Redis Server.
Thanks for your help. Much appreciated.
Mike
I have attached (snippets) logs for Blazor Server based non-microservices application.
Extremely slow (unworkable) - this is with Redis enabled, running version in WSL (Windows 10) - "redis-server is already the newest version (5:5.0.14-1+deb10u1)".
Your help would be appreciated. How do I upload file here?
2021-12-30 11:36:20.128 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js?_v=637745468120000000 - - - 304 - application/javascript 15.0996ms
2021-12-30 11:36:20.162 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_blazor/initializers - -
2021-12-30 11:36:20.166 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png - -
2021-12-30 11:36:20.167 +10:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png was not modified
2021-12-30 11:36:20.167 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/backgrounds/bg-transparent.png - - - 304 - image/png 0.7792ms
2021-12-30 11:36:20.168 +10:00 [INF] Executing endpoint 'Blazor initializers'
2021-12-30 11:36:20.174 +10:00 [INF] Executed endpoint 'Blazor initializers'
2021-12-30 11:36:20.174 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_blazor/initializers - - - 200 - application/json;+charset=utf-8 11.6727ms
2021-12-30 11:36:20.209 +10:00 [INF] Request starting HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - -
2021-12-30 11:36:20.209 +10:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 was not modified
2021-12-30 11:36:20.209 +10:00 [INF] Request finished HTTP/2 GET https://localhost:44314/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - - - 304 - font/woff2 1.0022ms
2021-12-30 11:36:20.213 +10:00 [INF] Request starting HTTP/2 POST https://localhost:44314/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0
2021-12-30 11:36:20.217 +10:00 [INF] Executing endpoint '/_blazor/negotiate'
2021-12-30 11:36:20.226 +10:00 [INF] Executed endpoint '/_blazor/negotiate'
2021-12-30 11:36:20.226 +10:00 [INF] Request finished HTTP/2 POST https://localhost:44314/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 316 application/json 13.1632ms
2021-12-30 11:36:20.243 +10:00 [INF] Request starting HTTP/1.1 GET https://localhost:44314/_blazor?id=4ZoHH-SsrXIycgBR0fch2w - -
2021-12-30 11:36:20.245 +10:00 [INF] Executing endpoint '/_blazor'
2021-12-30 11:36:20.856 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:20.856 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:20.856 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.155 +10:00 [INF] Received HTTP response headers after 298.9826ms - 200
2021-12-30 11:36:21.155 +10:00 [INF] End processing HTTP request after 299.2067ms - 200
2021-12-30 11:36:21.206 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.240 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.240 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.240 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.562 +10:00 [INF] Received HTTP response headers after 322.236ms - 200
2021-12-30 11:36:21.562 +10:00 [INF] End processing HTTP request after 322.5054ms - 200
2021-12-30 11:36:21.614 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.618 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.618 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.618 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.925 +10:00 [INF] Received HTTP response headers after 306.3557ms - 200
2021-12-30 11:36:21.925 +10:00 [INF] End processing HTTP request after 306.6692ms - 200
2021-12-30 11:36:21.976 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.977 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:21.977 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:21.977 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.266 +10:00 [INF] Received HTTP response headers after 288.0483ms - 200
2021-12-30 11:36:22.266 +10:00 [INF] End processing HTTP request after 288.315ms - 200
2021-12-30 11:36:22.310 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:22.313 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:22.314 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.314 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.662 +10:00 [INF] Received HTTP response headers after 347.7942ms - 200
2021-12-30 11:36:22.662 +10:00 [INF] End processing HTTP request after 348.3986ms - 200
2021-12-30 11:36:22.709 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:22.711 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:22.711 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:22.711 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.009 +10:00 [INF] Received HTTP response headers after 297.8752ms - 200
2021-12-30 11:36:23.009 +10:00 [INF] End processing HTTP request after 298.1163ms - 200
2021-12-30 11:36:23.050 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.051 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.051 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.051 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.334 +10:00 [INF] Received HTTP response headers after 282.8674ms - 200
2021-12-30 11:36:23.334 +10:00 [INF] End processing HTTP request after 283.1578ms - 200
2021-12-30 11:36:23.369 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.371 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.371 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.371 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.642 +10:00 [INF] Received HTTP response headers after 270.6388ms - 200
2021-12-30 11:36:23.642 +10:00 [INF] End processing HTTP request after 270.9239ms - 200
2021-12-30 11:36:23.687 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:23.689 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2021-12-30 11:36:23.689 +10:00 [INF] Start processing HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.689 +10:00 [INF] Sending HTTP request GET "https://localhost:44334/api/abp/application-configuration?api-version=1.0"
2021-12-30 11:36:23.964 +10:00 [INF] Received HTTP response headers after 274.4126ms - 200