hi
In fact, you can ignore this problem, because IDataSeedContributor will determine whether the data exists before the seed data.
If you don't use redis, the caches of multiple projects will be inconsistent and cause problems.
why redis is mandatory for tiered project?
Applications are using caching, such as caching query results, settings, permissions, etc., so we need to cache, especially tiered project.
hi @jtallon
You can override the HeaderBrandViewComponent
to change the href
.
Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Header\Brand\HeaderBrandViewComponent.cs
@using Volo.Abp.Ui.Branding
@inject IBrandingProvider BrandingProvider
<a class="navbar-brand" href="~/" alt="@BrandingProvider.AppName"></a>
hi Leonardo.Willrich
_dataSeeder = dataSeeder; // -->> Return all list with all SeedContributor, and not the only one that is suppose to be for the DBContext
In this case you need to manually resolve the instance of IDataSeedContributor
hi phannd
If the record is allowed to be duplicated, Multiple calls to the API are inevitable. You can disable the button after the user clicks it.
hi
Sorry, it seems I misunderstand your question, I thought you need to call an application service that requires permission in the unit test.
There is a ConsoleTestApp
and that will request Identity Server to get a token. Then call proxy api.
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ConsoleTestAppHostedService.cs#L13
If this is not the case for you, you can share a demo project to me. liming.ma@volosoft.com