Not able to upload 100 MB video file using azure app service in dot net core

Sunflower Labs 0 Reputation points
2023-08-08T14:19:30.7833333+00:00

Hello,

We have created one API in dot net core v6.0 where we are uploading 100+MB video file using the API and from that we are also uploads same video file in our sharepoint account. When we are doing same testing with same file in our localhost then that file uploads successfully in sharepoint but when we deploy our code to azure app service then that app service is auto restarted after 2400 miliseconds and due to that current connection is break and file is not being uploaded. so, could you please help us why we are facing this issue of app service auto restarts due to some api response delay ?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,660 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,181 Reputation points Microsoft Employee
    2023-08-09T19:54:57.4733333+00:00

    Hey @Sunflower Labs , it's difficult to say what could be causing the issue without more information.

    But here are somethings to do in order to diagnose the issue:

    1. Enable diagnostic logging on your app service. This will help determine what errors you're encountering on your deployed API. Right now, it isn't known where the issue.
    2. Review troubleshooting guides to better investigate what the issue could be, such as performance or connection related issues.

    Furthermore, with a basic workflow such as uploading a file to a SharePoint document list, you may want to consider using a Logic App instead. It would be a simpler setup allowing you to leverage a suite of prebuilt connectors; which SharePoint is one of.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.