Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Hi,

    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  

SerializerSettings.


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 - 

    services.AddMvc().AddJsonOptions(x =>  
    {  
        x.SerializerSettings.ContractResolver = new DefaultContractResolver();  
    });  

Please kindly update the docs.