If the request for the api in the web part takes time, it asks for the username and password. And now?

Toriyama 281 Reputation points
2023-03-19T10:42:54.5166667+00:00

I have a sharepoint 2013 site and some farm solutions built in c#.

In these solutions we have a lot of manipulation of list items through the .NET interface and some posts and gets to external api's and everything works fine.

I recently did some deploys and for a new solution with a request for an external api and everything that is a farm solution on the site keeps asking for password and username after x times. If the request is long, it asks for username and password and never finishes the request, but if it's short, it works fine.

What can it be?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,612 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 31,071 Reputation points Microsoft Vendor
    2023-03-20T02:46:43.4066667+00:00

    Hi @Toriyama

    You can refer to the following document to improve your page performance

    https://learn.microsoft.com/en-us/sharepoint/dev/general-development/optimize-page-performance-in-sharepoint


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful