Base solution for your next web application

Activities of "zyrel.sermon"

Hi

Do you use Redis or any other cache prodider or do you use memory cache ? ** we use memory cache Does your app have more than one instance running on production ? ** yes our app is running in multiple instance

Hi is there any sample code snippet or docs on how we can implement redis cache in exporting file? Thanks

Hi

We're using the IDistributedCache to set and get data cache from redis and we're able to see logs set/get from redis, there are times that the exporting is successful and there are times that the "Requested file does not exist!" occurs is it possible that the keys we're getting are already expired?

here's a sample code

protected FileDto CreateExcelPackage(string fileName, Action<ExcelPackage> creator)
        {
            var file = new FileDto(fileName, MimeTypeNames.ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet);
            string cacheString;
            var cacheToken = _distributedCache.Get(fileName);
            if (cacheToken != null)
            {
                cacheString = Encoding.UTF8.GetString(cacheToken);
                file = JsonConvert.DeserializeObject<FileDto>(cacheString);
            }
            else
            {
                using (var excelPackage = new ExcelPackage())
                {
                    creator(excelPackage);
                    Save(excelPackage, file);
                }
                cacheString = JsonConvert.SerializeObject(file);
                cacheToken = Encoding.UTF8.GetBytes(cacheString);
                var options = new DistributedCacheEntryOptions()
                    .SetSlidingExpiration(TimeSpan.FromMinutes(1))
                    .SetAbsoluteExpiration(DateTime.Now.AddMinutes(30));
                _distributedCache.Set(fileName, cacheToken, options);
                file = this.CreateExcelPackage(fileName, creator);
            }
            return file;
        }

are we doing it wrong? please advise thanks

Hi

We're using the 5.2.0 version of abp, we'll try to upgrade to the latest version thanks.

Answer

Just wanted to confirm, thank you very much

Hi musa.demir<span class="colour" style="color: rgb(0, 0, 0);">

it worked on a clean project, were using angular by the way, i'm still checking what causes the </span>ActivateWebhookSubscriptionAsync to fail. thanks

Answer

Hi @musa.demir,

sorry for the late response, i've already created a webhook receiver, thanks for the documenation that you've provided. is there any way for us to generate a webhook secret key on 8.2 and use it on the receiver?

Answer

ok got it, so here's the issue, we've created a webhook endpoint but it lacks security,we need this enpoint continously working without logging in, we could add a authtoken on headers but what if the token expires? is there any additional set of security needed in implementing webhooks besides secret key? please advise, thanks.

Answer

Hi @ismcagdas

im having issues using the secret key created on the maintenance page i did follow the check signature method https://aspnetboilerplate.com/Pages/Documents/Webhook-System#check-signature but the signature doesn't match. Please advise.

Thanks,

Hi,

Are there any additional instructions on your end how to implement the service bus on anz based when integrating with devexpress?

We are hosting on multiple instance and already followed the instructions based on the documentation https://docs.devexpress.com/XtraReports/10769/web-reporting/general-information-on-web-reporting/microsoft-azure-reporting

the reports is already working, but we are wondering why is the service bus take an average time to process (5 secs). Do you have any ideas what's causing this? Or is it out of scope of anz?

Please advise, thanks

Showing 1 to 10 of 23 entries