Base solution for your next web application

Activities of "pliaspzero"

we use the the "cache" parameter - but it do not work

this is what BOT is propoding:

Your code looks good for clearing cache data by adding the Clear-Site-Data header. To ensure the CSS and HTML are also cleared, you might need a more comprehensive approach. Here’s a refined version:

csharp

Kopieren public class BrowserCacheCleanerController : WFMOneControllerBase { private readonly INotificationAppService _notificationAppService;

public BrowserCacheCleanerController(INotificationAppService notificationAppService)
{
    _notificationAppService = notificationAppService;
}

public async Task<IActionResult> Clear()
{
    var result = await _notificationAppService.SetAllAvailableVersionNotificationAsRead();
    
    HttpContext.Response.Headers.Append("Clear-Site-Data", "\"cache\", \"cookies\", \"storage\", \"executionContexts\"");
    
    return Json(new { Result = result });
}

}

We get the popup now - but nothing happens - in Edge - old / temp CSS still destroyes whole page

we detected this error - when tenant is deleted - it is not working

maybe because we use 2 instances? on Azure? just read this https://docs.aspnetzero.com/aspnet-core-angular/latest/Clustered-Environment

Scaling SignalR

ASPNET Zero has a built-in chat system and real-time notification system. They both use signalR. Before using multiple instances of your project, you should check signalR's scaling documentation and choose SignalR backplane providers or AzureSignalR.

one more thing - notifcation is created - but PopUp is not showing up for refresh - any idea?

We use latest version. - seems that you forgot to create the NewVersion_Create permission in the provider for Angular.

Hi, I don't see the "Send New Version Notification button" - where is it?

Hi, thanks - we tried that - but Push Notification wasnt sent. Also we would expect that user after next login get something like PopUp "New Version pls press OK" or something like that? Any further hints for me? Thx in advance.

thanks

Showing 31 to 40 of 80 entries