Hi,
Are you using Blazor WASM or Blazor Server?
Hi,
https://github.com/maliming/Owl.Abp.CultureMap You can try this to map "de" and "de-at" to "de-de".
Hi,
Can you share a project that can reproduce the problem with me? shiwei.liang@volosoft.com I will check it.
ok, I will check it
Can you please tell if the API function sent above (UpdateProfilePictureAsync) is the right way to call this API
You can see the upload was successful when viewing account profile
I am not sure why the API call failed from POSTMAN too on our side? Something to do with filesize? Or anything you can let us know.
I guess it's not related to file size
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
httpClient.BaseAddress = new Uri("https://localhost:44305");
string endpoint = "/api/account/profile-picture";
var formData = new MultipartFormDataContent
{
{ new StringContent("2"), "Type" }
};
var streamContent = new StreamContent(File.OpenRead("C:\\Users\\Deawb\\Desktop\\photo.png"));
streamContent.Headers.ContentType = new MediaTypeHeaderValue("image/png");
formData.Add(streamContent,"ImageContent", "photo.png");
var response = await httpClient.PostAsync(endpoint, formData);
Is there a way to reset the distributed cache for those entities, or remove them from the cache?
You need to manually remove the bold change using the code:
IDistributedCache<....> cache;
cache.RemoveAsync();
cache.RemoveManyAsync()
Also, I noticed that this method gets called pretty frequently, is that expected?
Yes.
Hi,
Ok, we will, your ticket refunded.
Hi,
Are you using Blazor or Blazor server?