I tried to use the uploader in my ASP.NET razor page application but I was not able to upload any file using the uploader as your documentation page is now obsolete. the JsonOption now does not contain a definition for
The solution is to just write -
services.AddAntiforgery(o => o.HeaderName = "XSRF-TOKEN");
Can you explain to me what the below code is doing and is it okay if I don't add this -
x.SerializerSettings.ContractResolver = new DefaultContractResolver();
Please kindly update the docs.