I asked this because I'm use version controller for keeping my project up to date (replacing new release with the previous non-edit project in different branch and merging them to our Dev branch). Release versions has to many changes and that makes hard work, so I always doing this on my project after 4-5 commits
Thanks for fast reply! I think you didn't read my post fully. I know what they are. 3-4 days ago Dev branch had same size with 5.5, I do not see the file added to the project repository with a size of +50MB. You can check commits histories by going to ASP.NET ZERO's github account then checking the Core repository
Thank you for helpful replies. I got the solution
<cite>ismcagdas: </cite> @csbeginner you can't because it is registered to DI in the initialize method. So, why don't you do it in initialize or post initialize ?
Hi @ismcagdas Thanks for reply
My plugin has EF module in separate class library (made by ABP template without module zero) I thought resolving DbContext in PreInitialize is possible when our current module is on top. So, which method is best for this workflow and what's the safe way for resolving the context for applying migration?
Thanks again
I had this problem too. It's happen when we make changes to our properties (remove/add).
This made me study more and check UserFriendsCache. I noticed that the UserFriendsCache is a domain service and should coding like a CRUD domain service. A line in the ABP docs made me wrong. The guide says That's it. Our person cache is ready to use!. Because of this, I thought I could use CountryCache like a repository in my AppServices!
Since my English is weak, this mistake is not understood. Thanks again to the Master @Alper
<cite>alper: </cite> You are learning very fast @csbeginner ;)
Thank you Sir :D :D :D :D Posts in this forum and their reply are like a free university for beginners like me ;) ;) :geek:
If you are working on ASP.NET Core & Angular template, after generating the entity via Power Tools, run your *.Web.Host project and then run "./angular/nswag/refresh.bat" to update service-proxies.ts.
[AutoMapFrom(typeof(Country))]
public class CountryCacheItem
{
public long Id { get; set; }
public string Name { get; set; }
public string TwoLetterIsoCode { get; set; }
public string ThreeLetterIsoCode { get; set; }
public int NumericIsoCode { get; set; }
public bool AllowBilling { get; set; }
public bool AllowShipping { get; set; }
public bool Published { get; set; }
public int DisplayOrder { get; set; }
public ICollection<StateOrProvince> StateOrProvinces { get; set; }
}
public interface ICountryCache : IEntityCache<CountryCacheItem, long>
{
}
public class CountryCache
: EntityCache<Country, CountryCacheItem, long>,
ICountryCache,
ISingletonDependency
{
public CountryCache(ICacheManager cacheManager,
IRepository<Country, long> repository): base(cacheManager, repository)
{
}
}
What's my next step to get list of countries without query to database
Can not guide me? I'm waiting for two days here :cry: :cry: :cry: :cry: :cry: