Your problem might be in your Android configuration.
Try to define your domain for cleartext traffic. see this: https://stackoverflow.com/a/70927108/7200126
If your non-abp app has a reference to abp blazor app;
You can use ABP layout by default in App.razor
Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.MainLayout
or
Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic.MainLayout
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic.MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
Your pages will be rendered inside ABP Layout.
or You can set layout per page with attribute:
@page "/"
@layout Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic.MainLayout
[Layout(typeof(Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic.MainLayout))]
public partial class Index
{
}
`
Hi
As CmsKit Pro Documentation says, you have to do it in GlobalFeatureConfigurator class in your Domain.Shared
project. If not, please do it in PreConfigureServices method.
Thank you for your feedback. We'll work on this topic. You can track it from issue #11599
As I see, Your HttpApi returns status code 439.
439 is not a commonly used known status code. Can you look the response body if it contains any description or message?
It might be related to your hosting provider.
There might be a problem with that module, As I see @liangshiwei is checking it.
As an answer of this issue; You can inherit from a module class hat you want to override and add that newly created class in [DependsOn] attribute.
**This is not a recommended way, it's just a way for completely overriding.
public class YourCustomModule : AbpBackgroundWorkersModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
// Do your stuff here.
}
}
And add that class in DependsOn attribute instead of AbpBackgroundWorkersModule
[DependsOn(typeof(YourCustomModule))]
public class YourAppModule
{
}
Hi @AlderCove
We have an event named Exploring ABP's new user interface
We'll show the new LeptonX theme and answer questions about it. Before that event unfortunately I can't say anything clear.
Thank you for your well-implemented sharing @hakan.uskaner.
I'm closing this issue now
You don't need to manipulate the original module file also you shouldn't do that.
Module dependencies will be loaded in order. So your module or app will work at the end. So, you can re-configure options that you need to change.
If a module defines an Option you can re-configure it in your module and override settings.
[DependsOn(typeof(OtherModule))]
public class YourModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<OtherModuleOptions>(options =>
{
options.IsEnabled = false;
// ...
// Just re-configure the module here.
});
}
}
You can use [ExposeServices] [Dependency] with ReplaceServices property as true to replace existing servvices
If you please share what you exactly replace or customize I can say something specific.
Have you tried to call HardDeleteAsync method to delete permanently ISoftDelete objects?
_repository.HardDeleteAsync(exports);