- ABP Framework version: v7.0.3
- UI type: Blazor WebAssembly
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
Is it possible to deploy Blazor web assembly app to Azure static web app? If yes can you point me to the documentation/steps to configure that for my ABP Application?
3 Answer(s)
-
0
hi
I think you can refer to the Microsoft document.
https://github.com/abpframework/abp/issues/17029
-
0
hi
I think you can refer to the Microsoft document.
https://github.com/abpframework/abp/issues/17029
the provided link did not help much. But I was able to deploy to azure static web app. My next issue is this error. Can you help point out how to resolve this?
global.js?_v=638233967120275768:1 System.AggregateException: One or more errors occurred. (An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule, Volo.Abp.AspNetCore.Components.WebAssembly, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null: Forbidden. See the inner exception for details.) ---> Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule, Volo.Abp.AspNetCore.Components.WebAssembly, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null: Forbidden. See the inner exception for details. ---> Volo.Abp.Http.Client.AbpRemoteCallException: Forbidden at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
1.<ThrowExceptionForResponseAsync>d__40[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
1.<RequestAsync>d__34[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__33
1[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__31
1[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options) at Volo.Abp.AspNetCore.Components.WebAssembly.WebAssemblyCachedApplicationConfigurationClient.InitializeAsync() at Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule.OnApplicationInitializationAsync(ApplicationInitializationContext context) at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module) at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) --- End of inner exception stack trace --- at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) at Volo.Abp.AbpApplicationBase.InitializeModulesAsync() at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider) at Microsoft.AspNetCore.Components.WebAssembly.Hosting.AbpWebAssemblyHostBuilderExtensions.InitializeApplicationAsync(IAbpApplicationWithExternalServiceProvider application, IServiceProvider serviceProvider) at DecisionTree.ListTrader.Blazor.Program.Main(String[] args) --- End of inner exception stack trace --- -
0
hi
Volo.Abp.Http.Client.AbpRemoteCallException: Forbidden
Check the logs of API website.