You can try out the approaches mentioned in <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3587">https://github.com/aspnetboilerplate/as ... ssues/3587</a>
@drblakl in that case, using the store pattern might be a better design. For example, AbpUserStore, AbpRoleStore and etc..
You can then customize the IQueryable similar to this <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero/Authorization/Users/AbpUserStore.cs#L73">https://github.com/aspnetboilerplate/as ... ore.cs#L73</a>
Hi @ajayak, it seems to me that Timer.Period is to configure how frequent does your job timer runs. However the Cron format should be use for actual job scheduled timings.
For example, timer runs at 30 mins interval and Cron job specific 12:00am. The worst case scenario will be timer trigger at 11:59pm then Cron job will not execute. The next interval for Cron job to execute will be at 12.29am
Are you referring to EF6 or EFCore?
You can use GetAllIncluding() if you know the navigation properties to load in in advance.
However if you are looking to build a query and load the relevant navigation properties conditionally, you can try Include () followed by ThenInclude() available from EF Core APIs
What kind of configurations you are looking for?
.net core uses appsettings.json for most configurations.
<cite>SquaresUnion: </cite> I create a appsettings.staging.json file change the environment variable ASPNETCORE_ENVIRONMENT to staging but when I do an update-database it is still pointing to the dev environment. The default appsettings file...How should I do
Yes. Given a custom appsettings.environment.json, if you set the environment variable correctly, it will be loaded automatically.
After following the steps from the ASP.NET Zero documentation
What are the steps you followed? Which version of AspNetZero you using? MVC AJ? CORE AJ?
Reading of appsetting.json with environment variable is done at <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Configuration/AppConfigurations.cs#L34">https://github.com/aspnetzero/aspnet-ze ... ons.cs#L34</a>
For Http Action Filterexample, see <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Api/WebApi/Auditing/AbpApiAuditFilter.cs">https://github.com/aspnetboilerplate/as ... tFilter.cs</a>
For Mvc Action Filterexample, see <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Mvc/Web/Mvc/Auditing/AbpMvcAuditFilter.cs">https://github.com/aspnetboilerplate/as ... tFilter.cs</a>
Use
import { API_BASE_URL } from '@shared/service-proxies/service-proxies';
instead of
export const API_BASE_URL = new InjectionToken<string>('API_BASE_URL');