Hi demirmusa,
Thank you for the reply but the link is giving me 404 - Page not found error.
Hi Team,
We have acquired license for Fontawesome pro and trying to configure the same in the aspnetzero application. We are using angular 8 - .netcore version(aspnetzero 7.2)
Below are the steps we have followed so far:
We are unable to see the icon on the UI, inspecting the element it seems it is still using the metronic class from the vendor.bundle.css
Could you please help me out with this as we are stuck with this and we need to implement some pro icons in our application.
We have 3 application service which uses the same piece of code.
In order to reduce redundancy we want to introduce a Domain Service.
We have gone through ABP documents : https://aspnetboilerplate.com/Pages/Documents/Domain-Services.
Unlike Application Services which get/return Data Transfer Objects, a Domain Service gets/returns domain objects (like entities or value types).
It mentions not to get/return Data Transfer Objects,
And our requirment is to return a custom class / Dto which is neither an entity nor a value type.
Please suggest
Thank you for the reply but the chunk names ain't changing. Every time we deploying a fresh build(ng build --prod) we have to request the users to refresh the browser cache.
Anyone facing this issue?
We are facing the browser cache refresh issue.
We are using the angular 8, .net core edition of the aspnetzero framework and post deployment of a fresh build on our server, the end users need to refresh their browser to get the latest copy.
It seems changing the index.html file and setting 'no-cache' is a wrong option so has anyone figured out how can we achieve this and we need not ask the user to refresh his/ her browser everytime a fresh build is pushed.
There are quite a few solutions like re-hashing but we are not sure if that should be implemented.
We soon are going to go live and this should not happen on production server so we require a quick solution.
As RedisDatabaseExtensions class was internal we had to copy its implementations to our helper class. Doing so we were able to get "count by key prefix".
However, after migrating from .Net IDistributedCache to Abp.RedisCache package we observed that values are now being stored as string type in Redis instead of hash type.
As hash type is much safer we want to contine using it.
Is there any way to store the values in Hash format.
My requirement is to perform the following operations :
I am implementing a helper class which fetches the AbsoluteExpiration and SlidingExpiration from the appsetting.json files.
I see there are Get() and Set() methods inside AbpRedisCache class but I also need access to IDatabase to fire database.KeyDeleteWithPrefix()
Is it AbpRedisCache or IAbpRedisCacheDatabaseProvider
We want to use the extention methods used in this package : KeyDeleteWithPrefix() and KeyCount()
We followed the ABP's Caching Documention and aded Abp.RedisCache in Web.Core's Project Module.
We added this in DependsOn Annotation and enable redis by using below
//See app.config for Redis configuration and connection string
Configuration.Caching.UseRedis(options =>
{
options.ConnectionString = _appConfiguration["Abp:RedisCache:ConnectionString"];
options.DatabaseId = _appConfiguration.GetValue<int>("Abp:RedisCache:DatabaseId");
});
Then I created a helper class for Redis Caching and injected
public class RedisCacheHelper : IRedisCacheHelper
{
private readonly IConfigurationRoot _appConfiguration;
private readonly AbpRedisCacheManager _cacheManger;
public RedisCacheHelper(IHostingEnvironment env, AbpRedisCacheManager cacheManger)
{
_appConfiguration = env.GetAppConfiguration();
_cacheManger = cacheManger;
}
}
Earlier we were using IDistributedCache in place of AbpRedisCacheManager. After doing these steps we are not able to find any methods to add or get value with particular key in Redis cache like we had in IDistributedCache. We also not able to get redis database (IDatabase) which contains the methods KeyDeleteWithPrefix() and KeyCount()
How can we implement this ?
Okay so you mean to say that CheckErrors cannot be used for methods whose return type is not IdentityResult and we will have to use UserFriendlyException to throw errors.