hi
There will be many optimizations in the new versions, if you can upgrade this is the best solution.
- it is very slow
The blazor wasm will be slow on first load.
then after I publish it to IIS, the host works, but the blazor couldn't work after the login page ,
Did you check this document?
https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-6.0
If I use local redis, site will work good I try to use redis in Azure and another machine - I have problems with performance...
hi
It seems to be a network issue. please check the network status between the two computers(website and redis)
Please make your repository Private first.
hi
You can try looking for some open-source libraries. I don't have any suggestions. This is mainly related to the NET Core rather than abp framework. : )
hi
There is a community post that you can refer to. https://community.abp.io/posts/generate-pdfs-in-an-abp-framework-project-using-scryber.core-x9yh1vfa
hi
Howt about this way?
app.UseAbpRequestLocalization();
app.Use(async (httpContext, next) =>
{
if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName == "ar")
{
CultureInfo.CurrentUICulture = new CultureInfo("ar")
{
DateTimeFormat =
{
ShortDatePattern = "your custom format",
Calendar = new GregorianCalendar()
// other properties of DateTimeFormat
}
// other properties of CultureInfo
};
}
await next(httpContext);
});
hi
https://support.abp.io/QA/Questions/3327/
hi
Can you consider it like this?
@if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName == "ar")
{
<input type="text"
class="form-control"
name="StartDate"
value="@DateTime.Now.AddMonths(-1).Date.ToString("Custom your ShortDatePattern")" />
}
else
{
<input type="text"
class="form-control"
name="StartDate"
value="@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)" />
}