hi
Can you share an online URL so I can test it?
I sent you a private email with a URL and credentials.,
Thanks
The issue was resolved once using https.
Thanks
HI @liangshiwei
Thank you. I'm waiting for our TLS certs to be issued and I expect the issue(s) to be resolved once we are running https.
I'll follow up and confirm the resolution soon...
Update:
When we run the deployed application using Azure App Service's default URL.. {appname}.azurewebsites.net... everything works fine.
However, for production, we need to map the {appname}.azurewebsites.net URL to a different production URL using DNS and Azure's Application Gateway service.
We receive the errors only when accessing the production mapped URL.
Our app works as expected in every way under the production URL, except for the saving of a user's profile (My Account).
Is there an override or workaround?
Thanks in advance.
Hi @liangshiwei
Thank you for taking the time to setup the scenario!
The problem was that I didn't override the obsolete non-async version of the Resolve method.
I'll close the issue.
That was easy and worked perfectly. Thanks @maliming !!
Interesting... I have the same setup. Could it be because I'm using a Blazor Server templated solution and your using MVC?
We created our own nVisionLeptonErrorViewComponent
and added our own 404.cshtml
Our project solution is as follows:
Our 404.cshtml
is as follows:
@using FM.nVision.Blazor.Views.Error.DefaultErrorComponent;
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Views.Error.DefaultErrorComponent
@model Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Views.Error.AbpErrorViewModel
@(await Component.InvokeAsync<nVisionLeptonErrorViewComponent>(new { model = Model, defaultErrorMessageKey = "404Message" }))
Our nVisionLeptonErrorViewComponent
is as follows:
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Views.Error.DefaultErrorComponent;
namespace FM.nVision.Blazor.Views.Error.DefaultErrorComponent;
public class nVisionLeptonErrorViewComponent : LeptonViewComponentBase
{
public IViewComponentResult Invoke(AbpErrorViewModel model, string defaultErrorMessageKey)
{
var leptonModel = new LeptonErrorPageModel
{
ErrorInfo = model.ErrorInfo,
HttpStatusCode = model.HttpStatusCode,
DefaultErrorMessageKey = defaultErrorMessageKey
};
return View("~/Views/Error/DefaultErrorComponent/Default.cshtml", leptonModel);
}
}
We still don't see our custom Default.cshtml
in Views/Error/DefaultErrorComponent.
Is there something else we are missing?
Thanks, would you have anything you can point me to in order to accomplish this in the Blazor Server ABP template?