Azure Web App with SharePoint, adding list webpart to modern page

Job ID: 39211109

Budget: $30 – $250 USD

Requirement:

Objective:

Implement functionality in an existing Azure Web App (ASP.NET Core) to programmatically add a List Web Part (linked to an existing SharePoint list) onto a specific modern SharePoint page in SharePoint Online.

Key Conditions:

The new web part should specifically be a List Web Part, referencing an existing SharePoint list.

Existing web parts and page content must remain unaffected. The implementation should not alter, remove, or negatively impact the current structure or content of the target modern SharePoint page.


Technical Preferences:

Preferably use SharePoint REST API for simplicity and minimal external dependencies, or alternatively use PnP Framework.

Ensure proper handling of authentication, security best practices, and exceptions.


Expected Result:

A clear, reusable method within the HomeController of the ASP.NET Core Web App that adds a List Web Part into a specified SharePoint modern page, referencing an existing SharePoint list.

Confirm that the web part appears correctly, displaying list data as expected, without impacting existing web parts.
Related categories: .NET C# Programming Sharepoint ASP.NET