Uploading file to one drive using ASP.NET Core 8 Web API shows error : DriveRequestBuilder Does not contain the definition for root
Error screenshot:
Http call using UseDefaultCredentials fails after upgrade to .NET 8
The following code works using .NET 6.0, but fails with .NET 8.0:
To have different session timeout for different users
I am trying to build a extension method to having variable value to session timeout. The scenario is , I need different session timeout value based on some condition. Here I am using simple username and password matching for authentication, no identity class.
Below is what I tried as an extension method,
How to make a POST request using HttpClient with a PFX certificate
I’m using the latest .NET 8’s HttpClient
to call an API endpoint.
.NET 8 – making a POST request using HttpClient with a PFX certificate
I’m using the latest .NET 8’s HttpClient
to call an API endpoint.
Post command not working in C# app, but ok with postman
I have a created a server code which accepts file through post command.
Server side code: