Activities of "lan.dang"

Thank you, I solved the error : this method in azure app service does not work well {Dns.GetHostName()}

Thank you, it worked

Thank you, this solution seems work for me BTW, I added to OnAfterRenderAsync protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { //Temporary solution to clear session storage if (Page == "/Account/~/Account/Login") { await jsRuntime.InvokeVoidAsync("sessionStorage.clear"); } } await base.OnAfterRenderAsync(firstRender); }

@Anjali_Musmade do you have any other idea? Thanks

As I mentioned, it raises error InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.

There is no method OnAfterRenderAsync in LogoutModel to overwrite

It does not work for me, if using sessionStorage.Clear(), I cannot call it from OnGetAsync method in LogoutModel

Thank a lot , it solves my requirement

I mean, if i put this code in razor page it will not hit razor.cs (code behind) @inherits UserManagement @attribute [ExposeServices(typeof(UserManagement))] @attribute [Dependency(ReplaceServices = true)]

But if i put this code in razor.cs it does not update UI from razor page [ExposeServices(typeof(UserManagement))] [Dependency(ReplaceServices = true)]

I want to update both razor and razor.cs file. How can I do that?

I get hard to make a minimal project. I try to solve the problem with some modify, As per this document : https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components?UI=BlazorServer Could we modify in both razor and code behind?

I want to update UI and overwrite some method in code behind as well Where do I put this code line? [ExposeServices(typeof(UserManagement))] [Dependency(ReplaceServices = true)]

I just sent you email, could you help me check what I was wrong

Thank you

Showing 1 to 10 of 102 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11